Pre-translate by TM
POST/v2/projects/:projectId/start-batch-job/pre-translate-by-tm
Pre-translate provided keys to provided languages by TM.
Request
Path Parameters
- application/json
Body
required
Possible values: >= 1
, <= 2147483647
Responses
- 200
- 400
- 401
- 403
- 404
OK
- application/json
- Schema
- Example (from schema)
Schema
Batch job id
Possible values: [PENDING
, RUNNING
, SUCCESS
, FAILED
, CANCELLED
, DEBOUNCED
]
Status of the batch job
Possible values: [PRE_TRANSLATE_BT_TM
, MACHINE_TRANSLATE
, AUTO_TRANSLATE
, DELETE_KEYS
, SET_TRANSLATIONS_STATE
, CLEAR_TRANSLATIONS
, COPY_TRANSLATIONS
, TAG_KEYS
, UNTAG_KEYS
, SET_KEYS_NAMESPACE
, AUTOMATION
]
Type of the batch job
Total items, that have been processed so far
Total items
author object
User who created the comment
avatar object
The time when the job created
The time when the job was last updated (status change)
The activity revision id, that stores the activity details of the job
If the job failed, this is the error message
{
"id": 0,
"status": "PENDING",
"type": "PRE_TRANSLATE_BT_TM",
"progress": 0,
"totalItems": 0,
"author": {
"id": 0,
"username": "string",
"name": "string",
"avatar": {
"large": "string",
"thumbnail": "string"
},
"deleted": true
},
"createdAt": 0,
"updatedAt": 0,
"activityRevisionId": 0,
"errorMessage": "string"
}
Bad Request
- */*
- Schema
Schema
string
Unauthorized
- */*
- Schema
Schema
string
Forbidden
- */*
- Schema
Schema
string
Not Found
- */*
- Schema
Schema
string