2 Wanted Cutoff
Qstick edited this page 2018-04-14 23:33:19 -04:00

Endpoint: "/wanted/cutoff"

GET

Summary

Returns albums that have files on disk that do not meet the profile cutoff

Parameters

Optional:

page (int) - 1-indexed Default: 1

pageSize (int) - Default: 10

sortKey (string) - releaseDate, albumTitle, artist.sortName - Default: releaseDate

sortDir (string) - asc or desc - Default: asc

includeArtist - true or false - Default: false

monitored - true or false - Default: true

Returns JsonArray
{
  "page": 1,
  "pageSize": 10,
  "sortDirection": "default",
  "totalRecords": 1,
  "records": [
    {
      "title": "Born to Run",
      "artistId": 517,
      "foreignAlbumId": "39b22944-7503-3937-8bba-09b17281cc6a",
      "monitored": true,
      "profileId": 4,
      "duration": 2368158,
      "albumType": "Album",
      "secondaryTypes": [],
      "mediumCount": 1,
      "ratings": {
        "votes": 11,
        "value": 9.1
      },
      "releaseDate": "1975-08-25T00:00:00Z",
      "currentRelease": {
        "id": "027094a4-e561-34d2-82a2-62221f4df2c7",
        "releaseDate": "2005-06-22T00:00:00Z",
        "trackCount": 8,
        "mediaCount": 1,
        "disambiguation": "",
        "country": [
          "Japan"
        ],
        "format": "CD",
        "label": [
          "Sony Records International"
        ]
      },
      "releases": [
        {
          "id": "5d4b91b9-b3ba-492d-8a54-10c6b0a8979d",
          "releaseDate": "2005-06-22T00:00:00Z",
          "trackCount": 8,
          "mediaCount": 1,
          "disambiguation": "Remastered, Vinyl Replica",
          "country": [
            "Japan"
          ],
          "label": [
            "Sony BMG Music Entertainment"
          ],
          "format": "CD"
        },
        {
          "id": "301a74a9-4abd-4b3b-8aaf-26e6648cc737",
          "releaseDate": "2015-04-18T00:00:00Z",
          "trackCount": 8,
          "mediaCount": 1,
          "disambiguation": "",
          "country": [
            "United States"
          ],
          "label": [
            "Columbia"
          ],
          "format": "12\" Vinyl"
        },
        {
          "id": "6c532272-56ea-4a16-a43f-ad7e19cf1845",
          "releaseDate": "2005-11-15T00:00:00Z",
          "trackCount": 8,
          "mediaCount": 1,
          "disambiguation": "30th anniversary edition",
          "country": [
            "[Worldwide]"
          ],
          "label": [
            "Columbia"
          ],
          "format": "Digital Media"
        },
        {
          "id": "bf21a240-09b0-4560-8e98-96144cb60c25",
          "releaseDate": "2001-01-01T00:00:00Z",
          "trackCount": 8,
          "mediaCount": 1,
          "disambiguation": "",
          "country": [
            "United States"
          ],
          "label": [
            "Columbia",
            "CBS"
          ],
          "format": "CD"
        },
        {
          "id": "34af0e97-b43e-433d-aa07-c669bc5af74e",
          "releaseDate": "1977-01-01T00:00:00Z",
          "trackCount": 8,
          "mediaCount": 1,
          "disambiguation": "",
          "country": [
            "United States"
          ],
          "label": [
            "Columbia"
          ],
          "format": "12\" Vinyl"
        }
      ],
      "genres": [],
      "media": [
        {
          "mediumNumber": 1,
          "mediumName": "",
          "mediumFormat": "CD"
        }
      ],
      "images": [
        {
          "coverType": "disc",
          "url": "http://assets.fanart.tv/fanart/music/70248960-cb53-4ea4-943a-edb18f7d336f/cdart/born-to-run-50b8a21395525.png"
        },
        {
          "coverType": "cover",
          "url": "http://assets.fanart.tv/fanart/music/70248960-cb53-4ea4-943a-edb18f7d336f/albumcover/born-to-run-51be3d2e87b6a.jpg"
        }
      ],
      "statistics": {
        "trackFileCount": 1,
        "trackCount": 8,
        "totalTrackCount": 8,
        "sizeOnDisk": 6604928,
        "percentOfEpisodes": 12.500
      },
      "id": 6451
    }
  ]
}