Queries all the tags of a resource.
Debugging
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 Alibaba Cloud Resource Name (ARN) of the resource. Note
You can use the value of this parameter to query information about the resource, such as the account, service, and region of the resource. You can manage tags only for services for top level resources.
| acs:fc:cn-shanghai:188077086902****:services/demo |
X-Fc-Account-Id | string | No | The ID of your Alibaba Cloud account. | 188077086902**** |
X-Fc-Date | string | No | The time when the function is invoked. The value is in the EEE,d MMM yyyy HH:mm:ss GMT format. | Wed, 11 May 2022 09:00:00 GMT |
X-Fc-Trace-Id | string | No | The request ID. | 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 request parameters of the API has changed | see changesets | ||||||||||||||
| ||||||||||||||||
2021-06-29 | The request parameters of the API has changed | see changesets | ||||||||||||||
| ||||||||||||||||
2021-06-29 | The request parameters of the API has changed | see changesets | ||||||||||||||
|