Skip to content

Get a file in its original format

Make a GET request to api/file to download a file in its original format.

URL: /api/file/

Method: GET

Response Content-Type: application/octet-stream

Query Parameters

Query Parameter Description
DocID number The Document ID of the file to download
Index string The Index in which the document is found.

Response

The server will stream the file with application/octet-stream.

Warning

The server may respond with HTTP Status Code 404 if the file was not found or 401 in the case that file system permissions are not configured correctly.


Last update: June 21, 2020