Hi ,
I am using search API to get no. of posts for a keyword, while in discourse UI I am getting more results , in postman while testing the same API it is giving only 5 posts.
My search query
https://discourse.example.com/search/query.json?term=keyword&include_blurb=true
I don’t know the history of the /search/query.json endpoint, but if you use
/search/query.json
https://meta.discourse.org/search.json?q=patreon
it is the same us the UI and will return 50 posts. Looks like that endpoint should be added to the api docs.