Sluby
REST APIUploads

Send upload bytes (tus).

PATCH
/api/v1/uploads/{id}

Authorization

bearerAuth
headerAuthorizationBearer <token>

A Sluby API key (sluby_...) sent as Authorization: Bearer <key>. Keys carry scopes: upload, read, manage.

Path Parameters

id*string

Upload id, the last segment of Location.

Header Parameters

Tus-Resumable*unknown
Upload-Offset*integer

Request Body

application/offset+octet-stream

Response Body

Accepted; Upload-Offset is the new offset.

Example Request
curl -X PATCH 'https://sluby.example.com/api/v1/uploads/string' \  -H 'Tus-Resumable: 1.0.0' \  -H 'Upload-Offset: 0'
Example Response
Empty