GetMetaEntityDef - 擷取中繼資料實體定義

更新時間:
Copy as MD

擷取自訂實體定義詳情。

調試

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

調試

授權資訊

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

請求文法

POST  HTTP/1.1

請求參數

名稱

類型

必填

描述

樣本值

EntityType

string

實體類型,需匹配 ^custom_(?:entity-[A-Za-z0-9_]+|[A-Za-z0-9_]+-(?:database|table|column))$

custom_entity-customer_api

返回參數

名稱

類型

描述

樣本值

object

Schema of Response

RequestId

string

Id of the request

C636A747-7E4E-594D-94CD-2B4F8A9A9A63

Success

boolean

請求是否成功

true

MetaEntityDef MetaEntityDef

自訂實體定義

樣本

正常返回樣本

JSON格式

{
  "RequestId": "C636A747-7E4E-594D-94CD-2B4F8A9A9A63",
  "Success": true,
  "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
  }
}

錯誤碼

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

變更歷史

更多資訊,參考變更詳情