direct, sync and async.
-
direct: your document is generated and returned directly in the response to your request, providing simplicity and efficiency. For requests with responses exceeding 32 MiB, refer to the Content type section. -
sync: your document is created and directly returns a URL instead of the raw document. Optionally, write the document directly into your bucket by using the storage option, bypassing the need for our temporary storage. -
async: you provide a webhook where the result is sent to after the document is created.
Endpoints
Content type
By default, when doing adirect request Doczilla will return with the Content-Type header associated with the endpoint, this will be:
/v1/pdf->application/pdf/v1/screenshotwithscreenshot.typeset topng->image/png(default)/v1/screenshotwithscreenshot.typeset tojpeg->image/jpeg/v1/screenshotwithscreenshot.typeset towebp->image/webp
Transfer-Encoding header will be set
to chunked, and the Content-Type header will be changed to application/octet-stream.