Hosting site page translate
post/hosting/sites/{id}/pages/{page}/translations
Make a draft of the page in another language of the site (same blocks, prose translated, hidden until a person approves). For a language that exists it refreshes that translation.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
hosting:write- Mcp
rivier_site_translate_page- Graphql
Mutation.hostingSitePageTranslate- Sdk
hosting.sitePage.translate- Cli
hosting site page translate
Parameters
- idstring (uuid)requiredIn the path
- pagestring (uuid)requiredIn the path
Request bodyapplication/json, required
- localestringrequiredAt most 20 characters.
Responses
- 201application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring