1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-23 08:15:27 +00:00

api/release/push documentation

Mark McDowall 2016-01-07 15:06:15 -08:00
parent e3127da2cf
commit 92b80898b5
2 changed files with 47 additions and 0 deletions

@ -36,6 +36,7 @@ All requests made to the api endpoint require API Key authentication using the X
- [[Queue]] - [[Queue]]
- [[Profile]] - [[Profile]]
- [[Release]] - [[Release]]
- [[Release/Push|Release-Push]]
- [[Rootfolder]] - [[Rootfolder]]
- [[Series]] - [[Series]]
- [[Series-Lookup]] - [[Series-Lookup]]

46
API/Release-Push.md Normal file

@ -0,0 +1,46 @@
## POST ##
##### Parameters #####
Required:
`title (string)`
`downloadUrl (string)`
`downloadProtocol (Usenet or Torrent)`
`publishDate (ISO8601 Date)`
##### Response #####
```JSON
[
{
"guid": "a5a4a6a7-f7c9-4ff0-b3c4-b8dea9ed965b",
"quality": {
"quality": {
"id": 4,
"name": "HDTV-720p"
},
"proper": false
},
"age": 0,
"size": 0,
"indexer": "Wombles",
"releaseGroup": "YesTV",
"title": "The.Devils.Ride.S03E01.720p.HDTV.x264-YesTV",
"fullSeason": false,
"sceneSource": false,
"seasonNumber": 3,
"language": "english",
"seriesTitle": "devilsride",
"episodeNumbers": [
1
],
"approved": false,
"tvRageId": 0,
"rejections": [
"Unknown Series"
],
"publishDate": "2014-02-10T00:00:00Z",
"downloadUrl": "http://www.newshost.co.za/nzb/5a6/The.Devils.Ride.S03E01.720p.HDTV.x264-YesTV.nzb",
"downloadAllowed": true
}
]
```