更新时间:2025-10-11 GMT+08:00
列出所有应用 - ListApplication
功能介绍
查询当前账号下所有应用。
URI
GET 华为云Astro轻应用域名/u-route/baas/metadata/v1.0/Application
请求消息
无
响应参数
|
参数 |
参数类型 |
描述 |
|---|---|---|
|
resCode |
String |
参数解释: 返回码。 取值范围: 如果返回“0”代表请求成功,其他错误码说明请参考错误码。 |
|
resMsg |
String |
参数解释: 返回消息。 取值范围: 成功返回“成功”,其他情况会返回具体的错误信息。 |
|
result |
Array |
参数解释: 成功返回会返回该账号下所有应用,以一个列表展示,每个值是一个应用。 |
|
参数 |
参数类型 |
描述 |
|---|---|---|
|
id |
String |
参数解释: 应用ID。 取值范围: 不涉及。 |
|
label |
String |
参数解释: 应用的标签名称。 取值范围: 不涉及。 |
|
name |
String |
参数解释: 应用的名称。 取值范围: 不涉及。 |
|
description |
String |
参数解释: 应用的描述信息。 取值范围: 不涉及。 |
|
type |
String |
参数解释: 应用的类型。 取值范围:
|
|
logo |
String |
参数解释: 应用的图标,可填图片地址(其前缀是受限的)。 取值范围: 前缀的取值范围为: "/u-route/baas/file/v1.0/media", "/besBaas/baas/studio/img", "/img", "/besBaas/images", "nc-icon", "/nocode/service/file/v1.0/media", "menuicon", "/lowcode/home/img" |
|
properties |
String |
参数解释: 应用的属性,主要包括应用包ID、版本号等。 取值范围: 不涉及。 |
请求示例
查询当前账号下所有的应用。
GET https://华为云Astro轻应用域名/u-route/baas/metadata/v1.0/Application
响应示例
{
"resCode": "0",
"resMsg": "成功",
"result": [{
"active": true,
"belongTo": null,
"category": null,
"coreVersion": null,
"createdBy": "10gd000000bZHUAq7Pea",
"createdBy.__objectType": "User",
"createdBy.name": "test",
"createdDate": "2019-02-10 22:14:41",
"custom": true,
"defaultTabId": "001g0000000000000000",
"defaultTabId.__objectType": "Tab",
"defaultTabId.name": "Home",
"description": "应用1",
"id": "000f000000NhIiwso4p6",
"installedPackage": "003L000000mR6pf2uFqi",
"installedPackage.__objectType": "PackageInstall",
"installedPackage.name": "FacilityManagement",
"introductionPageID": null,
"isIncremental": false,
"label": "Facility Management",
"lastModifiedBy": "10gd000000bZHUAq7Pea",
"lastModifiedBy.__objectType": "User",
"lastModifiedBy.name": "test",
"lastModifiedDate": "2020-01-10 15:21:18",
"logo": null,
"name": "SmartCampus__FacilityManagement",
"owner": "10gd000000bZHUAq7Pea",
"owner.__objectType": "User",
"owner.name": "test",
"properties": "{\"version\":\"0.0.0\",\"packageId\":\"testPackageId\"}",
"protectMode": 1,
"runtimeProperties": null,
"supportBO20": false,
"theme": null,
"type": "Custom Application",
"type.name": "Custom Application",
"visibility": null,
"visibleScope": null
},
{
"active": true,
"belongTo": null,
"category": "",
"coreVersion": "1.3.3",
"createdBy": "10gd000000bZHUAq7Pea",
"createdBy.__objectType": "User",
"createdBy.name": "test",
"createdDate": "2020-09-28 20:30:35",
"custom": true,
"defaultTabId": "001g0000000000000000",
"defaultTabId.__objectType": "Tab",
"defaultTabId.name": "Home",
"description": "演示流程场景可配置案例。",
"id": "000f000000ddHP8z87N2",
"installedPackage": "003L000000llRwGwwuDg",
"installedPackage.__objectType": "PackageInstall",
"installedPackage.name": "$caseDemo_a",
"introductionPageID": null,
"isIncremental": false,
"label": "故障单流程",
"lastModifiedBy": "10gd000000bZHUAq7Pea",
"lastModifiedBy.__objectType": "User",
"lastModifiedBy.name": "test",
"lastModifiedDate": "2021-08-02 10:20:56",
"logo": "/img/03.cd9e2a5.jpg",
"name": "caseDemo",
"owner": "10gd000000bZHUAq7Pea",
"owner.__objectType": "User",
"owner.name": "test",
"properties": "{\"version\":\"0.0.0\",\"packageId\":\"003G000000ddHP8QV3VA\"}",
"protectMode": 0,
"runtimeProperties": "{\"version\":\"180828\",\"packageId\":\"003G000000ddHP8QV3VA\"}",
"supportBO20": false,
"theme": null,
"type": "Custom Application",
"type.name": "Custom Application",
"visibility": null,
"visibleScope": null
}
]
}
状态码
状态码请参见状态码。
错误码
错误码请参见错误码。
父主题: Application对象的操作