pub.chive.governance.getPendingCount

chive.pub

Documentation

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

main query

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

Parameters

kind string Optional

Filter by node kind

subkind string Optional

Filter by subkind (field, institution, etc.)

Output

Encodingapplication/json
count integer Required

Number of pending proposals

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
Filter by node kind
Filter by subkind (field, institution, etc.)
View raw schema
{
  "type": "query",
  "errors": [],
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "count"
      ],
      "properties": {
        "count": {
          "type": "integer",
          "minimum": 0,
          "description": "Number of pending proposals"
        }
      }
    },
    "encoding": "application/json"
  },
  "parameters": {
    "type": "params",
    "properties": {
      "kind": {
        "type": "string",
        "description": "Filter by node kind",
        "knownValues": [
          "type",
          "object"
        ]
      },
      "subkind": {
        "type": "string",
        "description": "Filter by subkind (field, institution, etc.)"
      }
    }
  },
  "description": "Get the count of pending governance proposals, used for notification badges"
}

Lexicon Garden

@