Querying All Image Tags
Function
This API is used to query all the image tags.
Debugging
You can debug this API in API Explorer.
Authorization
Each account has all of the permissions required to call all APIs, but IAM users must have the required permissions specifically assigned. For details about the required permissions, see Permissions and Supported Actions.
Request
Request parameters
None
Example Request
Querying all image tags
GET https://{Endpoint}/v2/fd73a4a14a4a4dfb9771a8475e5198ea/images/tags
Response
- Response parameters
Parameter
Type
Description
tags
Array of objects
Lists tags. For details about tags, see Image Tag Format.
Table 2 Data structure description of the tags field Parameter
Type
Description
key
String
Specifies the tag key.
values
Array of strings
Lists the tag values. If a tag contains the key only, tag values will be empty character strings.
- Example response
STATUS CODE 200
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
{ "tags": [{ "values": ["value9"], "key": "key9" }, { "values": [""], "key": "key8" }, { "values": ["valueXX", "value3"], "key": "key3" }] }
Returned Values
- Normal
- Abnormal
Returned Value
Description
400 Bad Request
Request error
401 Unauthorized
Authentication failed.
403 Forbidden
You do not have the rights to perform the operation.
404 Not Found
The requested resource was not found.
500 Internal Server Error
Internal service error
503 Service Unavailable
The service is unavailable.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot