Finish a specific Upload
PUT /files/uploads/ID
Authorization Header
- Bearer token: OAuth 2.0 API access token.
Parameters
- format : json or xml. This will override Request Accept header.
- human : true or false. Causes the response to be in a structured, more human-readable form. This is useful when calling the API through curl or from a browser.
- show_null: true or false. If set to "true", the response will contain also keys that are not set to a value.
Example
PUT /files/uploads/ID
curl -X PUT -H "Authorization: Bearer um9VmyJKTPGFqpkL_THjGE5rkXqfURDYqQ8MTBVidG3PtwkfABIdx6s_z9WlFl4_j" -H "application/json" -d '{ \ "upload": { \ "nb_chunks": 1, \ } \ }' "https://api.xvid.com/v1/files/uploads/5475f75ce4b084a392305dcb?human=true&show_null=true"
Valid Fields:
nb_chunks: Must be specified to indicate the total number of chunk files that were uploaded and to signal that the uploading process is now complete (so no further chunks will be uploaded anymore).
Overview
Content Tools