POST /api/v1/sites/{siteId}/publish pushes dirty draft pages live. Default scope is the site's default locale only; pass locale_scope or content_ids for translations.
POST /api/v1/sites/{siteId}/publish pushes dirty draft pages live. By default only the site's default locale is published — translation variants are excluded unless you pass locale_scope or an explicit content_ids list. Requires publish:write.
Required scope:publish:writeBoth body fields are optional. When omitted, Aveiro publishes every dirty page in the site's default locale only.
Locale scope
locale_scope controls which locales are included when you do not pass content_ids:
Value
Behavior
default (or omit)
Publish only default-locale pages — matches the editor Publish menu when no per-language translation switches are enabled
all
Publish dirty pages in every locale
locale list, e.g. de and fr
Publish dirty pages in those locales only — send a JSON array of locale codes
An explicit content_ids array always wins: publish exactly those rows regardless of locale_scope. Use that when a script knows the variant ids it touched.Unrecognized locale_scope values fall back to "default" — a typo cannot widen a publish into translation variants.
When you omit both content_ids and locale_scope, Aveiro publishes default-locale dirty pages only. Linked locale variants with unpublished changes are left behind; the response may include skipped_variants and a hint so automations do not assume a silent full-site publish.
Pages with broken blocks are skipped and reported in the error payload. See List pages to find dirty drafts before publishing.
Related
Authentication — publish:write scope and site restrictions
Translations overview — per-locale publish in the editor and opt-in switches in the publish menu
{
"published": 3,
"published_version_ids": ["…"],
"public_content_live": true,
"first_publish": false,
"skipped_variants": 2,
"hint": "2 linked translation variants have unpublished changes and were not published. Pass locale_scope:"all" (or a list of locales) to publish them."
}