Translations

Auto-Translation Batch Operations

Required scopes: project.translation (Read and Write).

patch/projects/{projectId}/pre-translations

Request

Path parameters

projectIdinteger required

Project Identifier. Get via List Projects

Request body

op'replace' required

Patch operation to perform

path'/{jobIdentifier}/status' | '/{jobIdentifier}/priority' json-pointer required

A JSON Pointer as defined by <a href="https://tools.ietf.org/html/rfc6901" target="_blank">RFC 6901</a>

Example request

[
  {
    "op": "replace",
    "path": "/9e7de270-4f83-41cb-b606-2f90631f26e2/status",
    "value": "canceled"
  },
  {
    "op": "replace",
    "path": "/9e7de270-4f83-41cb-b606-2f90631f26e2/priority",
    "value": "high"
  }
]

Response

Auto-translations were successfully updated

Example response

{
  "data": [
    {
      "data": {
        "identifier": "9e7de270-4f83-41cb-b606-2f90631f26e2",
        "status": "created",
        "progress": 90,
        "attributes": {
          "languageIds": [
            "uk"
          ],
          "method": "tm",
          "autoApproveOption": "all",
          "duplicateTranslations": true,
          "skipApprovedTranslations": true,
          "translateUntranslatedOnly": true,
          "scope": "untranslated",
          "replaceTranslationsOption": "none",
          "translateWithPerfectMatchOnly": true,
          "priority": "normal",
          "notifyOnCompletion": true
        },
        "createdAt": "2019-09-20T14:05:50+00:00",
        "updatedAt": "2019-09-20T14:05:50+00:00"
      }
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.