Rollback Translation

Changed on

Rollback translations to a previous version. This will replace all files with what was available at the previous version.

post/v1/{workspace}/translation/version/{version_no}/rollback/

Request

Path parameters

workspacestring required

Workspace slug (staging, production, etc.)

version_nointeger required

Version number to rollback to

Response

Details of available translation files after rollback.

Example response

{
  "results": [
    {
      "filename": "en.json",
      "locale": "en",
      "locale_name": "English",
      "namespace": "task",
      "action": "added"
    }
  ]
}

Changes

    • breaking

      response property detail list-of-types was widened by adding types array and object to media type application/json of response 401

    • breaking

      response property detail list-of-types was widened by adding types array and object to media type application/json of response 404

    • breaking

      removed the success response with the status

    • info

      added the non-success response with the status

    • info

      added the success response with the status