Searches dumps, users and playlists at once, for the client's Search page. Only the dumps are paged. Private dumps and playlists are found only by their owner.

  • GET /api/search?q=&page=&limit=&category=&playlistCategory= — optional sign-in. Answers a page of the matching dumps with their total, and up to 20 matching users and playlists. A blank q finds nothing. category keeps the dumps in that dump category, playlistCategory the playlists in that playlist category; a slug that names none finds nothing.

Variables

v
default: Router

Mounted by api/main.ts behind the error, Open Graph and CORS middleware. An APIException thrown by a handler becomes the JSON error response there.