mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-03-02 22:57:43 -05:00
Add missing paging parameters in declared OpenAPI endpoints #4695
Labels
No labels
1%
blocked-by: skyhook
bug
connection
discussion
docs
download-client
enhancement
external-bug
indexer
missing-description
mono-bug
naming
needs-to-be-tested
needs-triage
one-day-maybe
parsing
platform: linux
platform: macos
platform: windows
priority:high
priority:low
priority:medium
priority:medium
proposal
skyhook/services
suboptimal
support
task
ui-only
up-for-grabs
v3
v4
waiting-for-contributor
waiting-for-info
wip
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Sonarr#4695
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Ezwen on GitHub (Sep 5, 2023).
Is there an existing issue for this?
Is your feature request related to a problem? Please describe
The following Sonarr API endpoints provide paginated responses:
/blocklist/wanted/cutoff/wanted/missing/history/log/queueIn particular, the
pageparameter can be used to ask these endpoints a specific page.For example, this query is valid and works well
However, in the Sonarr OpenAPI definition file, the paging parameters that these endpoints accept are not declared nor documented.
A consequence it that tools that rely on this definition file, for instance the sonarr-py library, do not provide any way to query specific pages in these endpoints.
Describe the solution you'd like
I would expect the Sonarr OpenAPI definition file to define all parameters that all endpoints accept − and in particular the paging parameters mentioned above.
Describe alternatives you've considered
I don't see any for now
Anything else?
Issue opened on sonarr-py because their client code for the queue endpoint is not usable due to a lack of paging parameters: https://github.com/devopsarr/sonarr-py/issues/41