全部产品
Search
文档中心

大数据开发治理平台 DataWorks:GetCustomAttribute - 获取自定义属性

更新时间:Jun 05, 2026

获取自定义属性定义详情。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

调试

授权信息

当前API暂无授权信息透出。

请求语法

GET  HTTP/1.1

请求参数

名称

类型

必填

描述

示例值

Id

string

自定义属性 ID,需匹配 ^custom-attribute:[A-Za-z][A-Za-z0-9_]{0,98}$,custom-attribute: 后面的部分长度小于 100

custom-attribute:biz_owner

返回参数

名称

类型

描述

示例值

object

Schema of Response

RequestId

string

Id of the request

BA51C9E6-0CBC-5BB9-92BD-0C4FE66E1717

Success

boolean

请求是否成功

true

CustomAttribute CustomAttribute

自定义属性定义

示例

正常返回示例

JSON格式

{
  "RequestId": "BA51C9E6-0CBC-5BB9-92BD-0C4FE66E1717",
  "Success": true,
  "CustomAttribute": {
    "Id": "custom-attribute:biz_owner",
    "DisplayName": "业务负责人",
    "Type": "TEXT",
    "EntityTypes": [
      "maxcompute-table"
    ],
    "ValueEnums": [
      "VALUE_1"
    ],
    "SearchFilterEnabled": false,
    "DisplayEnabled": true,
    "Comment": "this is a comment",
    "CreateTime": 1750817692000,
    "ModifyTime": 1763380628000
  }
}

错误码

访问错误中心查看更多错误码。

变更历史

更多信息,参考变更详情