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

When defining import lists for another Sonarr instance, use the instance API endpoints to get target resources #12

Open
Callum027 opened this issue Apr 16, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@Callum027
Copy link
Member

Callum027 commented Apr 16, 2023

For Sonarr import lists, the following API endpoints allow the Sonarr instance to get the following resource values for the target instance on Buildarr's behalf:

  • Quality Profiles: POST http://localhost:8989/api/v3/importList/action/getProfiles
  • Language Profiles: POST http://localhost:8989/api/v3/importList/action/getLanguageProfiles
  • Tags: POST http://localhost:8989/api/v3/importList/action/getTags

The request body should contain the import list API object.

This will not only confirm that the Sonarr instance can communicate with the target instance, it will eliminate the need for Buildarr to communicate with the target instance, and the need for defining extra parameters to make that work.

@Callum027 Callum027 added the enhancement New feature or request label Apr 16, 2023
@Callum027 Callum027 added this to the v0.5.1 milestone Apr 16, 2023
@Callum027 Callum027 self-assigned this Apr 16, 2023
@Callum027 Callum027 changed the title When defining Sonarr import lists, use the Sonarr instance API endpoints toget target resources When defining Sonarr import lists, use the instance API endpoints to get target resources Apr 16, 2023
@Callum027 Callum027 changed the title When defining Sonarr import lists, use the instance API endpoints to get target resources When defining import lists for another Sonarr instance, use the source instance API endpoints to get target resources Apr 16, 2023
@Callum027 Callum027 changed the title When defining import lists for another Sonarr instance, use the source instance API endpoints to get target resources When defining import lists for another Sonarr instance, use the instance API endpoints to get target resources Apr 16, 2023
@Callum027 Callum027 modified the milestones: v0.5.1, v0.6.0 Sep 8, 2023
@Callum027 Callum027 modified the milestones: v0.6.0, v0.7.0 Nov 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant