5 Release
Qstick edited this page 5 years ago

Endpoint: "/release"

GET

Summary

Gets all releases for a given album

Parameters

Required:

albumId (int)

Returns JsonArray
[
  {
    "guid": "1_https://api.nzb4you.info/details/cc15e58530ef1910ea0a093e4023e272",
    "quality": {
      "quality": {
        "id": 6,
        "name": "FLAC"
      },
      "revision": {
        "version": 1,
        "real": 0
      }
    },
    "qualityWeight": -99,
    "age": 1509,
    "ageHours": 36220.690241927085,
    "ageMinutes": 2173241.4145156252,
    "size": 1023371000,
    "indexerId": 1,
    "indexer": "Nzb4you",
    "releaseGroup": "PERFECT",
    "releaseHash": "",
    "title": "Imagine Dragons-Night Visions Live-CD-FLAC-2014-PERFECT",
    "discography": false,
    "sceneSource": false,
    "artistName": "Imagine Dragons",
    "albumTitle": "Night Visions Live",
    "approved": false,
    "temporarilyRejected": false,
    "rejected": true,
    "rejections": [
      "Unable to parse albums from release name"
    ],
    "publishDate": "2014-02-25T23:13:58Z",
    "commentUrl": "https://nzb4you.info/seek.php?guid=cc15e58530ef1910ea0a093e4023e272",
    "downloadUrl": "https://api.nzb4you.info/api?t=get&id=cc15e58530ef1910ea0a093e4023e272&apikey=123456",
    "infoUrl": "https://nzbgeek.info/geekseek.php?guid=cc15e58530ef1910ea0a093e4023e272",
    "downloadAllowed": false,
    "releaseWeight": 0,
    "protocol": "usenet",
    "downloadProtocol": "unknown"
  }
]

POST

Summary

Adds a previously searched release to the download client setup in Lidarr

Parameters

Required:

guid (string) indexerId (int)

Returns JsonArray
{
    "guid": "1_https://api.nzb4you.info/details/6dec5aesdfsdfd98cf5a8ac76",
    "qualityWeight": 0,
    "age": 0,
    "ageHours": 0,
    "ageMinutes": 0,
    "size": 0,
    "indexerId": 1,
    "discography": false,
    "sceneSource": false,
    "approved": false,
    "temporarilyRejected": false,
    "rejected": false,
    "publishDate": "0001-01-01T00:00:00Z",
    "downloadAllowed": false,
    "releaseWeight": 0,
    "protocol": "unknown",
    "downloadProtocol": "unknown"
}