Saltar al contenido principal

Create Files

POST 

/v1/files/batch

Describe up to 200 files at once and get one upload form per file, in order.

Each form works as the one POST /v1/files answers; then complete them all with POST /v1/files/batch/complete. Every file goes to one folder: folderId, or when it is left out the account's uploads folder for the month, created on first use, where any member may add files.

All or nothing: a file of a refused type (415) or over the per-file limit (413) refuses the whole batch, and the refusal names its index. The storage quota and, where the plan sets one, the monthly allowance of new bytes are checked against the batch's total: over the monthly allowance is 413 monthly_quota_exceeded with remainingBytes, monthlyBytes and resetsAt. Previews do not count.

Request​

Responses​

Successful Response