Foreman search api only gives 500 hosts

While doing a search using foreman api, the result contains only the first
500 hosts which match the criteria.
How do I get a list of all hosts when the number is greater than 500 ?

Thanks,
Deepthi

> While doing a search using foreman api, the result contains only the first
> 500 hosts which match the criteria.
> How do I get a list of all hosts when the number is greater than 500 ?
>

see the per_page option at [1]

Ohad

[1] API documentation

··· On Tue, Aug 23, 2016 at 8:52 AM, Deepthi Reddy wrote:

Thanks,
Deepthi


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.