I was browsing routes.rb, but still cannot get my two use cases two work, which is getting two following numbers in one call:
- Pull number of users registered
/admin/users.jsonhas limit=100 which I cannot override in query;
/users/search/users.jsonreturns just 20
- Pull number of topics in category
/category/<category>.jsonreturns just 30
Hints how to get it will be appreciated!