diff --git a/API/API.md b/API/API.md index d8e57f0..1abcbe1 100644 --- a/API/API.md +++ b/API/API.md @@ -36,6 +36,7 @@ All requests made to the api endpoint require API Key authentication using the X - [[Queue]] - [[Profile]] - [[Release]] +- [[Release/Push|Release-Push]] - [[Rootfolder]] - [[Series]] - [[Series-Lookup]] diff --git a/API/Release-Push.md b/API/Release-Push.md new file mode 100644 index 0000000..e06e40b --- /dev/null +++ b/API/Release-Push.md @@ -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 + } +] +```