Rivier/ Reference/ content

Change an entry with field-level operations

patch/cms/entries/{id}

Before you call

Credential
Authorization: Bearer $KEY
Scope
content:write
Mcp
rivier_cms_patch
Graphql
Mutation.contentEntryPatch
Sdk
content.entry.patch
Cli
content entry patch
Events
content.entry.updated

Parameters

  • idstring (uuid)required
    In the path

Request bodyapplication/json, required

  • opslist of objectrequired
  • expectVersioninteger
    At least 1.
  • slugstring
    At most 120 characters.
  • aiobject
    • levelstringrequired
      One of: none, assisted, generated.
    • modelstring
      At most 120 characters.
    • agentstring
      At most 120 characters.
    • disclosureLinestring
      At most 500 characters.
    • reviewedBystring
      At most 200 characters.
    • reviewedAtstring
      At most 40 characters.
  • releaseIdstring (uuid)
  • dryRunboolean
  • reasonstring
    At most 300 characters.
  • idempotencyKeystring
    At most 120 characters.

Responses

  • 200application/json
    Success

    object

  • 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