community.gifthood.feed.getListings

gifthood.community

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

Validate Record

Validate a record against community.gifthood.feed.getListings

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:7prvtl4j6wsfmkrfrnwknuxj
CID
bafyreihztbppvqlai4hipsygf24jwu47yqwsb2bv3symp5h6dee4snd22u
Indexed At
2026-07-20 06:01 UTC
AT-URI
at://did:plc:7prvtl4j6wsfmkrfrnwknuxj/com.atproto.lexicon.schema/community.gifthood.feed.getListings

Referenced Schemas (2)

Lexicon Garden

@