HOC SiteDokümantasyon

save_page_paths

Update localized paths for a page. A dynamic path keeps every [param] and [relation.field]; the last segment is the entry identity. A single [slug] route stays a single slug. An empty string is the homepage. dryRun returns the stored pattern and one example URL per locale without writing. Redirects are written only when createRedirects is true. A newly added locale publishes a locale head copied from the primary locale so that public route does not 404.

save_page_paths · Grup: design

Update localized paths for a page. A dynamic path keeps every [param] and [relation.field]; the last segment is the entry identity. A single [slug] route stays a single slug. An empty string is the homepage. dryRun returns the stored pattern and one example URL per locale without writing. Redirects are written only when createRedirects is true. A newly added locale publishes a locale head copied from the primary locale so that public route does not 404.

Girdiler

FieldRequiredNotes
websiteIdrequired
pageIdrequired
pathsByLocalerequired
objectTypeIdoptional
slugParamNameoptional
createRedirectsoptional
dryRunoptional

Eşlendiği uçlar

  • PATCH /api/v1/{locale}/{websiteId}/pages/{pageId}/paths → API

İlgili