Rivier/ Reference/ hosting

Leave a note on a page or on one block, or reply to a note

post/hosting/sites/{id}/pages/{page}/comments

Before you call

Credential
Authorization: Bearer $KEY
Scope
hosting:write
Mcp
rivier_site_comment_add
Graphql
Mutation.hostingSitePageComment
Sdk
hosting.sitePage.comment
Cli
hosting site page comment

Parameters

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

Request bodyapplication/json, required

  • textstringrequired
    At most 2000 characters.
  • blockIdstring or null
  • replyTostring (uuid) or null

Responses

  • 201application/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