Rivier/ Reference/ compliance

Record a report about something posted

post/safety/reports

Record a report about something posted: what it is, the reason and what the reporter said.

Before you call

Credential
Authorization: Bearer $KEY
Scope
compliance:write
Mcp
rivier_safety_report
Graphql
Mutation.complianceSafetyReport
Sdk
compliance.safety.report
Cli
compliance safety report

Request bodyapplication/json, required

  • subjectobjectrequired
    • kindstringrequired
      One of: asset, url, text, other.
    • refstringrequired
      At most 500 characters.
  • reasonstringrequired
    One of: abuse, child_safety, hate, violence, sexual, self_harm, illegal, intellectual_property, privacy, spam, other.
  • detailstring
    Default: . At most 2000 characters.
  • reporterstring
    Default: . At most 200 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