files:write{part_number, etag} pairs you collected, or send no body and the parts storage holds are used. Every part must be there, otherwise 409 upload_incomplete lists missing_parts. On success the file exists (file_id) and its media processing continues asynchronously, as after any upload.curl --location 'https://api.pibox.com/api/v2/uploads//complete' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"parts": [
{
"part_number": 0,
"etag": "string"
}
]
}'{
"object": "upload",
"data": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"folder_id": 0,
"name": "string",
"size": 0,
"part_size": 0,
"part_count": 0,
"content_type": "string",
"version_of_file_id": 0,
"status": "pending",
"file_id": 0,
"created_at": "2019-08-24T14:15:22.123Z",
"expires_at": "2019-08-24T14:15:22.123Z",
"finished_at": "2019-08-24T14:15:22.123Z",
"parts": [
{
"part_number": 0,
"url": "http://example.com",
"expires_at": "2019-08-24T14:15:22.123Z"
}
],
"uploaded_parts": [
{
"part_number": 0,
"etag": "string",
"size": 0
}
],
"missing_parts": [
0
]
}
}