Api for dashboard

Hi, Can we have an API to get the dashboard data like "Host Configuration
Status"? The reason for that is we have our own dashboard system and we
need an API to collect all the node status, so far, what we did is to first
collect all the hosts info and then call host status API to get status for
each host, that saying if we have 500 hosts, we will call 501 foreman API
for this.

Or is there any way to query directly from database?

Thanks
Sinux

>
> Hi, Can we have an API to get the dashboard data like "Host Configuration
Status"? The reason for that is we have our own dashboard system and we
need an API to collect all the node status, so far, what we did is to first
collect all the hosts info and then call host status API to get status for
each host, that saying if we have 500 hosts, we will call 501 foreman API
for this.
>
> Or is there any way to query directly from database?

How about our dashboard api [1]?

Ohad

[1] http://theforeman.org/api/apidoc/v2/dashboard/index.html

>
> Thanks
> Sinux
>
> –
> 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.

··· On Jul 16, 2015 07:09, "sinux shen" wrote: > To post to this group, send email to foreman-users@googlegroups.com. > Visit this group at http://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout.

ha, sorry, it's really my bad, I missed that part, this is exactly what we
need. Thanks you!

··· On Thursday, July 16, 2015 at 1:09:00 PM UTC+8, ohad wrote: > > > On Jul 16, 2015 07:09, "sinux shen" <sinux...@gmail.com > > wrote: > > > > Hi, Can we have an API to get the dashboard data like "Host > Configuration Status"? The reason for that is we have our own dashboard > system and we need an API to collect all the node status, so far, what we > did is to first collect all the hosts info and then call host status API to > get status for each host, that saying if we have 500 hosts, we will call > 501 foreman API for this. > > > > Or is there any way to query directly from database? > > How about our dashboard api [1]? > > Ohad > > [1] http://theforeman.org/api/apidoc/v2/dashboard/index.html > > > > > Thanks > > Sinux > > > > -- > > 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-user...@googlegroups.com . > > To post to this group, send email to forema...@googlegroups.com > . > > Visit this group at http://groups.google.com/group/foreman-users. > > For more options, visit https://groups.google.com/d/optout. >