跳转至

统一目录实体类型详情



GET /api/v1/unified_catalog/entity_type_cfg/get

概述

获取单个统一目录实体类型详情。

Query 请求参数

参数名 类型 必选 说明
entityTypeUUID string 实体类型 UUID
允许为空: False
entityType string 实体类型编码
允许为空: False

参数补充说明

请求参数说明

参数名 type 必选 说明
entityTypeUUID string 实体类型 UUID
entityType string 实体类型编码

调用注意事项

  • entityTypeUUIDentityType 至少传一个。
  • 若两个参数都传,建议保证它们指向同一个实体类型。
  • 返回结果包含 schemaDefineviewDefineextraConfig

请求例子

curl 'https://openapi.guance.com/api/v1/unified_catalog/entity_type_cfg/get?entityType=service' \
-H 'DF-API-KEY: <DF-API-KEY>'

响应

{
    "code": 200,
    "content": {
        "uuid": "sys_service",
        "entityType": "service",
        "name": "服务",
        "schemaDefine": "yaml text",
        "viewDefine": "yaml text",
        "extraConfig": {}
    },
    "errorCode": "",
    "message": "",
    "success": true,
    "traceId": "TRACE-XXXX"
} 

文档评价

文档内容是否对您有帮助? ×