influxdata / influxdata/influxdb

Type `PostCheck` properly

Open
#16,704 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.