Aller au contenu

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.

NomTypeDescription
project_uuidstringoptionnelProject UUID. Required when multiple projects are configured (SONENTA_PROJECTS); defaults to the single configured project otherwise.
language_codestringoptionnelRestrict to one BCP-47 language. Omit for ALL.
namespacestringoptionnelRestrict to one namespace slug. Omit for ALL.
version_slugstringoptionnelProject version slug. Defaults to the production version.
{
"tool": "publish_cdn",
"arguments": {}
}