Files

Download file content

Download the raw binary content of a file. The response includes an appropriate Content-Type header detected via libmagic and a Content-Disposition: attachment header with the original filename.

get/v1/files/{file_id}/content

Path parameters

file_idstring required

Query parameters

scope_idstring required

Session / container identifier.

Example:session-abc123

Session / container identifier.

namespacestring

Namespace the file belongs to. Defaults to 'session'.

Example:session

Namespace the file belongs to. Defaults to 'session'.

dispositionstring

Content-Disposition mode for the response: attachment (default, browser download) or inline (open in browser / preview). Corresponds to RFC 6266.

Example:attachment

Content-Disposition mode for the response: attachment (default, browser download) or inline (open in browser / preview). Corresponds to RFC 6266.

Response

Raw file bytes with MIME-typed content.

{"stackTrail":"paths:/v1/files/{file_id}/content:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

Changed in 2 of the 11 revisions of this API.3