community.gifthood.feed.getListings
Fetch listings near a geohash cell, optionally filtered by intent. Returns a page of listingView objects ordered newest-first.
Details · query
| Kind | query |
|---|---|
| Authority | feed.gifthood.community |
| Indexed |
Checks
Validunlimited-stringdefs.main.parameters.properties.geohashNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.parameters.properties.intentNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.parameters.properties.modeNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.cursorNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Fetch listings near a geohash cell, optionally filtered by intent. Returns a page of listingView objects ordered newest-first.",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"area": {
"description": "The resolved label for the queried (effective) cell — for the feed header. Optional/additive.",
"ref": "community.gifthood.geo.defs#area",
"type": "ref"
},
"cursor": {
"description": "Opaque keyset cursor for fetching the next page. Absent when no further results exist.",
"type": "string"
},
"listings": {
"items": {
"ref": "community.gifthood.feed.defs#listingView",
"type": "ref"
},
"type": "array"
}
},
"required": [
"listings"
],
"type": "object"
}
},
"parameters": {
"properties": {
"geohash": {
"description": "The caller's geohash cell. The server truncates this to `precision` characters before querying.",
"type": "string"
},
"intent": {
"description": "When supplied, returns only listings of this intent type.",
"enum": [
"offer",
"request"
],
"type": "string"
},
"limit": {
"default": 50,
"description": "Maximum number of listings to return. Defaults to 50; hard cap 100.",
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"mode": {
"description": "When supplied, returns only listings of this mode (\"lend\" = the Borrow feed segment). Omitted returns both.",
"enum": [
"gift",
"lend"
],
"type": "string"
},
"precision": {
"description": "Display and query precision (number of geohash characters). Lower values widen the search area.",
"maximum": 12,
"minimum": 1,
"type": "integer"
}
},
"required": [
"geohash"
],
"type": "params"
},
"type": "query"
}
},
"id": "community.gifthood.feed.getListings",
"lexicon": 1
}