Endpoints 27
- The fonts a template or the brand may useGET
/v1/fonts - The JSON Schema of the print data and of a template's manifest, and the template functionsGET
/v1/print_data/schema - The official samples every template is validated withGET
/v1/print_data/samples - The templates of the organization and the shared onesGET
/v1/templates - Create a templatePOST
/v1/templates - One template, with its draft and its versionsGET
/v1/templates/{id} - Save the draft of a templatePUT
/v1/templates/{id}/draft - Archive a templatePOST
/v1/templates/{id}/archive - Choose the version LIVE documents print withPOST
/v1/templates/{id}/promote - The preview links of a templateGET
/v1/templates/{id}/preview_links - A secret link to see (or edit) the template without a sessionPOST
/v1/templates/{id}/preview_links - Revoke a preview linkDEL
/v1/templates/{id}/preview_links/{link_id} - Run every check of the template on its draft (II-D197)POST
/v1/templates/{id}/validate - Publish the draft as a new version (TEST documents use it at once)POST
/v1/templates/{id}/publish - Look at a template: its draft, a version or a shared one, as HTML, PNG or PDF (II-D213)POST
/v1/templates/{id}/render - A short-lived token for the live preview of a template in a page (II-D221)POST
/v1/templates/{id}/preview_tokens - The links to the galleryGET
/v1/template_gallery/preview_links - A secret link to the gallery: your templates and the shared ones, without a sessionPOST
/v1/template_gallery/preview_links - Revoke a link to the galleryDEL
/v1/template_gallery/preview_links/{link_id} - What a preview link opens: its template, its draft and what the link allowsGET
/v1/template_previews/{secret} - Save the draft through a preview link (scope edit or publish)PUT
/v1/template_previews/{secret}/draft - Validate the draft through a preview link (scope edit or publish)POST
/v1/template_previews/{secret}/validate - Publish the draft through a preview link (scope publish only)POST
/v1/template_previews/{secret}/publish - Render what a preview link opens (any scope): the paper of the pagePOST
/v1/template_previews/{secret}/render - The live preview room of a template: a WebSocket told of every saveGET
/v1/template_rooms/{credential} - The paper of a preview: the sanitized HTML of a sample, for an iframe (II-D221)GET
/paper/{credential} - The paper of a preview with your own edits of the sample data (UX D2)POST
/paper/{credential}