Platrium Docs

Presign a batch of chunks for download

POST
/files/downloadsession/chunks

Generates time-bound client-direct download URLs for specific file chunk indices using a download session token.

Header Parameters

x-platrium-downloadsession*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/files/downloadsession/chunks" \  -H "x-platrium-downloadsession: string" \  -H "Content-Type: application/json" \  -d '{    "indices": [      0    ]  }'
{  "chunks": {    "property1": {      "download_url": "string"    },    "property2": {      "download_url": "string"    }  }}