Regenerate asset
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.
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.
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}$regionId*string^[A-Za-z0-9_-]{1,64}$The asset as the index now holds it
application/json- response
asset*|version*integerlink*|nullcurl -X POST 'https://www.chameleonlabs.org/api/manuals/string/assets/string/regenerate'{ "asset": { "id": "string", "page": 1, "name": "string", "labelType": "string", "count": 1, "link": "string", "parent": "string", "groups": [ "string" ], "fingerprint": "string", "producedBy": { "process": "breakdown", "jobId": "string" }, "kind": "picture", "picture": { "src": "string", "hash": "string", "width": 1, "height": 1, "scale": 1, "origin": [ -100000, -100000 ], "resolution": 1, "measures": { "clearShare": 0, "holeShare": 0, "smallHoles": 0, "edgeShare": 0, "specksDropped": 0 } } }, "version": 0, "link": { "url": "http://example.com", "expiresAt": "2019-08-24T14:15:22Z" }}Read asset sheet POST
Built pictures side by side on black in one picture, each captioned with its ID. For a first look at many pictures at once, where holes eaten into the art and page left around it stand out on black: each picture is drawn as large as its own cell lets it be and never enlarged, so no scale maps the picture onto a page. Drawn larger than a single read.
Complete picture upload POST
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.