On Tue, Aug 23, 2016 at 8:52 AM, Deepthi Reddy <[email protected]>
wrote:

> 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] https://theforeman.org/api/1.12/apidoc/v2/hosts/index.html



>
> 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 [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/foreman-users.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to