forked from docs/doc-exports
Reviewed-by: Daniel Kováč <a86700324@noreply.gitea.eco.tsi-dev.otc-service.com> Co-authored-by: wanghuijuan738 <wanghuijuan738@huawei.com> Co-committed-by: wanghuijuan738 <wanghuijuan738@huawei.com>
11 KiB
11 KiB
Querying Tags in a Specified Project
URI
- URI format
- Parameter description
Parameter
Mandatory
Type
Description
project_id
Yes
String
Project ID
resource_type
Yes
String
Resource type
Only smn_topic (topic) is supported.
Request
- Example request
GET https://{SMN_Endpoint}/v2/{project_id}/{resource_type}/tags
Response
- Parameter description
Parameter
Type
Description
tags
Tags structure array
Tag list. For details, see Table 1.
- Example response
{ "tags": [ { "key": "key1", "values": [ "value1", "value2" ] }, { "key": "key2", "values": [ "value1", "value2" ] } ] }
Returned Value
See Returned Value.
Error Codes
See Error Codes.
Parent topic: Resource Tag Operations