Files
Get file content
Returns the raw content of a file for inline preview. Only non-sliced files up to 10 MB are supported. Both encrypted and unencrypted files are supported. Files exceeding the size limit are rejected with 400.
get/v2/storage/branch/{branchId}/files/{fileId}/content
Request
- Base URLhttps://connection.keboola.com
- Auth
- API key in header X-StorageApi-Token
- or API key in header X-KBC-ManageApiToken
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
fileIdinteger required
File Id
branchIdstring required
Response
Raw file content. The Content-Type is guessed from the file extension by FileContentService; an unrecognized extension falls back to application/octet-stream. The response is always served with X-Content-Type-Options: nosniff.
string required
Changes
No recorded changes to this operation across all 1 revision of this API.