computer.localnetwork.directory.getStats

Directory totals, plus the genres and cities of active projects, most common first.

Repository @localnetwork.computer did:plc:d42l64gsczg6qh2vo243xv5l not from the namespace authority
Details · query
Kindquery
Authoritydirectory.localnetwork.computer
Commit rev3n2kad4meai2b
Indexed
cid bafyreiaohgr6rljeps4a5usfcgmxq7ocgcx5jbe7lazovnrxljseceh2aq

Checks

Valid Lint pass
JSONDownload
{
  "$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
}