查询所有自定义对象
功能介绍
查询所有自定义对象。
URI
GET AstroZero域名/u-route/baas/metadata/v1.0/Object
请求参数
无
响应参数
参数 |
参数类型 |
描述 |
---|---|---|
resCode |
String |
参数解释: 返回码。 取值范围: 如果返回“0”代表请求成功,其他错误码说明请参考错误码。 |
resMsg |
String |
参数解释: 返回消息。 取值范围: 如果成功状态,通常会返回“Success”,其他情况会返回具体的错误信息。 |
result |
Array |
参数解释: 成功返回会返回该账号下所有定义的Object对象,以一个列表展示,每个值是一个对象。 |
请求示例
GET https://AstroZero域名/u-route/baas/metadata/v1.0/Object
响应示例
{ "resCode": "0", "resMsg": "成功", "result": [ { "id": "cust000000aKtFZpERvc", "keyPrefix": "c02W", "name": "SmartCampus__OperatorOrganization__CST", "category": 3, "label": "OperatorOrganization", "pluralLabel": "OperatorOrganizations", "version": 7, "contextSetup": 0, "trackFieldHistory": false, "allowReports": false, "allowActivities": false, "allowChatter": false, "allowStreamingApiAccess": false, "allowBulkApiAccess": false, "allowSearch": false, "allowSharing": false, "sharingMode": 0, "deploymentStatus": 0, "properties": "", "status": 0, "createdBy": "10gd000000SDyqaQW6uu", "createdDate": "2020-03-12 15:14:56", "lastModifiedBy": "10gd000000SDyqaQW6uu", "lastModifiedDate": "2020-03-12 15:15:00", "description": "", "objectType": 0, "protectMode": 1, "installedPackage": "003L000000YGxJbahwps", "createdBy.name": "test0xx", "lastModifiedBy.name": "test0xx", "childObjects": null, "parentObjects": [ { "parentObject": "cust000000PeSg3hYOOG", "cascadeDelete": true }, { "parentObject": "stad00000000000000GD", "cascadeDelete": false }, { "parentObject": "stad00000000000000GG", "cascadeDelete": false }, { "parentObject": "stup000000000000002I", "cascadeDelete": false }, { "parentObject": "stup000000000000003L", "cascadeDelete": false } ] }, { "id": "cust000000aKoa6I4E6K", "keyPrefix": "cE6K", "name": "test__qw__CST", "category": 3, "label": "qw", "pluralLabel": "qws", "version": 3, "contextSetup": 0, "trackFieldHistory": false, "allowReports": false, "allowActivities": false, "allowChatter": false, "allowStreamingApiAccess": false, "allowBulkApiAccess": false, "allowSearch": false, "allowSharing": false, "sharingMode": 0, "deploymentStatus": 0, "properties": "", "status": 0, "createdBy": "10gd000000SDyqaQW6uu", "createdDate": "2020-05-28 15:55:42", "lastModifiedBy": "10gd000000SDyqaQW6uu", "lastModifiedDate": "2020-05-28 17:47:03", "description": "", "objectType": 0, "protectMode": 0, "installedPackage": "", "createdBy.name": "test0xx", "lastModifiedBy.name": "test0xx", "childObjects": null, "parentObjects": [ { "parentObject": "stad00000000000000GD", "cascadeDelete": false }, { "parentObject": "stad00000000000000GG", "cascadeDelete": false }, { "parentObject": "stup000000000000002I", "cascadeDelete": false }, { "parentObject": "stup000000000000003L", "cascadeDelete": false } ] } ] }
状态码
状态码请参见状态码。
错误码
错误码请参见错误码。