social.grain.unspecced.getLocations

Get top locations by gallery count.

Repository @grain.social did:plc:e7rftrdyz5e2rw4y6ocszew2 not from the namespace authority
Details · query
Kindquery
Authorityunspecced.grain.social
Indexed

Query

query · GET

Parameters

query string

pins

boolean

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.

Output

application/json

#locationItem

object

Properties

galleryCount

requiredinteger

h3Cells

array

All H3 cells whose galleries map to this place. Ordered by gallery count desc.

itemsstring

h3Index

requiredstring

Canonical H3 cell for the place (densest cell in the group).

name

requiredstring

thumbs

array

Up to four representative photo thumbnails, most recent first. Lets the index render without a feed request per location.

  • maxLength: 4
itemsstring · uri

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.