Platrium Docs

Presign a batch of chunks for upload

POST
/files/uploadsession/chunks

Batch request presigned URLs and cryptographic authorization receipts for chunk uploading.

Header Parameters

x-platrium-uploadsession*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/files/uploadsession/chunks" \  -H "x-platrium-uploadsession: string" \  -H "Content-Type: application/json" \  -d '{    "hashes": [      "string"    ]  }'
{  "chunks": {    "property1": {      "upload_url": "string",      "receipt": "string"    },    "property2": {      "upload_url": "string",      "receipt": "string"    }  }}
{  "debuginfo": "string"}