Rivier/ Reference/ hosting

Change one string of a page

patch/hosting/sites/{id}/pages/{page}/texts

Change one string of a page. A block's string goes through the page's patch, so undo and the approval a live page needs apply; the title and search texts go through the page's details.

Before you call

Credential
Authorization: Bearer $KEY
Scope
hosting:write
Graphql
Mutation.hostingSitePageEditText
Sdk
hosting.sitePage.editText
Cli
hosting site page edit text

Parameters

  • idstring (uuid)required
    In the path
  • pagestring (uuid)required
    In the path

Request bodyapplication/json, required

  • keystringrequired
    At most 300 characters.
  • textstringrequired
    At most 4000 characters.

Responses

  • 200application/json
    Success
    • 400application/json
      The request was malformed
      • errorstringrequired
      • messagestring
    • 401application/json
      No valid credential
      • errorstringrequired
      • messagestring
    • 403application/json
      The credential lacks the scope, origin or address
      • errorstringrequired
      • messagestring
    • 429application/json
      Over the key's rate limit; see Retry-After
      • errorstringrequired
      • messagestring

    This page as Markdown