Translation Task API
Restart translation task
/v1/translation/startUsed for restarting terminated tasks, or paying credits for full document translation
Example
curl
1curl -X POST 'https://otranslator.com/api/v1/translation/start' \
2--header 'Authorization: [yourSecretKey]' \
3--header 'Content-Type: application/json' \
4--data '{
5 "taskId": "[string]"
6}'
Request Parameters
Parameters | Type | Default | Description | Example |
---|---|---|---|---|
*taskId | String | - | Translation Task ID | - |
payWithCredits | Boolean | - | Process payment for translation task (only applicable to unpaid documents; paid documents will not incur duplicate charges) | - |
model | String | - |
| - |
Response
Parameters | Type | Default | Description | Example |
---|---|---|---|---|
success | Boolean | - | Startup successful | - |