Rivier/ Reference/ content

Comment on a passage of a document (the quoted words), or reply to a comment

post/documents/{id}/comments

Before you call

Credential
Authorization: Bearer $KEY
Scope
content:write
Mcp
rivier_document_comment
Graphql
Mutation.contentDocumentComment
Sdk
content.document.comment
Cli
content document comment

Parameters

  • idstring (uuid)required
    In the path

Request bodyapplication/json, required

  • bodystringrequired
    At most 4000 characters.
  • quotestring
    At most 500 characters.
  • parentIdstring (uuid)

Responses

  • 201application/json
    Success
    • commentslist of objectrequired
    • 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