Rivier/ Reference/ hosting

Hosting protection get

get/protection

Whether Protection is on for the project, the site key, the addresses it covers, how many writes went unchecked this week, and the script line and verify call for a site not built in Rivier. Says plainly when this deployment has no Protection set up.

Before you call

Credential
Authorization: Bearer $KEY
Scope
hosting:read
Mcp
rivier_protection_state
Graphql
Query.hostingProtectionGet
Sdk
hosting.protection.get
Cli
hosting protection get

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