Struggling with pagination within search/query.json

There are actually two search endpoints you can hit /search.json?q= and /search/query?term=

term just means search term and does not refer to period or duration.

For understanding the search API it would be best to follow How to reverse engineer the Discourse API and perform the searches you are intending to do via the API and see how the UI makes the same API requests.

1 Like