Create PDF upload URL
A URL that accepts one PUT of the manual's PDF, for an hour. Each call makes a new upload with a place of its own in the store, and deletes the upload the manual waited on until then with any PDF sent to it: the PDF to complete is the one sent to the upload asked for last. The PUT carries a Content-Type header equal to the answer's limits.contentType, application/pdf, which the upload is held to.
A URL that accepts one PUT of the manual's PDF, for an hour.
Each call makes a new upload with a place of its own in the store, and deletes the upload the manual waited on until then with any PDF sent to it: the PDF to complete is the one sent to the upload asked for last. The PUT carries a Content-Type header equal to the answer's limits.contentType, application/pdf, which the upload is held to.
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}$The URL; send the PDF's bytes as the body of a PUT whose Content-Type is limits.contentType
application/json- response
url*stringurimethod*"PUT""PUT"expiresAt*stringdate-timelimits*curl -X POST 'https://www.chameleonlabs.org/api/manuals/string/source/upload-url'{ "url": "http://example.com", "method": "PUT", "expiresAt": "2019-08-24T14:15:22Z", "limits": { "maximumSizeInBytes": 0, "contentType": "string" }}Complete PDF upload POST
Inspects the uploaded PDF and records it as the manual's source. Call once the upload has finished. The PDF is checked and kept with its rotated pages flattened, and the manual records its page count and page sizes, and the labels its pages. A PDF the platform doesn't take is deleted and refused with the reason, and the next one needs a new upload.
Get source PDF link GET
A link that reads the manual's inspected PDF, for an hour.