Rivier/ Reference/ compliance

Draft a new version of a legal document from the current choices

post/compliance/legal/documents/{doc}/versions

Draft a new version of a legal document from the current choices. A draft is never public.

Before you call

Credential
Authorization: Bearer $KEY
Scope
compliance:write
Mcp
rivier_legal_draft
Graphql
Mutation.complianceLegalVersionDraft
Sdk
compliance.legalVersion.draft
Cli
compliance legal version draft

Parameters

  • docstringrequired
    In the path

Request bodyapplication/json, required

  • changeNotestring
    At most 300 characters.
  • jurisdictionslist of string
  • modestring
    One of: combined, separate.
  • localeslist of string

Responses

  • 201application/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