Rivier/ Reference/ bookings

Write a draft of the text (short fields and the description as blocks)

put/lodging/text/{kind}/{id}

Write a draft of the text (short fields and the description as blocks). An agent's draft says which model wrote it; a person reviews and publishes.

Before you call

Credential
Authorization: Bearer $KEY
Scope
bookings:write
Mcp
rivier_lodging_text_draft_save
Sdk
bookings.text.saveDraft
Cli
bookings text save draft

Parameters

  • kindstringrequired
    In the path
  • idstring (uuid)required
    In the path
  • localestringrequired
    In the query

Request bodyapplication/json, required

  • docobjectrequired
    • fieldsobject
      Default: {}.
    • blockslist of object
  • reasonstring
    Default: . At most 300 characters.
  • modelstring
    At most 120 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