翻译任务API
重启翻译任务
/v1/translation/start用于已终止任务的重启,或者支付积分进行全文翻译
示例
curl
1curl -X POST 'https://shangyiai.com/api/v1/translation/start' \
2--header 'Authorization: [yourSecretKey]' \
3--header 'Content-Type: application/json' \
4--data '{
5 "taskId": "[string]"
6}'请求参数
响应
| 参数 | 类型 | 默认 | 描述 | 示例 |
|---|---|---|---|---|
| success | Boolean | - | 是否启动成功 | - |