Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
project_id |
Yes |
String |
Project ID |
resource_type |
Yes |
String |
Resource type Only smn_topic (topic) is supported. |
resource_id |
Yes |
String |
Resource ID Obtain a resource ID:
|
GET https://{SMN_Endpoint}/v2/{project_id}/{resource_type}/{resource_id}/tags
Parameter |
Type |
Description |
|---|---|---|
tags |
Resource_tag structure array |
Tag list. For details, see Table 1. |
Parameter |
Type |
Description |
Constraint |
|---|---|---|---|
key |
String |
Tag key |
A key can contain up to 36 Unicode characters, including only digits, letters, hyphens (-), and underscores (_). A key cannot be left blank, be an empty string, or start or end with a space. |
value |
String |
Tag value |
A value can contain up to 43 Unicode characters, including only digits, letters, hyphens (-), and underscores (_). A value can be an empty string, but it cannot start or end with a space. |
{
"tags": [
{
"key": "key1",
"value": "value1"
},
{
"key": "key2",
"value": "value3"
}
]
}
See Returned Value.
See Error Codes.