Obtaining Image Content
Function
This API is used to obtain image content by ID.
URI
GET /v1/koosearch/image/{img_id}
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
img_id |
Yes |
String |
Image ID. The format is img-[0-9a-z]{32}. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
Parameter description: Token used for API authentication. For how to obtain the token, see section 3.2 "Authentication." Constraints: N/A. |
Response Parameters
Status code: 400
Parameter |
Type |
Description |
---|---|---|
[items] |
Array of ErrorRsp objects |
Error object returned when the operation fails. For details, see Error Code Description. |
Status code: 404
Parameter |
Type |
Description |
---|---|---|
[items] |
Array of ErrorRsp objects |
Error object returned when the operation fails. For details, see Error Code Description. |
Status code: 500
Parameter |
Type |
Description |
---|---|---|
[items] |
Array of ErrorRsp objects |
Error object returned when the operation fails. For details, see Error Code Description. |
Example Requests
None
Example Responses
None
Status Codes
Status Code |
Description |
---|---|
200 |
A success message is displayed. |
400 |
Request error |
404 |
Image does not exist. |
500 |
Internal error |
Error Codes
See Error Codes.
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