Details about a private or public image can be queried.
The token obtained from IAM is valid for only 24 hours. If you want to use a token for authentication, you can cache it to avoid frequently calling the IAM API.
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.
An example request is as follows: https://IMS endpoint/v2/images/33ad552d-1149-471c-8190-ff6776174a00.
For details about status codes for request errors, see Status Codes.