TUS Upload Chunk
Uploads a chunk of a large file using the TUS 1.0 protocol. Use a TUS client library rather than calling this directly. The upload_id comes from the Create Large File Upload Session endpoint.
upload_id*stringUpload session ID
Tus-Resumable*"1.0.0"TUS protocol version
"1.0.0"Upload-Offset*integerByte offset of this chunk, which must match the current upload offset
Raw bytes of the chunk
body*fileapplication/offset+octet-streambinaryChunk accepted. The new offset is returned in the Upload-Offset header.
curl -X PATCH 'https://s.ee/api/v1/file/large-file-tus/string' \ -H 'Authorization: string' \ -H 'Tus-Resumable: 1.0.0' \ -H 'Upload-Offset: 0' \ -H 'Content-Type: application/offset+octet-stream' \ -d 'string'Create Large File Upload Session POST
Creates a TUS upload session for files up to 5 GB. Returns an upload_id and TUS endpoint URL. If a file_hash is provided and the file already exists, an instant upload result is returned without needing to transfer any data.
TUS Get Upload Offset HEAD
Returns the current offset of a TUS upload in the Upload-Offset response header, so an interrupted upload can be resumed.