更新时间:2024-04-01 GMT+08:00
分享

列出所有应用

功能介绍

查询当前账号下所有应用。

URI

GET AstroZero域名/u-route/baas/metadata/v1.0/Application

请求消息

响应参数

表1 响应参数

参数

参数类型

描述

resCode

String

返回码,如果返回“0”代表请求成功,其他错误码说明请参考错误码

resMsg

String

返回消息,如果成功状态,通常会返回“Success”,其他情况会返回具体的错误信息。

result

Array

成功返回会返回该账号下所有应用,以一个列表展示,每个值是一个应用。

表2 其中result内每个对象的主要属性

参数

参数类型

描述

id

String

应用ID。

label

String

应用的展示名称。

name

String

应用在系统内的唯一标识。

description

String

应用的描述信息。

type

String

应用类型。

logo

String

应用图标,可填图片地址(其前缀是受限的)。

properties

String

应用属性。

请求示例

查询当前账号下所有的应用。
GET https://AstroZero域名/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
		}
	]
}

状态码

状态码请参见状态码

错误码

错误码请参见错误码

分享:

    相关文档

    相关产品