String/Asset Translations

Approval Batch Operations

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

patch/projects/{projectId}/approvals

Request

Path parameters

projectIdinteger required

Project Identifier. Get via List Projects

Request body

op'remove' | 'add' required

Patch operation to perform

Example request

[
  {
    "op": "add",
    "path": "/-",
    "value": {
      "translationId": 200
    }
  },
  {
    "op": "remove",
    "path": "/2815"
  }
]

Response

Approvals were successfully updated

Example response

{
  "data": [
    {
      "data": {
        "id": 190695,
        "user": {
          "id": 19,
          "username": "john_doe",
          "fullName": "John Smith"
        },
        "translationId": 190695,
        "languageId": "uk",
        "createdAt": "2019-09-19T12:42:12+00:00",
        "stringId": 2345
      }
    }
  ]
}

Changes

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