全部產品
Search
文件中心

Alibaba Cloud DevOps:GetFlowTagGroup - 擷取標籤分類

更新時間:Jul 07, 2026

通過 OpenAPI 擷取標籤分類。

服務存取點與授權資訊

產品

資源

要求的權限

流水線

標籤

唯讀

請求文法

Region版

GET https://{domain}/oapi/v1/flow/tagGroups/{id}

要求標頭

參數

類型

是否必填

描述

樣本值

x-yunxiao-token

string

個人存取權杖。

pt-0fh3****0fbG_35af****0484

請求參數

參數

類型

位置

是否必填

描述

樣本值

id

integer

path

標籤分類 id。

111

請求樣本

Region版

curl -X 'GET' \
  'https://{domain}/oapi/v1/flow/tagGroups/111' \
  -H 'Content-Type: application/json' \
  -H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'

返回參數

參數

類型

描述

樣本值

-

object

creatorAccountId

string

建立人。

1111111111111

flowTagList

array

-

object

color

string

標籤顏色。

#1F9AEF

creatorAccountId

string

建立人。

1111111111111

id

integer

標籤 id。

111

modifierAccountId

string

更新人。

1111111111111

name

string

標籤名稱。

標籤名稱

id

integer

標籤分類 id。

1111

modifierAccountId

string

更新人。

1111111111111

name

string

標籤分類名稱。

標籤分類名稱

返回樣本

{
    "creatorAccountId": "1111111111111",
    "flowTagList": [
        {
            "color": "#1F9AEF",
            "creatorAccountId": "1111111111111",
            "id": 111,
            "modifierAccountId": "1111111111111",
            "name": "標籤名稱"
        }
    ],
    "id": 1111,
    "modifierAccountId": "1111111111111",
    "name": "標籤分類名稱"
}

錯誤碼

訪問錯誤碼中心查看 API 相關錯誤碼。