influxdata / influxdata/influxdb
get bucket endpoint with a limit over 100 results returns an error
- Dominant language
- Rust
- Stars
- 31.7k
- Forks
- 3.7k
- Avg merge
- 13h 37m
- Merged PRs (30d)
- 8
Description
Executing a request to get all of the existing buckets with a `limit` parameter over 100 returns an error.
The error says that `limit` should be between `1` and `100`, but swagger doc does not mention this limitation.
Unless there is a requirement to limit the number of results to 100 (not sure why would we want that), we should remove the limitation,
Contributor guide
Research direction
Start by reproducing the get-buckets request with a limit over 100 and inspect the endpoint's validation alongside its Swagger documentation. Determine whether the 100-result cap is required; done means either larger limits work or the restriction and its documented rationale are consistent.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- api, databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100