TUS put file upload
A request to put chunk upload by TUS protocol.
note
[Since 2022.04]
PATCH /api/v1/files/uploadResumable HTTP/1.1
- Example request
PATCH /api/v1/files/uploadResumable/cccdf385-4e46-42c2-846c-25f36ed17694 HTTP/1.1
X-co-auth-token: d4df686556681a2e31243405cf859d9a
X-FS-Token: f4b2adc9b1926479434d560ca155679c
Upload-Length: 20
Tus-Resumable: 1.0.0
Content-Type: application/offset+octet-stream
Upload-Offset: 0
Content-Length: 20
Host: localhost:8080
[some example content]
- Request headers
| Parameter | Description |
|---|---|
Tus-Resumable | Version of the protocol. |
Upload-Offset | The Upload-Offset request and response header indicates a byte offset within a resource. |
- Response headers
| Parameter | Description |
|---|---|
Tus-Resumable | Version of the protocol. |
Upload-Expires | Data of upload expires. |
Upload-Offset | The Upload-Offset request and response header indicates a byte offset within a resource. |
- Example response
HTTP/1.1 204 No Content
X-co-request-id: 7252434b44327133517a686b56614242
Tus-Resumable: 1.0.0
Upload-Offset: 20
Upload-Expires: Sat, 09 Jul 2022 02:43:59 GMT