forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: guoyanyan <guoyanyan3@huawei.com> Co-committed-by: guoyanyan <guoyanyan3@huawei.com>
3.5 KiB
3.5 KiB
Queries Details About an Image
Scenario
Details about a private or public image can be queried.
Involved APIs
If you use a token for authentication, you must obtain the token and add X-Auth-Token to the request header of the IMS API when making an API call.
Procedure
- Obtain the token.
- Send GET https://IMS endpoint/v2/images/Image ID.
- Add X-Auth-Token to the request header.
An example request is as follows: https://IMS endpoint/v2/images/33ad552d-1149-471c-8190-ff6776174a00.
- Refer to "Querying Image Details (Native OpenStack API)" in Image Management Service API Reference for parameter descriptions and response details.
For details about status codes for request errors, see Status Codes.
Parent topic: Common Scenarios