Jobs
Deliver a Job
Changed onSet the job state to delivered and set all the projects in the job to done
It will return the delivered job.
Example CURL command:
curl -X POST 'https://api.lilt.com/v2/jobs/{id}/deliver?key=API_KEY'
post/v2/jobs/{jobId}/deliver
Request
- Base URLhttps://api.lilt.com
- URLhttps://api.lilt.com/v2/jobs/{jobId}/deliver
- AuthHTTP basic
Path parameters
jobIdinteger required
A job id.
Response
A job object.
Example response
{
"name": "My New Job",
"creationStatus": "COMPLETE",
"deliveredAt": "2021-06-03T13:43:00Z",
"status": "active",
"due": "2021-06-03T13:43:00Z",
"id": 241,
"stats": {
"projects": [
{
"srcLang": "en",
"srcLocale": "US",
"trgLang": "fr",
"trgLocale": "CA",
"name": "My new project",
"due": "2021-10-03T13:43:00.000Z",
"state": "inProgress",
"numSourceTokens": 2134,
"createdAt": "2021-04-01T13:43:00.000Z",
"updatedAt": "2021-06-03T13:43:00.000Z",
"memoryId": 2134,
"workflowStatus": "READY_TO_START",
"workflowName": "Translate > Review > Analyst Review"
}
],
"uniqueLanguagePairs": 1,
"uniqueLinguists": 1,
"workflowStatus": "READY_TO_START"
},
"domains": [
{
"id": 12,
"name": "Marketing"
}
]
}Changes
- breaking
added the new path request parameter
jobId - info
api operation id
deliverJobwas added - info
added the non-success response with the status
- info
added the success response with the status
- breaking