Get translations
GET/v2/projects/:projectId/import/result/languages/:languageId/translations
Returns translations prepared to import.
Request
Path Parameters
projectId int64required
languageId int64required
Query Parameters
onlyConflicts boolean
Whether only translations, which are in conflict with existing translations should be returned
onlyUnresolved boolean
Whether only translations with unresolved conflictswith existing translations should be returned
search string
String to search in translation text or key
page integer
Default value: 0
Zero-based page index (0..N)
size integer
Possible values: >= 1
Default value: 20
The size of the page to be returned
sort string[]
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
translations object[]
id int64required
text string
keyName stringrequired
keyId int64required
keyDescription string
conflictId int64
conflictText string
override booleanrequired
resolved booleanrequired
isPlural booleanrequired
existingKeyIsPlural booleanrequired
page object
size int64
totalElements int64
totalPages int64
number int64
{
"_embedded": {
"translations": [
{
"id": 0,
"text": "string",
"keyName": "string",
"keyId": 0,
"keyDescription": "string",
"conflictId": 0,
"conflictText": "string",
"override": true,
"resolved": true,
"isPlural": true,
"existingKeyIsPlural": true
}
]
},
"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
Loading...