app.bivri.support.getPolicy

lexicons.bivri.app

Documentation

main query

No description available.

Parameters

type string Required

No description available.

version string Optional

Version to return. Omit it to get the currently active version.

Output

Encodingapplication/json

Errors

PolicyNotActive
PolicyVersionNotFound
InvalidPolicyType
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://api.bsky.social)
Parameters
Version to return. Omit it to get the currently active version.
View raw schema
{
  "type": "query",
  "errors": [
    {
      "name": "PolicyNotActive"
    },
    {
      "name": "PolicyVersionNotFound"
    },
    {
      "name": "InvalidPolicyType"
    }
  ],
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "policy"
      ],
      "properties": {
        "policy": {
          "ref": "app.bivri.support.policyDefs#policyView",
          "type": "ref"
        }
      }
    },
    "encoding": "application/json"
  },
  "parameters": {
    "type": "params",
    "required": [
      "type"
    ],
    "properties": {
      "type": {
        "type": "string",
        "knownValues": [
          "terms",
          "privacy"
        ]
      },
      "version": {
        "type": "string",
        "description": "Version to return. Omit it to get the currently active version."
      }
    }
  }
}

Lexicon Garden

@