WoW. Team Sonarr! Thanks for your speedy answer markus101, I appreciate it.
I believe I remember something about an API, but not where I found it. I go on a search and see if I can find the referenced /api/command endpoint — maybe I can make sense of it and arrive at my goal.
Speaking of goals … Have you seen my post about delaying download of episodes until they’ve aired (plus X hours) over in the feature request area?
I did figure out from reading that a POST would be required to initiate the scan.
Here’s the rub. I’m unable to determine the syntax of the URL to get the Rss Sync to work. I mean, really? The information in the wiki borders on obtuse at best and, apparently, it assumes the reader knows command syntax like some little pictograms from Egypt … every picture meaning only one thing and you just magically know where to use each one. (Please don’t get on my case, Egyptians, nothing meant here.) Thi s is a case where one picture says a thousand words is not a good thing.
Anyway, can ya just give the the URL to actually cause the Rss Sync to occur. I’ve already lost the game and just need the winning ticket to the goal line. Thanks.
You already had the URL (you were just trying to send the JSON body jammed into the URL).
http://192.168.1.205:8003/api/command is the URL, you can include the API key there, making it http://192.168.1.205:8003/api/command?apikey=obfuscated or in a header (X-API-Key).
You’re still going to need to send a JSON body with the command name, how you do that will depend on how you’re sending the request (you can’t just add it to the URL).
You can inspect the requests the Sonarr UI makes to the server in Chrome’s dev tools to see exactly how it’s making requests.
You can look at the request Sonarr’s UI makes to the server when you click the refresh button in the UI. Chrome’s dev tools are great for that.
There are lots of tools you can use, curl, PostMan, httpie to name a few, you can also do it in any programming/scripting language (C#, python, PowerShell and more). How you do it will vary tool to tool or language to language. You’ll need to research how to make a POST request with a JSON body/payload (similar to the example I posted above).
Well, I have played with CURL and had a very good time with it. Took me a while, but I achieved my goal, at the time. Of course it had nothing to do with Sonarr, but good experience.
I’ll go the CURL direction for now and see what I come up with … thanks for pointing me in that direction.