forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Wuwan, Qi <wuwanqi1@noreply.gitea.eco.tsi-dev.otc-service.com> Co-committed-by: Wuwan, Qi <wuwanqi1@noreply.gitea.eco.tsi-dev.otc-service.com>
9.6 KiB
9.6 KiB
Querying All Tags
Function
This API is used to query all tags in a specified region.
URI
GET /v1.0/{project_id}/css-cluster/tags
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID. For details, see Obtaining a Project ID and Name. |
Request
None
Response
Table 2 describes the response parameters.
Examples
Example request
GET v1.0/458d905f22da49c39f609e3347d65723/css-cluster/tags
Example response
{ "tags": [ { "key": "key1", "values": [ "value1", "value2" ] }, { "key": "key2", "values": [ "value1", "value2" ] } ] }
Status Code
Table 4 describes the status code.
Status Code |
Message |
Description |
---|---|---|
400 |
BadRequest |
Invalid request. The client should not repeat the request without modifications. |
404 |
NotFound |
The requested resource cannot be found. The client should not repeat the request without modifications. |
200 |
OK |
The request is processed successfully. |
Parent topic: Tag Management APIs