Get an image of a screen
Returns the bytes of one image of a screen (`thumb`, `preview` or `original`) with its own content type, its hash as the ETag and an immutable cache header. 404 when the screen has no such image yet. `v` is a cache key for clients, such as a rendition sha from the screen, and the server ignores it.
/v1/screens/{id}/renditions/{kind}Returns the bytes of one image of a screen (thumb, preview or original) with its own content type, its hash as the ETag and an immutable cache header. 404 when the screen has no such image yet. v is a cache key for clients, such as a rendition sha from the screen, and the server ignores it.
Path Parameters
^scr_Value in
- "thumb"
- "preview"
- "original"
Query Parameters
Response Body
image/jpeg
application/json
application/json
curl -X GET "https://api.conjure.design/v1/screens/string/renditions/thumb"
"string"
{
"error": {
"code": "bad_request",
"message": "string",
"requestId": "string"
}
}
{
"error": {
"code": "bad_request",
"message": "string",
"requestId": "string"
}
}
Get a screen GET
Returns one screen with its measurements, its label (null until the label stage has run) and the declared spacing, type and radii of the page it was captured from (null for a plain upload). 404 when no screen has the id.
Get the kit of a screen GET
Returns the component kit of a screen and the markdown an agent gets for it. A screen with a brand gets the brand's best kit, which can come from another screen of the brand (`from`). `kit` is null until the kit stage has run, and `markdown` is null unless the kit is extracted.