7 Artist
Qstick edited this page 2019-08-03 13:14:09 -04:00

Endpoint: "/artist"

GET

Summary

Returns all artists in your collection

Parameters

None

Returns JsonArray

GET/{id}

Summary

Returns the artist with the matching ID or 404 if no matching artist is found

Parameters

id (int)

Returns JsonObject
{
    "status": "continuing",
    "ended": false,
    "lastInfoSync": "2019-04-10T02:17:02.811702Z",
    "artistName": "Red Hot Chili Peppers",
    "foreignArtistId": "8bfac288-ccc5-448d-9573-c33ea2aa5c30",
    "tadbId": 0,
    "discogsId": 0,
    "overview": "Red Hot Chili Peppers are an American rock band formed in Los Angeles in 1983. The group's musical style primarily consists of rock with an emphasis on funk, as well as elements from other genres such as punk rock and psychedelic rock. When played live, their music incorporates elements of jam band due to the improvised nature of many of their performances. Currently, the band consists of founding members vocalist Anthony Kiedis and bassist Flea (Michael Peter Balzary), longtime drummer Chad Smith, and former touring guitarist Josh Klinghoffer. Red Hot Chili Peppers are one of the best-selling bands of all time with over 80 million records sold worldwide, they have been nominated for 16 Grammy Awards, of which they have won six, and are the most successful band in alternative rock radio history, currently holding the records for most number-one singles (13), most cumulative weeks at number one (85) and most top-ten songs (25) on the Billboard Alternative Songs chart. In 2012, they were inducted into the Rock and Roll Hall of Fame.\nThe band's original lineup, originally named Tony Flow and the Miraculously Majestic Masters of Mayhem, featured guitarist Hillel Slovak and drummer Jack Irons, alongside Kiedis and Flea. Because of commitments to other bands, Slovak and Irons did not play on the band's self-titled debut album (1984). Slovak performed on the second and third albums, Freaky Styley (1985) and The Uplift Mofo Party Plan (1987), but he died from a heroin overdose in 1988. As a result of his friend's death, Irons chose to leave the group. After short-lived replacements on guitar and drums, John Frusciante and Chad Smith joined in 1988. The lineup of Flea, Kiedis, Frusciante, and Smith was the longest-lasting and recorded five studio albums beginning with Mother's Milk (1989). In 1990, the group signed with Warner Bros. Records and recorded the album Blood Sugar Sex Magik (1991) under producer Rick Rubin. This album became the band's first major commercial success, but Frusciante grew uncomfortable with the band's popularity and left abruptly in 1992 in the middle of the Blood Sugar Sex Magik Tour.\nAfter two temporary guitarists, Dave Navarro joined the group in 1993 and played on their subsequent album, One Hot Minute (1995). Although commercially successful, the album failed to match the critical or popular acclaim of Blood Sugar Sex Magik, selling less than half as much as its predecessor. Navarro was fired from the band in 1998. Frusciante, fresh out of drug rehabilitation, rejoined the band that same year at Flea's request. The reunited quartet returned to the studio to record Californication (1999), which became the band's biggest commercial success with 16 million copies sold worldwide. That album was followed three years later by By the Way (2002), and then four years later by the double album Stadium Arcadium (2006), their first number-one album in America. After a world tour, the group went on an extended hiatus. Frusciante announced he was amicably leaving the band in 2009 to focus on his solo career. Klinghoffer, who had worked both as a sideman for the band on their Stadium Arcadium tour and on Frusciante's solo projects, replaced him. The band's tenth studio album, I'm with You, was released in 2011 and topped the charts in 18 different countries. The band released their eleventh studio album, The Getaway, in 2016. The album was produced by Danger Mouse, marking the first time since Mother's Milk that the Red Hot Chili Peppers had not worked with Rubin, and topped the charts in ten different countries. As of November 2018, the band is in the process of working on their twelfth studio album which they expect to release in 2019.",
    "artistType": "Group",
    "disambiguation": "",
    "links": [
        {
            "url": "http://redhotchilipeppers.com/",
            "name": "redhotchilipeppers"
        },
        {
            "url": "http://musicmoz.org/Bands_and_Artists/R/Red_Hot_Chili_Peppers/",
            "name": "musicmoz"
        },
        {
            "url": "https://www.discogs.com/artist/92476",
            "name": "discogs"
        }
    ],
    "lastAlbum": {
        "artistMetadataId": 3,
        "foreignAlbumId": "831f10e3-32e5-4d22-b001-2f3ab1254be0",
        "title": "The Getaway",
        "overview": "The Getaway is the eleventh studio album by American rock band Red Hot Chili Peppers, released through Warner Bros. on June 17, 2016. This is the band's first studio album since 2011's I'm with You. It was produced by Danger Mouse, who replaced Rick Rubin after twenty-five years and six albums as the band's producer.\nThe Getaway made its debut at number one in ten different countries while reaching number two in the band's home country of the United States along with the United Kingdom and Canada. Since its release, the album has received mostly favorable reviews.\nThe album was preceded by the first single \"Dark Necessities\" on May 5, 2016. The album's title track received radio airplay in the UK despite never being released as an official single. \"Go Robot\" was released as the album's second single on September 8, 2016, peaking at number 12 on the Alternative Songs Chart, while \"Sick Love\" was released as the third single on December 4, 2016 however it failed to chart. \"Goodbye Angels\" was released as the album's fourth single on April 4, 2017.",
        "disambiguation": "",
        "releaseDate": "2016-06-17T00:00:00Z",
        "images": [],
        "links": [
            {
                "url": "https://en.wikipedia.org/wiki/The_Getaway_(Red_Hot_Chili_Peppers_album)",
                "name": "wikipedia"
            },
            {
                "url": "https://www.discogs.com/master/1015499",
                "name": "discogs"
            },
            {
                "url": "https://www.wikidata.org/wiki/Q24021025",
                "name": "wikidata"
            },
            {
                "url": "http://www.allmusic.com/album/mw0002943908",
                "name": "allmusic"
            }
        ],
        "genres": [],
        "albumType": "Album",
        "secondaryTypes": [],
        "ratings": {
            "votes": 2,
            "value": 7
        },
        "cleanTitle": "thegetaway",
        "profileId": 1,
        "monitored": true,
        "anyReleaseOk": true,
        "lastInfoSync": "2019-02-14T21:57:44.431256Z",
        "added": "2018-12-16T04:52:31.424319Z",
        "artistMetadata": {
            "isLoaded": false
        },
        "albumReleases": {
            "isLoaded": false
        },
        "artist": {
            "value": {
                "artistMetadataId": 3,
                "metadata": {
                    "isLoaded": false
                },
                "cleanName": "redhotchilipeppers",
                "sortName": "red hot chili peppers",
                "monitored": true,
                "albumFolder": true,
                "lastInfoSync": "2019-04-10T02:17:02.811702Z",
                "path": "/music/Red Hot Chili Peppers",
                "added": "2018-12-16T04:51:50.56632Z",
                "qualityProfileId": 1,
                "qualityProfile": {
                    "isLoaded": false
                },
                "metadataProfileId": 1,
                "metadataProfile": {
                    "isLoaded": false
                },
                "albums": {
                    "isLoaded": false
                },
                "tags": [],
                "name": "Red Hot Chili Peppers",
                "foreignArtistId": "8bfac288-ccc5-448d-9573-c33ea2aa5c30",
                "id": 3
            },
            "isLoaded": true
        },
        "artistId": 3,
        "id": 13
    },
    "images": [
        {
            "coverType": "fanart",
            "url": "/MediaCover/3/fanart.jpg?lastWrite=634684574360000000"
        },
        {
            "coverType": "logo",
            "url": "/MediaCover/3/logo.jpg?lastWrite=634820283330000000"
        },
        {
            "coverType": "banner",
            "url": "/MediaCover/3/banner.jpg?lastWrite=634961024480000000"
        },
        {
            "coverType": "poster",
            "url": "/MediaCover/3/poster.jpg?lastWrite=634750446100000000"
        }
    ],
    "path": "/music/Red Hot Chili Peppers",
    "qualityProfileId": 1,
    "metadataProfileId": 1,
    "albumFolder": true,
    "monitored": true,
    "rootFolderPath": "/music/",
    "genres": [],
    "cleanName": "redhotchilipeppers",
    "sortName": "red hot chili peppers",
    "tags": [],
    "added": "2018-12-16T04:51:50.56632Z",
    "ratings": {
        "votes": 15,
        "value": 8.9
    },
    "statistics": {
        "albumCount": 11,
        "trackFileCount": 19,
        "trackCount": 191,
        "totalTrackCount": 191,
        "sizeOnDisk": 148982016,
        "percentOfTracks": 9.94764397905759162303664921
    },
    "id": 3
}

DELETE/{id}

Summary

Delete the artist with the given ID

Parameters

Required: id (int)

Optional: deleteFiles (bool) - if true the artist folder and all files will be deleted when the artist is deleted

Returns JsonObject
{}