Skip to content

Download a chunk of a file

GET
/v3/downloads/{download_id}/chunks/{chunk_index}
curl --request GET \
--url https://api.cardio.ai/v3/downloads/example/chunks/1 \
--header 'X-Api-Token: <X-Api-Token>'

Returns a particular chunk of a file from an ongoing download session.

download_id
required
string

Download session ID.

chunk_index
required
integer format: uint32

Index of the chunk to retrieve.

Binary chunk data.

Media type application/octet-stream
string format: binary

Bad Request - missing or invalid parameters.

Media type application/json
string
Example generated
example

Unauthorized - missing, expired, or invalid token.

Media type application/json
string
Example generated
example

Too Many Requests - rate limit exceeded.

Media type application/json
string
Example generated
example