ListFlowTagGroups - List tag categorizations
Updated at:
This topic describes how to use the OpenAPI to list tag categorizations.
|
Applicable editions |
Central edition, Region edition |
Endpoint and authorization information
- Obtain the endpoint: Replace {domain} in the API request syntax.
- Obtain a personal access token.
- Obtain the organization ID: Required only for the Central edition. Go to the Organization Management console and open the Basic Information page to obtain the organization ID.
|
Product |
Resource |
Required permission |
|
Pipeline |
Tag |
Read-only |
Request syntax
Central edition
GET https://{domain}/oapi/v1/flow/organizations/{organizationId}/tagGroups
Region edition
GET https://{domain}/oapi/v1/flow/tagGroups
Request headers
|
Parameter |
Type |
Required |
Description |
Example value |
|
x-yunxiao-token |
string |
Yes |
A personal access token. |
pt-0fh3****0fbG_35af****0484 |
Request parameters
|
Parameter |
Type |
Location |
Required |
Description |
Example value |
|
organizationId |
string |
path |
|
The organization ID. |
5ebbc0228123212b59xxxxx |
Request examples
Central edition
curl -X 'GET' \
'https://{domain}/oapi/v1/flow/organizations/5ebbc0228123212b59xxxxx/tagGroups' \
-H 'Content-Type: application/json' \
-H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'
Region edition
curl -X 'GET' \
'https://{domain}/oapi/v1/flow/tagGroups' \
-H 'Content-Type: application/json' \
-H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'
Response parameters
|
Parameter |
Type |
Description |
Example value |
| - |
array |
|
|
| - |
object |
|
|
| creatorAccountId |
string |
Creator |
1111111111111 |
| id |
integer |
The ID of the tag categorization. |
1111 |
| modifierAccountId |
string |
Updater. |
1111111111111 |
| name |
string |
The name of the tag categorization. |
Tag categorization name |
Response example
[
{
"creatorAccountId": "1111111111111",
"id": 1111,
"modifierAccountId": "1111111111111",
"name": "Tag categorization name"
}
]
Error codes
For more information about API error codes, see Error Code Center.
Is this page helpful?