| GET | /image | Returns the specified image based on the Id. | |
|---|---|---|---|
| GET | /image/{id} | Returns the specified image based on the Id. |
export enum SizeType
{
Unknown = 0,
Full = 1,
Small = 2,
Medium = 3,
Large = 4,
XLarge = 5,
}
export class GetImage
{
// @ApiMember(DataType="int", IsRequired=true)
public Id: number;
/**
* Manually control the server resizing of the image.
*/
// @ApiMember(Description="Manually control the server resizing of the image.")
public ImageSize: SizeType;
/**
* Set to true to return the image in Base64 format.
*/
// @ApiMember(DataType="boolean", Description="Set to true to return the image in Base64 format.")
public Base64: boolean;
/**
* Force this file to be returned as a thumbnail (small)
*/
// @ApiMember(Description="Force this file to be returned as a thumbnail (small)")
public Thumbnail: boolean;
public constructor(init?: Partial<GetImage>) { (Object as any).assign(this, init); }
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /image HTTP/1.1 Host: galaxymobile.api.dev.86degrees.com Accept: text/csv