Querying Tags of an Image
Function
This API is used to query all the tags of a specified image.
Request
Request parameters
None
Example Request
Querying tags of an image
GET https://{Endpoint}/v2/fd73a4a14a4a4dfb9771a8475e5198ea/images/67e17426-359e-49fb-aa12-0bd1756ec240/tags
Response
- Response parameters
Parameter
Type
Description
tags
Array of objects
Lists the returned tags. For details, see Table 2.
- Example response
STATUS CODE 200
1 2 3 4 5 6 7 8 9 10
{ "tags": [{ "value": "value0", "key": "key0" }, { "value": "value0", "key": "key1" }] }
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