Files
Redirect to file download
Requires scope `files:read`. Pass `disposition=inline` to override a stored `binary/octet-stream` type so browsers can render PDFs in an iframe.
Requires scope files:read. Pass disposition=inline to override a stored binary/octet-stream type so browsers can render PDFs in an iframe.
Authorization
bearerAuth AuthorizationBearer <token>
Personal access tokens begin with dhub_… and are restricted by their assigned scopes.
In: header
Path Parameters
fileId*integer
Query Parameters
disposition?"inline"
Value in
- "inline"
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/files/1/download"Empty
{ "error": { "code": "string", "message": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "details": { "property1": null, "property2": null } }}