GET PDF Document Annotations
This API allows you to retrieve the annotations of a specific PDF document.
API Description
Endpoint:
GET /documents/{documentId}/file/annotations
Resource path:
Variable | Required | Description |
---|---|---|
documentId | Yes | The ID of a document |
Response :
Type | Description |
---|---|
InputStream | The document annotations as a file in the response body |
Examples
Retrieve Document Annotations
The following example retrieves the annotations for a PDF document with the ID b64_bm9yZS92SDMtMS0xMTh1735080237.
curl -X GET 'http://localhost:8761/documents/b64_bm9yZS92SDMtMS0xMTh1735080237/file/annotations' \
-H 'accept: application/octet-stream'