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.
Parameters
Section titled “Parameters”| Name | Type | Description | |
|---|---|---|---|
project_uuid | string | optional | Project UUID. Required when multiple projects are configured (SONENTA_PROJECTS); defaults to the single configured project otherwise. |
language_code | string | optional | Restrict to one BCP-47 language. Omit for ALL. |
namespace | string | optional | Restrict to one namespace slug. Omit for ALL. |
version_slug | string | optional | Project version slug. Defaults to the production version. |
Example
Section titled “Example”{ "tool": "publish_cdn", "arguments": {}}