joyent / conch-api

Datacenter build and management service
Mozilla Public License 2.0
22 stars 11 forks source link

Create endpoints for build pages #922

Closed dustinryerson closed 5 years ago

dustinryerson commented 5 years ago

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)

karenetheridge commented 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:

dustinryerson commented 5 years ago

This all sounds good and gives me the information I need. Thanks!