Download a file or get upload session status
Changed onDownload a file, or get the status of a resumable upload session.
File Download (default): Downloads the file at the specified path.
Session Status (with X-Upload-Session header): Returns the status of a resumable upload session, including which parts have been uploaded. Anonymous sessions must reuse the exact anon key that created the session.
Request
- Base URLhttps://api.volcano.dev
- Auth
- HTTP bearer
- or HTTP bearer
- or HTTP bearer
Path parameters
Storage bucket name
Object path within bucket
Headers
HTTP Range header for partial downloads. Format: bytes=start-end or bytes=start- Examples: bytes=0-1023, bytes=1000-
Upload session ID (to get session status instead of downloading)
Response
File content or session status
Status of an upload session
Upload session ID
Current status of the upload
Target file path
MIME type
Total file size in bytes
Size of each part (except last)
Total number of parts
Number of parts uploaded
Total bytes uploaded so far
List of uploaded parts (for resume)
Session expiry time
Session creation time
Changes
- info
added the non-success response with the status
- info
- breaking
added the new path request parameter
bucketName - breaking
the response's body type changed from no type to
objectfor status
15 more changes in this revision
- breaking