Append chunk to session
Changed onAppend more data to an upload session. <br/><br/><note> The maximum size per chunk request is 1GB. </note><br/><note> To upload a chunk, you must use the ‘upload_url’ returned from the session opening call : <a href="../start">upload/session/start</a>. </note>
Request
- Base URLhttps://api.infomaniak.com
- URLhttps://api.infomaniak.com/3/drive/{drive_id}/upload/session/{session_token}/chunk
- AuthHTTP bearer
Path parameters
Drive identifier
Session token uuid
Query parameters
The hash of the current chunk. If provided and the uploaded content does not match this hash, an error will be returned.<note>Supported hashing algorithm: md5, sha1, sha256, sha512, xxh3, xxh32, xxh64, xxh128</note>
The index of the current chunk, <note>The index start at 1</note>
The size of the current chunk, <note>the unit of size is defined in Bytes</note><note>Please note that the chunk size should be between 1000000 and 1000000000 bytes, except for the last one, which can be smaller as it is the final chunk</note>
Request body application/octet-stream
Response
OK
Example response
{
"result": "success",
"data": {
"status": "error"
}
}Changes
- info
added the non-success response with the status
- info