Skip to main content

The catalog returns everything

GET /catalog/products returns the complete catalog in one response — there is no pagination. Cache it and refresh periodically. Filter it down with query parameters instead:
  • subtype=test|panel
  • search=<substring> — matches name or code

List endpoints

Paginated list endpoints use page-based pagination: a 1-based page and a perPage size (default 20, max 100) in the query, with the response echoing both and returning the total count across all pages. List patients works this way:
Compute the number of pages as ceil(count / perPage); you are on the last page when page * perPage >= count.
🚧 Working in progress — this convention is live on GET /patients; future list endpoints will follow it.