Lists all tagged resources.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
GET /2023-03-30/tags-v2 HTTP/1.1
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ResourceType | string | Yes | The resource type. | ALIYUN::FC:FUNCTION |
ResourceId | array | No | The resource IDs. | |
string | No | The resource ID. | acs:fc:cn-shanghai:1234/functions/my-func | |
Tag | array<object> | No | The tags. You can query up to 20 tags at a time. | |
object | No | |||
Key | string | No | The tag key. The tag key can be up to 64 characters in length, and cannot contain | k1 |
Value | string | No | The tag value. The tag value can be up to 128 characters in length and can be an empty string. | v1 |
NextToken | string | No | The pagination token that is used in the next request to retrieve a new page of results. | MTIzNCNhYmM= |
Limit | integer | No | The number of resources to return. | 10 |
Response parameters
Examples
Sample success responses
JSON
format
{
"NextToken": "next_token",
"RequestId": "",
"TagResources": [
{
"ResourceId": "acs:fc:cn-shanghai:****:functions/demo",
"ResourceType": "ALIYUN::FC::FUNCTION",
"TagKey": "key1",
"TagValue": "key1"
}
]
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2024-09-13 | The internal configuration of the API is changed, but the call is not affected | View Change Details |