S.EE Docs
API 参考

TUS 获取上传偏移量

返回 TUS 上传的当前偏移量,用于断点续传。

HEAD
/api/v1/file/large-file-tus/{upload_id}

Path Parameters

upload_id*string

Upload session ID

Header Parameters

Authorization*string

API key

Tus-Resumable*"1.0.0"

TUS protocol version

Value in"1.0.0"

Response Body

The current offset is returned in the Upload-Offset header.

Example Request
curl -X HEAD 'https://s.ee/api/v1/file/large-file-tus/string' \  -H 'Authorization: string' \  -H 'Tus-Resumable: 1.0.0'
Example Response204
Empty