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
| Kind | query |
|---|---|
| Authority | governance.chive.pub |
| Indexed |
Checks
Validunlimited-stringdefs.main.parameters.properties.kindNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.parameters.properties.subkindNo maxLength, maxGraphemes or format limits this string.
{
"$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
}