Closed dustinryerson closed 5 years ago
For builds list page, I can add support for ?with_device_health
to GET /build
, which will include an aggregate count of device healths with the result like so:
{
"error" : 0,
"fail" : 1,
"unknown" : 2,
"pass" : 36,
}
This will let you present a multi-coloured pie graph showing how many devices are in various validation states.
For individual build page:
?with_device_health
to GET /build/:id
, as above.GET /build/:id/user
. If you fetch this endpoint in parallel with the other requests, it will be faster than adding it to the main GET /build/:id
endpoint.
I'm not sure what you mean by user count here?GET /build/:id/organization
.
I'm not sure what you mean by organization count here?GET /build/:id/device
already includes rack id and RU. I will add rack name to this. (all other rack info should be available by clicking on the rack, I would expect)
The endpoint also already includes hardware_product_id; I will add sku to this as it is more useful to the viewer. (again, I assume the hardware information will be clickable.)
phase and health are already included.This all sounds good and gives me the information I need. Thanks!
Pages
Build List Page (will be located at
/admin/builds
on the UI)Individual Build Page (will be located at
/build/:buildId
on the UI)