--- key: api.search-paging-cap title: 2026-07-11 — Trash "See all" reuses library-browse paging; search stays capped per kind (#213) status: active since: '2026-07-11' supersedes: none superseded-by: none rule: Search stays capped at 100 items per media kind; an overflowing kind's "See all" reuses library-browse paging instead of adding new API surface. signals: '`GetLibraryBrowseItems`, `state:FileNotFound` query · paths: `GET /api/v1/search`, `GET /api/v1/library/browse` · issues: #213' mechanics: '`GET /api/v1/library/browse`' --- `GET /api/v1/search` still returns at most 100 items per media kind, which is the cheap first page for the common case. For an overflowing kind, the SPA's "See all N …" action pages `GET /api/v1/library/browse` with `query=state:FileNotFound`, `mediaType`, `pageNum`, and `pageSize=100`, then appends the results client-side. This reuses the same `GetLibraryBrowseItems` query behind search, adds no API surface, and only pays for follow-up requests when a kind exceeds the first-page cap.