influxdata / influxdata/openapi
/dashboards/{dashboardID}/cells PUT - id is required in cells in message body
- Dominant language
- Shell
- Stars
- 18
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
When calling the endpoint `/dashboards/{dashboardID}/cells` with the PUT method and a request body with an array of cells, but when 1 or more of the cells has no `id` property, the server throws an HTTP `400` error with the message `cannot provide empty cell id`. This would imply that the property `id` is _required_, however in `src/common/schemas/Cell.yml` it is not declared as such.
__Testing agains K8S-IDPE remocal__
latest commit
```
commit f96c81a91d834081e1ee8b436eaf924346934f67 (HEAD -> master, origin/master, origin/HEAD)
Author: influx-acs[bot] <107396960+influx-acs[bot]@users.noreply.github.com>
Date: Thu Dec 8 07:17:45 2022 +0000
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the PUT `/dashboards/{dashboardID}/cells` behavior described in the issue and compare it with `src/common/schemas/Cell.yml`. Confirm how cells without an `id` are represented in the schema and how that relates to the reported HTTP 400 response. Done means the schema and endpoint behavior consistently describe whether `id` is required.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- openapi
- Domain
- api
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 50/100