influxdata / influxdata/influxdb
Type `PostCheck` properly
Open
area/api
kind/bug
monitoring-and-alerting
severity/sev-4
- Dominant language
- Rust
- Stars
- 31.7k
- Forks
- 3.7k
- Avg merge
- 13h 37m
- Merged PRs (30d)
- 8
Description
A `POST` to create a check currently expects a list of label ids. However, the type for `PostCheck` is a check with a list of `Label` objects.
The swagger needs to be updated with the appropriate post request definitions.
Contributor guide
Research direction
Start by locating the Swagger definition for PostCheck and the POST endpoint that creates a check. Compare its current list-of-label-IDs schema with the intended list of Label objects, then verify that the updated request definition is reflected consistently in the API specification.
Written by the indexing model from the issue text.
Assessment
- Domain
- api, documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100