B.2 断点续传
GET
http://{endpoint}/api/upload/resume
Url Query Param 参数直接放在url中
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://api/upload/resume?app_id=&access_token='
响应示例响应示例
{
"result": 1,
"existed": true,
"fragment_index": -1,
"fragment_list": [],
"endpoint": [
{
"protocol": "KTP",
"host": "103.102.200.26",
"port": 6666
},
{
"protocol": "KTP",
"host": "103.107.219.10",
"port": 6666
}
],
"fragment_index_bytes": 0,
"token_id": "0a20d2355f0ed2e9000000000004c81f"
}
请求参数
Path 参数
endpoint
string
必需
Query 参数
upload_token
string
上传令牌
示例值:
string
app_id
string
应用唯一标识
默认值:
{{app_id}}
access_token
string
接口访问凭证
默认值:
{{access_token}}
返回响应
修改于 2021-12-30 05:52:27