Pagination not working in API Endpoint
- Pagination is not working perfectly in Endpoint.
-
Hi shreyans , thanks for reaching out! Could you please provide more detail about your post, and possibly give examples via screenshot? Once we have more detail about the issue our team can better assist.
0 -
Hello Minetta Gould ,
I am also having the same issue.
We have featch a logs in the DNSFilter for mutiple api's. But, while we were fetching those logs using the api and when we pass the page parameters like number and size so it's not working correctly.
https://api.dnsfilter.com/v1/traffic_reports/query_logs?number=3&size=10&from=2025-04-03T00:00:00&to=2025-04-03T23:00:00
Like this way we have paas the parameters which is already mention in Swagger.
https://app.swaggerhub.com/apis-docs/DNSFilter/dns-filter_apiWe have tried below apis.
- /v1/traffic_reports/query_logs
- /v1/users/all
0 -
Hi nishant kadivar , thanks for reaching out! It looks like you're really close with what you have, but are missing a small piece of query string.
The “page” parameters are a nested object and should be defined like this:
page[number]=3&page[size]=10
These need to be properly escaped is used as a query string, resulting in this:
page%5Bnumber%5D=3&page%5Bsize%5D=10
Let us know if this helps!
0
Please sign in to leave a comment.
Comments
3 comments