Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sonarr list endpoints #835

Closed
wants to merge 12 commits into from
Closed

Sonarr list endpoints #835

wants to merge 12 commits into from

Conversation

austinwbest
Copy link
Member

@austinwbest austinwbest commented Oct 7, 2024

This will add the endpoints to the client for import lists. The starr library looks like it already has everything

TODO

  • Build it local and test
  • Verify API docs updated

@austinwbest austinwbest marked this pull request as ready for review October 7, 2024 21:59
@austinwbest austinwbest closed this Oct 7, 2024
@austinwbest austinwbest deleted the sonarr-lists branch October 7, 2024 23:59
@davidnewhall davidnewhall restored the sonarr-lists branch October 8, 2024 00:14
@davidnewhall davidnewhall reopened this Oct 8, 2024
Copy link
Contributor

@davidnewhall davidnewhall left a comment

Choose a reason for hiding this comment

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

code looks good, just a few nitpicks on comments, then merge it.

return apiError(http.StatusBadRequest, "decoding payload", err)
}

ilist.ID, _ = strconv.ParseInt(mux.Vars(req)["ilid"], mnd.Base10, mnd.Bits64)
Copy link
Contributor

Choose a reason for hiding this comment

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

You could read the ID from the payload instead of require it in the param. Lemme know if you want to change that.

Copy link
Member Author

Choose a reason for hiding this comment

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

This was copied from one of the other existing apps so it would need to be changed on more than just this one

Copy link
Member Author

@austinwbest austinwbest Oct 28, 2024

Choose a reason for hiding this comment

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

I resolved the other 2, this one i'll let you take care of :)

@austinwbest
Copy link
Member Author

sigh i rebased on all the new stuff and now it is all attached to this one

@austinwbest austinwbest deleted the sonarr-lists branch October 28, 2024 22:54
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.

2 participants