Complete picture upload
Finishes an uploaded picture: upright, without its metadata, as WebP. Call once the file is sent. The picture is finished, and is then placed on cards by its ID as a built picture is. A picture the platform doesn't take is refused with the reason. Called again for a picture already finished, it answers that picture.
Finishes an uploaded picture: upright, without its metadata, as WebP.
Call once the file is sent. The picture is finished, and is then placed on cards by its ID as a built picture is. A picture the platform doesn't take is refused with the reason. Called again for a picture already finished, it answers that picture.
x-api-key<token>Scope: manuals:write
id*string^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$pictureId*stringThe finished picture and a link that reads it
application/json- response
picture*link*curl -X POST 'https://www.chameleonlabs.org/api/manuals/string/uploads/string/complete'{ "picture": { "id": "string", "kind": "picture", "name": "string", "picture": { "src": "string", "hash": "string", "width": 0, "height": 0 }, "uploadedAt": "2019-08-24T14:15:22Z" }, "link": { "url": "http://example.com", "expiresAt": "2019-08-24T14:15:22Z" }}Regenerate asset POST
Makes one region's asset again from the saved labels and image settings. A picture region is rendered; a text region's entry is rewritten from the labels. The entry is merged into the asset index as it is saved when the render ends. Refused while a job runs on the manual.
Create picture upload URL POST
A URL that accepts one PUT of a picture of one's own, for an hour. Each call makes a new picture ID with a place of its own in the store; complete the upload under that ID once the file is sent. The PUT carries a Content-Type header equal to the answer's limits.contentType, the type named in the request, which the upload is held to.