org.passingreads.book.searchBooks

Search dropped books by free text against title, authors, and publicationId. Results are de-duplicated per (publicationId, currentLocation) — multiple copies of the same publication at the same location collapse to the most recently-active copy. Ordered by last_event_at desc.

Details · query
Kindquery
Authoritybook.passingreads.org
Indexed
cid bafyreicrvg7cldfggsvzt5mrfs2rbmnovt532kgxdz72wzcz2qabriqthy

Checks

Valid
  • unlimited-string defs.main.parameters.properties.qNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Search dropped books by free text against title, authors, and publicationId. Results are de-duplicated per (publicationId, currentLocation) — multiple copies of the same publication at the same location collapse to the most recently-active copy. Ordered by last_event_at desc.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "books": {
              "items": {
                "ref": "org.passingreads.book.defs#statefulBook",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "books"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "q": {
            "description": "Free-text query matched against title, authors, and publicationId.",
            "type": "string"
          }
        },
        "required": [
          "q"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "org.passingreads.book.searchBooks",
  "lexicon": 1
}