获取转写文件下载地址。
默认接口请求频率限制:20次/秒。
REST URL
GET https://sdk.xylink.com/api/rest/external/v1/transcription/file/download/url?enterpriseId=XXX&transcriptionId=XXX&&fileType=1&lang=source&signature=XXX
请求参数说明:
参数 | 参数类型 | 参数位置 | 必须 | 默认值 | 说明 | 初始平台 |
enterpriseId | String | Query | 是 | 无 | 企业ID,通过管理平台-云视讯API获得 | 5.2-20250926 公有云 |
signature | String | Query | 签名鉴权2.0:否 | 无 | API签名,参考 | 5.2-20250926 公有云 |
transcriptionId | String | Query | 是 | 无 | 转写 id | 5.2-20250926 公有云 |
fileType | int | Query | 否 | 1 | 文件类型:0=json、1=txt、2=pdf、3=word | 5.2-20260928 公有云不存在 |
lang | String | Query | 否 | source | 语言:zh; en;source(默认) | 5.2-20260928 公有云不存在 |
返回结果示例:
{
"url":"https://xxx/xxxxxxxxxxxxxx",
"status":"processing",
"retryAfterSeconds":3
}返回参数说明
参数 | 说明 | 初始平台 |
url | 下载路径 | 5.2-20250926 公有云 |
status | 状态: 1、ready 文件已生成 通常有有效 URL 2、processing 文件正在生成 可能为空,需要按 retryAfterSeconds 重试 3、failed 文件生成失败 通常没有有效 URL | 5.2-20260928 公有云不存在 |
retryAfterSeconds | 未获取到下载链接,多少秒后重试 | 5.2-20260928 公有云不存在 |
以下仅列出该接口业务逻辑错误码,其他错误码见小鱼RESTAPI错误码