pub.chive.governance.getPendingCount

Get the count of pending governance proposals, used for notification badges

Repository @lexicons.governance.chive.pub did:plc:egjghlwgts2hlcer2txilxeh not from the namespace authority
Details · query
Kindquery
Authoritygovernance.chive.pub
Indexed

Showing version bafyreibby5l2ko3n7nstnjxpebmvnuzdbucglghgsx2yala44rrldkjo6i. Show the latest

cid bafyreibby5l2ko3n7nstnjxpebmvnuzdbucglghgsx2yala44rrldkjo6i

Checks

Valid
  • unlimited-string defs.main.parameters.properties.kindNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.parameters.properties.subkindNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Get the count of pending governance proposals, used for notification badges",
      "errors": [],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "count": {
              "description": "Number of pending proposals",
              "minimum": 0,
              "type": "integer"
            }
          },
          "required": [
            "count"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "kind": {
            "description": "Filter by node kind",
            "knownValues": [
              "type",
              "object"
            ],
            "type": "string"
          },
          "subkind": {
            "description": "Filter by subkind (field, institution, etc.)",
            "type": "string"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "pub.chive.governance.getPendingCount",
  "lexicon": 1,
  "revision": 1
}