GET Printable Document

This API allows you to retrieve the printable version of a specific document.

API Description

Endpoint:

GET /documents/{documentId}/printable

Resource path:

Variable Required Description
documentId Yes The ID of a document

Response :

Type Description
HttpServletResponse The printable document in PDF format

Examples

Retrieve Printable Document

The following example demonstrates how to retrieve the printable document for a specific document with ID b64_bm9yZS92SDMtMS0xMTh1735080237. The parameter -o allow to save the result in an output file.

curl -X 'GET' \
  'http://localhost:8761/documents/b64_bm9yZS92SDMtMS0xMTh1735080237/printable' \
  -H 'accept: application/pdf' \
  -o printable_document.pdf