1Fetch Client API

<back to all web services

GetImage

The following routes are available for this service:
GET/imageReturns the specified image based on the Id.
GET/image/{id}Returns the specified image based on the Id.

export class GetImage
{
    // @ApiMember(IsRequired=true)
    public Id: string;

    public constructor(init?: Partial<GetImage>) { (Object as any).assign(this, init); }
}

TypeScript GetImage DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + 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: api.1fetch.co.za 
Accept: text/jsv