Rivier/ Reference/ content

Let a held comment through or refuse it

post/cms/reader-comments/{id}/decide

Let a held comment through or refuse it. A person with the approver role does this; nothing is deleted.

Before you call

Credential
Authorization: Bearer $KEY
Scope
content:write
Sdk
content.readerComment.decide
Cli
content reader comment decide

Parameters

  • idstring (uuid)required
    In the path

Request bodyapplication/json, required

  • decisionstringrequired
    One of: publish, refuse.

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