Get session file
Download or serve a specific file from session storage. Supports thumbnail generation with ?thumb parameter.
Download or serve a specific file from session storage. Supports thumbnail generation with ?thumb parameter.
Path Parameters
idstring
Session ID
filenamestring
Filename to retrieve
Query Parameters
thumb?string
Thumbnail specification: '100' (box), 'w100' (width), 'h100' (height)
Match
^(\d+|w\d+|h\d+)$
time?number
Time offset in seconds for video thumbnails (default: 1.0)
Range
0 <= value <= 86400
Response Body
from mix_python_sdk import Mixwith Mix() as mix: res = mix.files.get_session_file(id="<id>", filename="example.file") # Handle response print(res)
"string"
{
"error": {
"code": 0,
"message": "string",
"type": "bad_request"
}
}
{
"error": {
"code": 0,
"message": "string",
"type": "bad_request"
}
}