social.grain.gallery.getLocations

Get top locations by gallery count.

Repository @grain.social did:plc:e7rftrdyz5e2rw4y6ocszew2 namespace authority
Details · query
Kindquery
Authoritygallery.grain.social
Commit rev3n2mx2ll6c3bg
Indexed
cid bafyreidjf74mt326qzvidajfjtzr3gkud3tcftyqc23jlmxngcl23gzfvm

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Get top locations by gallery count.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "locations": {
              "items": {
                "ref": "social.grain.gallery.defs#locationItem",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "pins": {
            "description": "Return every place carrying only what a map needs — name, h3Index, galleryCount — instead of the top 30 with thumbnails and cell lists. The full shape is ~1.1KB per place, so all of them would be ~780KB; lean it is ~70 bytes each.",
            "type": "boolean"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "social.grain.gallery.getLocations",
  "lexicon": 1
}