S.EE Docs
API 参考

获取上传进度

返回大文件上传会话的当前进度。

GET
/api/v1/file/large-file/progress

Query Parameters

upload_id*string

Upload session ID

Header Parameters

Authorization*string

API key

Response Body

OK

application/json
  1. response
code?integer
data?
message?string
Example Request
curl -X GET 'https://s.ee/api/v1/file/large-file/progress?upload_id=string' \  -H 'Authorization: string'
Example Response200
{  "code": 0,  "data": {    "created_at": 0,    "file_name": "string",    "file_size": 0,    "progress": 0,    "status": 0,    "updated_at": 0,    "upload_id": "string",    "uploaded_size": 0  },  "message": "string"}