Title
#fleet
e

Edward

05/09/2021, 8:56 PM
what's the max value for
per_page
field in fleet rest api? for example in a call like this:
GET /api/v1/fleet/hosts?page=0&per_page=100&order_key=host_name
Noah Talerman

Noah Talerman

05/10/2021, 2:53 PM
I believe there is no max value for the
per_page
field.
e

Edward

05/10/2021, 4:39 PM
so I can set it to something like
1000000
?
Noah Talerman

Noah Talerman

05/10/2021, 8:53 PM
Yes, but setting it very large may have undesirable performance spikes
e

Edward

05/11/2021, 6:15 PM
what if I send a get request to this api path: /api/v1/fleet/hosts, but with no query params? Does it just default to return everything in one page?