Queries all the tags of a resource.
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
GET /2021-04-06/tag
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
resourceArn | string | Yes | The ARN of the resource. NoteNote: You can use the value of this parameter to query the information about the resource, such as the account, service, and region information of the resource. | acs:fc:cn-shanghai:188077086902****:services/demo |
X-Fc-Account-Id | string | No | The Alibaba Cloud Resource Name (ARN) of the resource. NoteNote: You can use the value of this parameter to query the information about the resource, such as the account, service, and region information of the resource. You can manage tags only for services for top level resources. | 188077086902**** |
X-Fc-Date | string | No | The tag dictionary. Valid values:
| Wed, 11 May 2022 09:00:00 GMT |
X-Fc-Trace-Id | string | No | Example 1 | my-test-trace-id |
Response parameters
Examples
Sample success responses
JSON
format
{
"resourceArn": "acs:fc:cn-shanghai:188077086902****:services/demo",
"tags": {
"key": "{\"k1\":\"v1\"}"
}
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2021-06-29 | The input parameters of the API operation change. | |||||||||||||||
| ||||||||||||||||
2021-06-29 | The input parameters of the API operation change. | |||||||||||||||
| ||||||||||||||||
2021-06-29 | The input parameters of the API operation change. | |||||||||||||||
|