computer.localnetwork.directory.getStats
Directory totals, plus the genres and cities of active projects, most common first.
Details · query
| Kind | query |
|---|---|
| Authority | directory.localnetwork.computer |
| Commit rev | 3n2kad4meai2b |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Directory totals, plus the genres and cities of active projects, most common first.",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"active": {
"minimum": 0,
"type": "integer"
},
"cities": {
"items": {
"ref": "computer.localnetwork.directory.defs#place",
"type": "ref"
},
"type": "array"
},
"cityCount": {
"description": "Distinct cities across every project.",
"minimum": 0,
"type": "integer"
},
"genres": {
"items": {
"ref": "computer.localnetwork.directory.defs#facet",
"type": "ref"
},
"type": "array"
},
"total": {
"minimum": 0,
"type": "integer"
},
"unclaimed": {
"description": "Projects nobody manages yet, in any status.",
"minimum": 0,
"type": "integer"
}
},
"required": [
"total",
"active",
"unclaimed",
"cityCount",
"genres",
"cities"
],
"type": "object"
}
},
"type": "query"
}
},
"id": "computer.localnetwork.directory.getStats",
"lexicon": 1
}