获取元数据实体详情,当前仅支持纯自定义类型
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求语法
POST HTTP/1.1
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| Id |
string |
是 |
实体 ID |
custom_entity-customer_api:api_001 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
0A04C673-BEFA-5803-94E5-89E2D9F8C567 |
| Success |
boolean |
请求是否成功 |
true |
| MetaEntity | MetaEntity |
自定义实体 |
示例
正常返回示例
JSON格式
{
"RequestId": "0A04C673-BEFA-5803-94E5-89E2D9F8C567",
"Success": true,
"MetaEntity": {
"Id": "custom_entity-customer_api:api_001",
"EntityType": "custom_entity-customer_api",
"Name": "api_001",
"Comment": "this is a comment",
"OwnerId": "207924799988354",
"CustomAttributes": {
"key": [
"张三"
]
},
"MetaEntityDef": {
"Name": "biz_api",
"EntityType": "custom_entity-biz_api",
"DisplayName": "业务API",
"Description": "test",
"AttributeDefs": [
{
"Name": "apiCode",
"DisplayName": "API编码",
"Type": "STRING",
"IsOptional": true,
"SearchFilterEnabled": false,
"DisplayEnabled": true,
"AllowedValues": [
"LABEL_1"
],
"Description": "层级描述"
}
],
"Extend": "NONE",
"CreateTime": 1780553640613,
"ModifyTime": 1780553640613
},
"CreateTime": 1780553640613,
"ModifyTime": 1763380628000,
"Attributes": {
"key": "v1"
}
}
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。