forked from Sonarr/Sonarr
-
Notifications
You must be signed in to change notification settings - Fork 0
Episode
mrbirdman edited this page Feb 9, 2014
·
2 revisions
Returns all episodes for the given series
seriesId (int)
[
{
"seriesId": 1,
"episodeFileId": 0,
"seasonNumber": 1,
"episodeNumber": 1,
"title": "Mole Hunt",
"airDate": "2009-09-17",
"airDateUtc": "2009-09-18T02:00:00Z",
"overview": "Archer is in trouble with his Mother and the Comptroller because his expense account is way out of proportion to his actual expenses. So he creates the idea that a Mole has breached ISIS and he needs to get into the mainframe to hunt him down (so he can cover his tracks!). All this leads to a surprising ending.",
"hasFile": false,
"monitored": true,
"sceneEpisodeNumber": 0,
"sceneSeasonNumber": 0,
"tvDbEpisodeId": 0,
"absoluteEpisodeNumber": 1,
"downloading": false,
"id": 1
}
]
Returns the episode with the matching id
id (int)
{
"seriesId": 1,
"episodeFileId": 0,
"seasonNumber": 1,
"episodeNumber": 1,
"title": "Mole Hunt",
"airDate": "2009-09-17",
"airDateUtc": "2009-09-18T02:00:00Z",
"overview": "Archer is in trouble with his Mother and the Comptroller because his expense account is way out of proportion to his actual expenses. So he creates the idea that a Mole has breached ISIS and he needs to get into the mainframe to hunt him down (so he can cover his tracks!). All this leads to a surprising ending.",
"hasFile": false,
"monitored": true,
"sceneEpisodeNumber": 0,
"sceneSeasonNumber": 0,
"tvDbEpisodeId": 0,
"absoluteEpisodeNumber": 1,
"downloading": false,
"id": 1
}
Update the given episodes, currently only monitored is changed, all other modifications are ignored.
Required: All parameters (you should perform a GET/{id} and submit the full body with the changes, as other values may be editable in the future.
{
"seriesId": 1,
"episodeFileId": 0,
"seasonNumber": 1,
"episodeNumber": 1,
"title": "Mole Hunt",
"airDate": "2009-09-17",
"airDateUtc": "2009-09-18T02:00:00Z",
"overview": "Archer is in trouble with his Mother and the Comptroller because his expense account is way out of proportion to his actual expenses. So he creates the idea that a Mole has breached ISIS and he needs to get into the mainframe to hunt him down (so he can cover his tracks!). All this leads to a surprising ending.",
"hasFile": false,
"monitored": false,
"sceneEpisodeNumber": 0,
"sceneSeasonNumber": 0,
"tvDbEpisodeId": 0,
"absoluteEpisodeNumber": 1,
"downloading": false,
"id": 1
}