Get a default image's metadata
Request
To get a default image's metadata, send a GET request to:
http://<host>:<port>/ihs/v1/metadata/default/{imageName}
Headers
None
Example
This GET request gets the metadata for the image called p183996_i_h6_ab.jpg
:
http://<host>:<port>/ihs/v1/metadata/default/{imageName}
Response
If the request is successful, a 200 response is returned with a body that looks like this:
{
"name": "p183996_i_h6_ab.jpg",
"height": 477,
"width": 478,
"uri": "https://d1zjcslf7iklh5.cloudfront.net/DEFAULT_IMAGES/p183996_i_h6_ab.jpg",
"genre": [
"action",
"comedy"
]
}
A bad request returns a 400 response.
See also
For full details of this API, see Get default image metadata.