Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

new interface: skus used in the system, aggregated by build, rack etc #1000

Open
karenetheridge opened this issue Apr 17, 2020 · 0 comments
Open
Labels
api discussion needs spec Additional information is required, preferably as a formal specification v3.next features, big changes for api v3.<next>

Comments

@karenetheridge
Copy link
Contributor

It might be useful to be able to visualize in the GUI where all the various types of hardware are in the system -- i.e. the number of devices using each sku, aggregated by build, rack etc.

The UI should be sketched out first and then the api endpoint(s) can be written to match.

e.g. something like GET /build/hardware_product or GET .../rack/hardware_product which would return a similar data structure to GET /build or GET .../rack along with a new object for each top level entity:

{
  "sku": {
    "sku123": 1,
    "sku456": 20,
   ... more skus => counts
  }
}
@karenetheridge karenetheridge added discussion api needs spec Additional information is required, preferably as a formal specification v3.next features, big changes for api v3.<next> labels Apr 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api discussion needs spec Additional information is required, preferably as a formal specification v3.next features, big changes for api v3.<next>
Projects
None yet
Development

No branches or pull requests

1 participant