Translation Task API
Retrieve translation
/v1/translation/queryTextsGet system-extracted one-to-one correspondence of original text and translation, returned in JSON format
Example
curl
1curl -X POST 'https://dltranslator.com/api/v1/translation/queryTexts' \
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 | - |
Response
Parameters | Type | Default | Description | Example |
---|---|---|---|---|
taskId | String | - | Translation Task ID | - |
texts | JSON | - | JSON mapping of source text and translated text | - |
revisedTexts | JSON | - | Revised original text and translation | - |