| GET | /image | Returns the specified image based on the Id. | |
|---|---|---|---|
| GET | /image/{id} | Returns the specified image based on the Id. |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | path | int | Yes | |
| ImageSize | query | SizeType | No | Manually control the server resizing of the image.Allowable Values
|
| Base64 | query | boolean | No | Set to true to return the image in Base64 format. |
| Platform | query | string | No | |
| Thumbnail | query | bool | No | Force this file to be returned as a thumbnail (small) |
| Name | Value | |
|---|---|---|
| Unknown | 0 | |
| Full | 1 | |
| Small | 2 | |
| Medium | 3 | |
| Large | 4 | |
| XLarge | 5 |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /image HTTP/1.1 Host: antel.api.dev.86degrees.com Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
}