social.grain.admin.getInfo
The state of this server: repos by status, records by collection, open reports and the database's size. Requires an admin session.
Details · query
| Kind | query |
|---|---|
| Authority | admin.grain.social |
| Commit rev | 3n2mx2lcem6bg |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "The state of this server: repos by status, records by collection, open reports and the database's size. Requires an admin session.",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"collections": {
"items": {
"ref": "social.grain.admin.defs#collectionCount",
"type": "ref"
},
"type": "array"
},
"databaseBytes": {
"type": "integer"
},
"openReports": {
"type": "integer"
},
"repos": {
"items": {
"ref": "social.grain.admin.defs#statusCount",
"type": "ref"
},
"type": "array"
}
},
"required": [
"repos",
"collections",
"openReports"
],
"type": "object"
}
},
"type": "query"
}
},
"id": "social.grain.admin.getInfo",
"lexicon": 1
}