This API is used to query the tag information about a specified cluster.
GET /v1.0/{project_id}/css-cluster/{cluster_id}/tags
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID. For details, see Obtaining a Project ID and Name. |
cluster_id |
Yes |
String |
ID of the cluster to be queried. |
None
Table 2 describes the response parameters.
Example request
GET v1.0/458d905f22da49c39f609e3347d65723/css-cluster/4f3deec3-efa8-4598-bf91-560aad1377a3/tags
Example response
{ "tags": [ { "key": "key1", "value": "value1" }, { "key": "key2", "value": "value3" } ] }
Table 4 describes the status code.