cancel
Showing results for 
Search instead for 
Did you mean: 

list of the client en API /query/client

julio_saldivar
New Contributor
Hello, I am working with the SZ100 API, and I need to get the complete list of connected clients I am using the following call:

https://ip_sz100:7443/api/public /v5_0/query/client

and this answers me and says that there are 120 clients, but only with the information of the first 10 clients. How can I do so that I respond with the information of all the clients?

Regards

3 REPLIES 3

diego_garcia_de
Contributor III
All of the apis that can return a long list of options are paginated. Meaning they respond with only the first N answers and you need to keep calling them with a "page" attribute to get the next N. I don't recall the parameter name but search the api guide for pagination. Or open your browser and use F12 (developer console) to see the api calls that the GUI makes. Go to the client page and then click on the "next" arrow to get more results

julio_saldivar
New Contributor
Thank you very much, you should add the following in the in data:

"limit": 200

Regards


diego_garcia_de
Contributor III
Well. That will work but only up to 200 clients. And eventually won't work cause the limit parameter is not "infinite". Don't remember the max value. But eventually you will need to support pagination