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

Add device_progress to GET /rack/:id #1018

Open
dustinryerson opened this issue Aug 24, 2020 · 3 comments
Open

Add device_progress to GET /rack/:id #1018

dustinryerson opened this issue Aug 24, 2020 · 3 comments
Labels
maybe v3.next features, big changes for api v3.<next>

Comments

@dustinryerson
Copy link
Contributor

Previously, GET /workspace/:id/rack returned workspaces with racks which included a device_progress property.

Would it be possible to add device_progress to GET /rack/:id? This would help in fully removing the remaining /workspace endpoints.

@dustinryerson dustinryerson added the question need a question answered before proceeding label Aug 24, 2020
@karenetheridge
Copy link
Contributor

Where in the UI would you be using this? This will help to know what properties to provide in the result.

@karenetheridge
Copy link
Contributor

If this is a build-oriented view (converted from a workspace-oriented view?), there are some endpoints under /build that support ?with_device_health - https://joyent.github.io/conch/modules/Conch::Route::Build -- are you showing just one rack at a time, or all racks for a build?

@dustinryerson
Copy link
Contributor Author

This is being used in the existing Data Center Browser. The values it returns are used to populate parts of the data center room and rack panels.

@karenetheridge karenetheridge added maybe v3.next features, big changes for api v3.<next> and removed question need a question answered before proceeding labels Aug 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
maybe v3.next features, big changes for api v3.<next>
Projects
None yet
Development

No branches or pull requests

2 participants