API maximal number of item in a response


I want to list all the http services which are configured in my traefik instance.
For that, I use the URL /api/http/services
It is working well, but it seems that there is a limitation in the number of item return, despites the documentation which say "Lists all the HTTP services information."
It looks like the limitation is about 100 items returned.

Thanks in advance for your help

Try something like this:

curl -s "localhost:8080/api/http/services?per_page=9999" | jq .[].name | wc -l

I found the per_page by looking at the api requests from the dashbaord.

1 Like

It is working, thank you for your help !!!
Good idea to look at the api request from the dashboard :smiley:

Thank you again !