Get image

GET
/images/{publicID}
Get an image by its public ID.
curl -X GET "https://api.moov.io/images/{publicID}"
Response body for returning the raw image bytes.
image/jpeg image/png image/webp
Returns an image file (image/jpeg).
Returns an image file (image/png).
Returns an image file (image/webp).

Cache-Control

string required

Etag

string
The resource has not changed; client may use its cached representation.

Cache-Control

string

Etag

string

x-request-id

string required
A unique identifier used to trace requests.
The requested resource was not found.

x-request-id

string required
A unique identifier used to trace requests.
Request was refused due to rate limiting.

x-request-id

string required
A unique identifier used to trace requests.
The request failed due to an unexpected error.

x-request-id

string required
A unique identifier used to trace requests.
The request failed because a downstream service returned an invalid response.

x-request-id

string required
A unique identifier used to trace requests.
The request failed because a downstream service is unavailable.

x-request-id

string required
A unique identifier used to trace requests.
The request failed because a downstream service failed to respond.

x-request-id

string required
A unique identifier used to trace requests.

Headers

if-none-match

string

Path parameters

publicID

string required

Query parameters

size

string

Optional parameter to request a resized version of the image (WxH).

If either dimension is 0, the image will be scaled proportionally based on the non-zero dimension. Dimensions are capped at 2048 pixels. A default size of 400x400 will be used if this parameter is omitted.

Default: 400x400

Response

image/jpeg image/png image/webp
Returns an image file (image/jpeg).
Returns an image file (image/png).
Returns an image file (image/webp).