Get image

get/images/{imageId}.svg
Internal-Use Only

This operation is used by POST /jobs to return the GET links.

This operation uses an explicit format modifier ('.svg'). Doing so is to support the primary use case of embedding the link in a web page or other such context where the client cannot pass an 'Accept:' header to specify the image type.

This URL is secured, and valid only for the current user.

By protocol, SVG images are always XML. The media type is always 'image/svg+xml'.

Request Samples

1

Response Samples

1string

Path Parameters

NameTypeRequiredDescription
imageId
string
true

The system-generated ID returned with the completed job (in the 'image' link).

Header Parameters

NameTypeRequiredDescription
If-None-Match
string
false

Optional ETag. On a match, 304 (not modified) is returned.

Responses

StatusMeaningDescription
200OKThe image is returned. Caching headers (Cache-Control, Expires, Pragma) are returned encouraging the browser to cache this image.HeadersSchema
304Not ModifiedIf the client-supplied entity tag (If-None-Match) matches the current state, the client's image is current. Nothing is then returned.HeadersSchema
404Not FoundEither the imageId cannot be found, or the underlying image is not in the database. <p> If a user other than the one who generated the image uses this link, it is considered a security violation, and a 404 is returned so that the caller does not know the link is an otherwise-valid value. </p>HeadersSchema