Portal Content
Get Content Translations
Retrieves all existing translations for a content item.
get/v1/portal-content/{contentId}/translations
Request
- The document declares no server URL.
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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"
}
]
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.