Skip to content

Fix up v3/queue endpoints for sonarr and radarr#5

Merged
davidnewhall merged 3 commits intomasterfrom
dn2_queue_endpoints
Jun 5, 2021
Merged

Fix up v3/queue endpoints for sonarr and radarr#5
davidnewhall merged 3 commits intomasterfrom
dn2_queue_endpoints

Conversation

@davidnewhall
Copy link
Copy Markdown
Contributor

@davidnewhall davidnewhall commented Jun 2, 2021

The v3 Queue endpoints for Sonarr and Radarr were never finished. whoops. Fixing that now!

I'm also pulling out v2 support since Radarr and Sonarr v4 are doing the same.


// GetHistory returns the Radarr History (grabs/failures/completed).
func (r *Radarr) GetHistory() ([]*Record, error) {
func (r *Radarr) GetHistory(maxRecords, page int) ([]*Record, error) {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a breaking API change. Sorry, not sorry, you'll thank me later.

@davidnewhall davidnewhall merged commit 374e35d into master Jun 5, 2021
@davidnewhall davidnewhall deleted the dn2_queue_endpoints branch June 5, 2021 04:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant