v1

latestOpenAPI 3.1.02026-07-2665153355.3 KB
Portal Content

Get Content Translations

Retrieves all existing translations for a content item.

get/v1/portal-content/{contentId}/translations

Path parameters

contentIdstring required

Content ID.

Headers

x-publisher-tokenstring required

Publisher token.

Response

Translations retrieved successfully.

Example response

{
  "items": [
    {
      "dynamicTranslations": [
        {
          "type": "section",
          "externalId": "my-bundle-1",
          "field": "description",
          "locale": "es-ES",
          "value": "Hola!"
        }
      ],
      "staticTranslations": [
        {
          "key": "checkout.pay_button",
          "locale": "es-ES",
          "value": "Zapłać teraz"
        }
      ]
    }
  ]
}