API to change the monitor of season

Hello, I have opened that issue in GitHub #6124 , but it has been closed for the following reasons:
“This is already possible via the series endpoint.”
I checked the endpoint API (http://localhost:8989/api/v3/episode/monitor?includeImages=false) and I see that it has the option to provide episode IDs for changes the monitor status. This is good, but not enough, as I must get all episode IDs for a specific season before I can list them in the body, and after that, I need to run a manual search for the episodes.(?)
As a result, I would like to know if there is an easy way to accomplish this.
Thanks

But you’re using the episode endpoint while you want to check the status and/or unmonitor a season…?

Not entirely sure what your aim is, but this might help:
Easiest way to learn (for me) is to open the dev console in your browser and use the gui to see what api calls it makes to take the action you want.

hi,
My process flow is as follows:
Initially, I check if the series already exists in my library, if not, I add the series with the status of “existing” and click the specific seasons like this:

image

If the series exists, I will use the following API:
http://sonarr.localhost/api/v3/series/{ID}
I am checking the value of a specific season, for example:

"seasons": [
    {
        "seasonNumber": 1,
        "monitored": false,
        "statistics": {
            "previousAiring": "2021-07-15T01:00:00Z",
            "episodeFileCount": 6,
            "episodeCount": 6,
            "totalEpisodeCount": 6,
            "sizeOnDisk": 41879735619,
            "releaseGroups": [
                "EVO",
                "TOMMY"
            ],
            "percentOfEpisodes": 100.0
        }
    },

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.