Files
Download File
Changed onget/unified/documents/files/{id}/download
Request
- Base URLhttps://api.stackone.com
- URLhttps://api.stackone.com/unified/documents/files/{id}/download
- AuthHTTP basic
Path parameters
idstring required
Query parameters
formatstring nullable
Example:base64
The format to download the file in
export_formatstring nullable
Example:text/plain
The export format of the file
Headers
x-account-idstring required
The account identifier
x-stackone-api-session-tokenstring
The session token
Response
The file with the given identifiers was retrieved.
Example response
{
"headers": {
"content-disposition": "attachment; filename=\"example.pdf\"",
"content-type": "application/pdf",
"content-length": 1024,
"content-range": "bytes 0-1023/2048",
"content-encoding": "gzip",
"transfer-encoding": "chunked"
}
}Changes
- info
added the optional property
to the response with the status - info
added the required property
to the response with the status
- info
- breaking
the
response's property type changed from no type toobjectfor status
- breaking