GET
Download a file

Authorizations

Authorization
string
header
required

Obtain a token via POST /api/v1/oauth/token (password grant) and send it as Authorization: Bearer <token>.

Path Parameters

database
string
required

Project identifier (each project has its own database). Obtain it from GET /api/v2/data/projects.

id
string
required

Document id (_id).

versionId
string
required

Version id from the file's versions array.

fileName
string
required

Response

The file's bytes.

The response is of type file.