ListCustomAttributes - 查詢自訂屬性列表

更新時間:
Copy as MD

查詢自訂屬性定義列表

調試

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

調試

授權資訊

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

請求文法

GET  HTTP/1.1

請求參數

名稱

類型

必填

描述

樣本值

PageNumber

integer

分頁頁碼,預設為 1

1

PageSize

integer

分頁大小,預設為 10,最大 100

10

DisplayName

string

自訂屬性展示名稱,按普通文本包含匹配

Owner

EntityTypes

string

自訂屬性適用的實體類型,多個實體類型使用英文逗號分隔,例如 *-table,*-column。支援具體實體類型(如 hms-table、emr-table)以及通配類型 *-table*-column

maxcompute-table

Comment

string

自訂屬性描述,模糊比對

owner

SortBy

string

排序欄位,支援 CreateTime、ModifyTime

枚舉值:

  • ModifyTime :

    ModifyTime

  • CreateTime :

    CreateTime

CreateTime

Order

string

排序方向,支援 Asc、Desc

Asc

返回參數

名稱

類型

描述

樣本值

object

Schema of Response

RequestId

string

RequestId

54594ACA-7976-5273-958B-02E15E9B867C

Success

boolean

請求是否成功

true

PagingInfo

object

分頁資訊

TotalCount

integer

總數

10

PageNumber

integer

分頁頁碼

1

PageSize

integer

分頁大小

10

CustomAttributes

array

自訂屬性對象列表

CustomAttribute

自訂屬性對象

樣本

正常返回樣本

JSON格式

{
  "RequestId": "54594ACA-7976-5273-958B-02E15E9B867C",
  "Success": true,
  "PagingInfo": {
    "TotalCount": 10,
    "PageNumber": 1,
    "PageSize": 10,
    "CustomAttributes": [
      {
        "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
      }
    ]
  }
}

錯誤碼

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

變更歷史

更多資訊,參考變更詳情