Compat
Migration shim for apitemplate.io clients.
apitemplate.io compatible create-pdf
Accepts apitemplate.io's request and returns its response shape, so a client moves by changing
apitemplate.io compatible create-image
Accepts apitemplate.io's request and returns its response shape. The body is the template's data. Each image is a render of its own, made one after the other, so `all` makes two and costs two units, and a PNG that fails after the JPEG succeeded answers with its error while the JPEG render stays in the log. `total_pages` is always null. Waiting, errors and ignored parameters as for create-pdf. Needs `render:create`. Migration only.
apitemplate.io compatible create-pdf-from-html
Accepts apitemplate.io's `body` (HTML), `css`, `data` and `settings` fields and answers in its shape; other fields are ignored. A body without HTML answers 400 as problem details. Waiting, errors and ignored parameters as for create-pdf. Needs `render:create`. Migration only.
apitemplate.io compatible create-pdf-from-url
Accepts apitemplate.io's `url` and `settings` fields and answers in its shape; the page is printed like a render with a `url` source, and other fields are ignored. A missing `url` answers 400 as problem details, a refused one in apitemplate.io's shape. Waiting, errors and ignored parameters as for create-pdf. Needs `render:create`. Migration only.