01 Search

Not in the official docs. Add browse.search and the catalog gets a Search action on its top row:

  "browse": {
    "url": "https://api.example.com/books?page={page}&per_page={limit}",
    ...
    "search": {
      "url": "https://api.example.com/search?q={query}&page={page}&per_page={limit}"
      // and/or "body": "{\"query\":\"{query_raw}\",\"page\":{page}}"
    }
  }

- Either url or body (or both) can be set. Whichever you leave out is taken from browse.
- {query} is URL-encoded. {query_raw} is the typed text (not JSON-escaped!).
- Search covers the whole catalog, not the open list. Back leaves the results.
- Paging works as described in 4.6, based on the search URL/body.
- JSON catalogs only.
Reader file (.txt)