- iOS SDK接入文档
- 平台文档
- 星火认知大模型
- SparkDesk
- 星火认知大模型
- 星火知识库
- 图片生成
- 图片理解
- 大模型定制训练平台
- 语音识别
- 语音唤醒(新版)
- 语音听写
- 语音转写
- 极速语音转写
- 实时语音转写
- 离线语音听写
- 离线语音听写(新版)
- 语音唤醒
- 语音唤醒(新版)
- 离线命令词识别
- 语音合成
- 语音扩展
- 自然语言处理
- 人脸识别
- 文字识别
- 图像识别
- 基础服务
- 解决方案
- MSC API 文档
分块上传完成
开发环境
开发环境
POST
https://upload-ost-api.xfyun.cn/file/mpupload/complete
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://upload-ost-api.xfyun.cn/file/mpupload/complete' \
--header 'Content-Type: application/json' \
--data-raw '{
"request_id": "202006290849",
"app_id": "your_appid",
"upload_id": "your_return_upload_id"
}'
响应示例响应示例
{
"code": 0,
"sid": "string",
"data": {
"url": "string"
},
"message": "string"
}
请求参数
Body 参数application/json
request_id
string
请求唯一标识
app_id
string
应用唯一标识
upload_id
string
上传唯一标识
示例
返回响应
🟢200成功
application/json
Body
code
integer
错误码,0标识成功
sid
string
会话唯一标识
data
object
必需
url
string
文件下载地址
message
string
错误描述
修改于 2023-12-18 08:22:06