influxdata / influxdata/influxdb
Take advantage of new /dashboard/{dashboardID} endpoint that returns view properties as part of cell
- Dominant language
- Rust
- Stars
- 31.7k
- Forks
- 3.7k
- Avg merge
- 13h 37m
- Merged PRs (30d)
- 8
Description
As part of https://github.com/influxdata/influxdb/pull/16057
the API now returns all view properties on a dashboard if the correct query parameter is supplied during the call. Let's refactor dashboard get requests to reduce the number of API calls.
Also as per https://github.com/influxdata/influxdb/pull/16112 dashboard POST accepts view properties as well
Contributor guide
Research direction
Start by tracing dashboard GET requests that call the /dashboard/{dashboardID} endpoint and review PRs 16057 and 16112 for the response and POST behavior. Refactor the request flow to use returned view properties and confirm dashboard creation and retrieval preserve those properties while reducing API calls.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- api, backend
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100