Rivier/ Reference/ content

Create an entry as a draft

post/cms/entries

Before you call

Credential
Authorization: Bearer $KEY
Scope
content:write
Mcp
rivier_cms_create
Graphql
Mutation.contentEntryCreate
Sdk
content.entry.create
Cli
content entry create
Events
content.entry.created

Request bodyapplication/json, required

  • typestringrequired
  • slugstring
    At most 120 characters.
  • localestring
    At most 20 characters.
  • sitestring or null
  • fieldsobjectrequired
  • seoobject
    • titlestring
      At most 200 characters.
    • descriptionstring
      At most 400 characters.
    • canonicalstring (uri)
      At most 2000 characters.
    • noindexboolean
    • ogImageAssetIdstring (uuid)
    • answerSummarystring
      At most 800 characters.
    • faqlist of object
      • qstringrequired
        At most 300 characters.
      • astringrequired
        At most 2000 characters.
    • jsonldobject
      • typestringrequired
        At most 60 characters.
      • dataobject
    • includeInLlmsTxtboolean
  • 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.
  • contentItemIdstring (uuid)
  • dryRunboolean
  • reasonstring
    At most 300 characters.
  • idempotencyKeystring
    At most 120 characters.

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