1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2025-01-03 05:35:29 +00:00

Added path to downloaded episodes scan command, added episode file endpoint info

Mark McDowall 2014-04-04 07:16:15 -07:00
parent f450e41e2f
commit a7a8564e18
2 changed files with 86 additions and 2 deletions

@ -82,8 +82,10 @@ Required:
---
### DownloadedEpisodesScanCommand ###
Instruct NzbDrone to scan the DroneFactoryFolder
Instruct NzbDrone to scan the DroneFactoryFolder or a folder defined by the path variable
##### Parameters ######
`none`
Optional:
`path (string)`

82
API/EpisodeFile.md Normal file

@ -0,0 +1,82 @@
## GET ##
##### Summary #####
Returns all episode files for the given series
##### Parameters ######
Required:
`seriesId (int)`
##### Returns JsonArray ######
````JSON
[
{
"seriesId": 1,
"seasonNumber": 1,
"path": "C:\\Test\Breaking Bad\\Season 01\\Breaking Bad - S01E01 - Pilot [Bluray 720p].mkv",
"size": 2183157756,
"dateAdded": "2013-05-29T10:42:05.1335301Z",
"sceneName": "",
"quality": {
"quality": {
"id": 1,
"name": "Bluray 720p"
},
"proper": false
},
"id": 1
}
]
````
## GET/{id} ##
##### Summary #####
Returns the episode file with the matching id
##### Parameters ######
Required:
`id (int)`
##### Returns ######
````JSON
{
"seriesId": 1,
"seasonNumber": 1,
"path": "C:\\Test\Breaking Bad\\Season 01\\Breaking Bad - S01E01 - Pilot [Bluray 720p].mkv",
"size": 2183157756,
"dateAdded": "2013-05-29T10:42:05.1335301Z",
"sceneName": "",
"quality": {
"quality": {
"id": 1,
"name": "Bluray 720p"
},
"proper": false
},
"id": 1
}
````
## DELETE ##
##### Summary #####
Delete the given episode file
##### Parameters ######
Required:
`id (int)`
##### Returns ######
````JSON
{}
````