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
- kindstringrequiredIn the path
- idstring (uuid)requiredIn the path
- localestringrequiredIn the query
Request bodyapplication/json, required
- docobjectrequired
- fieldsobjectDefault: {}.
- blockslist of object
- fieldsobject
- reasonstringDefault: . At most 300 characters.
- modelstringAt most 120 characters.
Responses
- 200application/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