Skip to content

publish_cdn

Trigger a CDN release for the project. Builds bundles for every (language, namespace) combo (or restricted to the ones you pass) and pushes them to the public CDN. Idempotent: re-running with no content changes returns the same bundles as reused. Subscribed SDKs receive a Centrifugo translations_published event for every newly created bundle and can refresh in-place.

NameTypeDescription
project_uuidstringoptionalProject UUID. Required when multiple projects are configured (SONENTA_PROJECTS); defaults to the single configured project otherwise.
language_codestringoptionalRestrict to one BCP-47 language. Omit for ALL.
namespacestringoptionalRestrict to one namespace slug. Omit for ALL.
version_slugstringoptionalProject version slug. Defaults to the production version.
{
"tool": "publish_cdn",
"arguments": {}
}