Translation

Migrate default translation keys within a project type

POST
/api/v2/default-translations/migrate

Authorization

BearerAuthObject
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/v2/default-translations/migrate" \  -H "Content-Type: application/json" \  -d '{    "projectTypeId": 13,    "mapping": {      "Old.Key.A": "New.Key.A",      "Old.Key.B": "New.Key.B"    }  }'
{  "defaultTranslation": {    "created": 0,    "updated": 0,    "skipped": 0  },  "translation": {    "created": 0,    "updated": 0,    "skipped": 0  }}
Empty
Empty
Empty
Empty
Empty