List batch operations
GET/v2/projects/:projectId/batch-jobs
List batch operations
Request
Path Parameters
Query Parameters
Default value: 0
Zero-based page index (0..N)
Possible values: >= 1
Default value: 20
The size of the page to be returned
Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
Responses
- 200
- 400
- 401
- 403
- 404
OK
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
_embedded object
batchJobs object[]
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
page object
{
"_embedded": {
"batchJobs": [
{
"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"
}
]
},
"page": {
"size": 0,
"totalElements": 0,
"totalPages": 0,
"number": 0
}
}
Bad Request
- */*
- Schema
Schema
string
Unauthorized
- */*
- Schema
Schema
string
Forbidden
- */*
- Schema
Schema
string
Not Found
- */*
- Schema
Schema
string