API 参考流式接口
以流式方式下载文件(stream 目录本地文件 / URL / 缓存媒体)
流式帧:file_info → file_chunk* → file_complete
流式帧:file_info → file_chunk* → file_complete
授权Bearer <token>
Authorization: Bearer <access_token>
位置: header
请求主体
application/json
TypeScript 定义
在 TypeScript 中使用 request body 类型。
响应主体
application/json
curl -X POST "https://example.com/download_file_stream" \ -H "Content-Type: application/json" \ -d '{}'{ "status": "ok", "retcode": 0, "data": null, "message": "string", "wording": "string"}这篇文档有帮助吗?