Get image
Description
Retrieve a single image by UUID
Url
1 |
GET /api/v0/image/UUID/ |
Parameters
optional
- uuid: image's unique identifier
Example
Get the image identified by UUID 3b07a7d76056467db7c06891ebdc0b56
Request
1 |
curl 'https://my.craftar.net/api/v0/image/3b07a7d76056467db7c06891ebdc0b56/?api_key=123456789abcdefghijk123456789abcdefghijk' |
Response
HTTP Status code: 200 OK
1 2 3 4 5 6 7 8 9 10 11 12 |
{ "uuid": "3b07a7d76056467db7c06891ebdc0b56", "file": "https://example.com/collections/440c374d09424243b9448cd289545db1/images/4fe672886ec142f6ab6d72d54acf046f_3b07a7d76056467db7c06891ebdc0b56", "item": "/api/v0/item/4fe672886ec142f6ab6d72d54acf046f/", "name": "linux_magazine.jpg", "resource_uri": "/api/v0/image/3b07a7d76056467db7c06891ebdc0b56/", "status": "OK", "quality": 0.84, "thumb_120": "https://example.com/cache/collections/440c374d09424243b9448cd289545db1/images/4fe672886ec142f6ab6d72d54acf046f_3b07a7d76056467db7c06891ebdc0b56_thumb_120.jpe", "thumb_60": "https://example.com/cache/collections/440c374d09424243b9448cd289545db1/images/4fe672886ec142f6ab6d72d54acf046f_3b07a7d76056467db7c06891ebdc0b56_thumb_60.jpe", "tracking_data_status": "NO" } |
Errors
Image not found
HTTP Status code: 404 Not Found