GetMetaEntity - 擷取中繼資料實體詳情

更新時間:
Copy as MD

擷取中繼資料實體詳情,當前僅支援純自訂類型

調試

您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。

調試

授權資訊

當前API暫無授權資訊透出。

請求文法

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"
    }
  }
}

錯誤碼

訪問錯誤中心查看更多錯誤碼。

變更歷史

更多資訊,參考變更詳情