Start an upload in parts
For a file past the plain limit, or any archive. Answers with the key, the upload id, the size of a part and how many parts the file takes; then /uploads/urls hands out a URL per part to PUT to, and /uploads/complete makes the document (or the import, for an archive). The family or business that started an upload is the only one that can finish it.
WWW-Authenticate names the resource metadata document.scope and in the WWW-Authenticate header as insufficient_scope; a plan that does not come with it says which one does.errors names each one.curl -X POST "https://api.thawed.app/v1/uploads" \
-H "Authorization: Bearer $THAW_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"Marisol Alvarez","size":48213977,"mime":"application/pdf"}'{
"name": "Marisol Alvarez",
"size": 48213977,
"mime": "application/pdf"
}{
"key": "staging/019958a0-2d5f…/scan.pdf",
"upload_id": "2~a7KxQm9…",
"part_bytes": 67108864,
"parts": 1
}