graphbrainz/test/extensions/the-audio-db/fixtures/schema.js.nock

281 lines
88 KiB
Text
Raw Permalink Normal View History

[
[
"artists have a theAudioDB field",
[
{
"body": "",
"method": "GET",
"path": "/ws/2/artist/5b11f4ce-a62d-471e-81fc-a69a8278c7da?fmt=json",
"rawHeaders": [
"Date",
"Thu, 15 Apr 2021 09:08:47 GMT",
"Content-Type",
"application/json; charset=utf-8",
"Transfer-Encoding",
"chunked",
"Connection",
"close",
"Vary",
"Accept-Encoding",
"X-RateLimit-Limit",
"1200",
"X-RateLimit-Remaining",
"785",
"X-RateLimit-Reset",
"1618477728",
"Server",
"Plack::Handler::Starlet",
"ETag",
"W/\"1db99b13c4c495547cfb9189b680b3ad\"",
"Access-Control-Allow-Origin",
"*",
"X-Cache-Status",
"STALE"
],
"reqheaders": {
"accept": "application/json",
"accept-encoding": "gzip, deflate, br",
"host": "musicbrainz.org"
},
"response": "{\"name\":\"Nirvana\",\"sort-name\":\"Nirvana\",\"gender\":null,\"area\":{\"iso-3166-1-codes\":[\"US\"],\"disambiguation\":\"\",\"type\":null,\"sort-name\":\"United States\",\"type-id\":null,\"id\":\"489ce91b-6658-3307-9877-795b68554c98\",\"name\":\"United States\"},\"type\":\"Group\",\"ipis\":[],\"end_area\":null,\"begin-area\":{\"disambiguation\":\"\",\"type-id\":null,\"id\":\"a640b45c-c173-49b1-8030-973603e895b5\",\"sort-name\":\"Aberdeen\",\"name\":\"Aberdeen\",\"type\":null},\"end-area\":null,\"id\":\"5b11f4ce-a62d-471e-81fc-a69a8278c7da\",\"type-id\":\"e431f5f6-b5d2-343d-8b36-72607fffb74b\",\"life-span\":{\"ended\":true,\"begin\":\"1988-01\",\"end\":\"1994-04-05\"},\"isnis\":[\"0000000123486830\",\"0000000123487390\"],\"gender-id\":null,\"disambiguation\":\"90s US grunge band\",\"country\":\"US\",\"begin_area\":{\"disambiguation\":\"\",\"type-id\":null,\"id\":\"a640b45c-c173-49b1-8030-973603e895b5\",\"sort-name\":\"Aberdeen\",\"name\":\"Aberdeen\",\"type\":null}}",
"responseIsBinary": false,
"scope": "http://musicbrainz.org:80",
"status": 200
},
{
"body": "",
"method": "GET",
"path": "/api/v1/json/*/artist-mb.php?i=5b11f4ce-a62d-471e-81fc-a69a8278c7da",
"rawHeaders": [
"Date",
"Thu, 15 Apr 2021 09:08:48 GMT",
"Content-Type",
"application/json",
"Transfer-Encoding",
"chunked",
"Connection",
"close",
"Set-Cookie",
"__cfduid=d09895263bf7701fc14c97ef03cf0b4001618477727; expires=Sat, 15-May-21 09:08:47 GMT; path=/; domain=.theaudiodb.com; HttpOnly; SameSite=Lax; Secure",
"X-Powered-By",
"PHP/7.4.1",
"Access-Control-Allow-Origin",
"*",
"CF-Cache-Status",
"DYNAMIC",
"cf-request-id",
"09766357820000026c12317000000001",
"Expect-CT",
"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"",
"Report-To",
"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report?s=nzM6ZY2FCdRf5xNpMDEc8HQ8muA4J%2B7whg%2FTycnVog5RbbpjX65uOy578e%2BPZf1AIPEL7P44T0eN0OeO8rUnDvXz5RClSCA5aXmmQLNtgvuVNuU%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}",
"NEL",
"{\"max_age\":604800,\"report_to\":\"cf-nel\"}",
"Server",
"cloudflare",
"CF-RAY",
"640408059962026c-SJC",
"alt-svc",
"h3-27=\":443\"; ma=86400, h3-28=\":443\"; ma=86400, h3-29=\":443\"; ma=86400"
],
"reqheaders": {
"accept": "application/json",
"accept-encoding": "gzip, deflate, br",
"host": "www.theaudiodb.com"
},
"response": "{\"artists\":[{\"idArtist\":\"111319\",\"strArtist\":\"Nirvana\",\"strArtistStripped\":null,\"strArtistAlternate\":\"\",\"strLabel\":\"DGC Records\",\"idLabel\":\"43651\",\"intFormedYear\":\"1988\",\"intBornYear\":null,\"intDiedYear\":\"1994\",\"strDisbanded\":\"Yes\",\"strStyle\":\"Rock/Pop\",\"strGenre\":\"Rock\",\"strMood\":\"Sad\",\"strWebsite\":\"www.nirvana.com\",\"strFacebook\":\"www.facebook.com/Nirvana\",\"strTwitter\":\"twitter.com/Nirvana\",\"strBiographyEN\":\"Nirvana was an American rock band that was formed by singer and guitarist Kurt Cobain and bassist Krist Novoselic in Aberdeen, Washington, in 1987. Nirvana went through a succession of drummers, the longest-lasting being Dave Grohl, who joined the band in 1990. Despite releasing only three full-length studio albums in their seven-year career, Nirvana has come to be regarded as one of the most influential and important rock bands of the modern era.\\nIn the late 1980s Nirvana established itself as part of the Seattle grunge scene, releasing its first album Bleach for the independent record label Sub Pop in 1989. The band eventually came to develop a sound that relied on dynamic contrasts, often between quiet verses and loud, heavy choruses. After signing to major label DGC Records, Nirvana found unexpected success with \\\"Smells Like Teen Spirit\\\", the first single from the band's second album Nevermind (1991). Nirvana's sudden success widely popularized alternative rock as a whole, and the band's frontman Cobain found himself referred to in the media as the \\\"spokesman of a generation\\\", with Nirvana being considered the \\\"flagship band\\\" of Generation X. In response, Nirvana's third studio album, In Utero (1993), featured an abrasive, less-mainstream sound and challenged the group's audience. The album did not match the sales figures of Nevermind, but was still a commercial success and critically acclaimed.\\nNirvana's brief run ended following the death of Kurt Cobain in 1994, but various posthumous releases have been issued since, overseen by Novoselic, Grohl, and Cobain's widow Courtney Love. Since its debut, the band has sold over 25 million records in the United States alone, and over 75 million records worldwide, making them one of the best-selling bands of all time. Nirvana was inducted into the Rock and Roll Hall of Fame in 2014, in its first year of eligibility.\",\"strBiographyDE\":\"Der Verantwortliche, der 1992 bei MTV den Song \\\"Smells Like Teen Spirit\\\" auf Heavy Rotation setzt, ist sich wohl kaum bewusst, dass er damit den Schalter f\\u00fcr ein neues Zeitalter des Alternative-Rocks umlegen w\\u00fcrde. Was immer ihn dazu getrieben hat, auf dieses aus dem \\u00fcblichen Musikvideo-Rahmen fallende Pferd zu setzen, es war ein beispielloser kommerzieller Gl\\u00fccksgriff.\\n\\nMit einem langweiligen Sporthallen-Video, in dem meist ein zerzauster Typ seine schulterlangen, blonden Haare in die Kamera wuschelt und lustlos einen einfachen Vier-Akkord-Riff-Song hinschmettert, treffen ein paar ahnungslose Gammler aus Seattle den Nerv der Zeit und werden bald zum Sprachrohr einer ganzen Generation.\\n\\nOb das so gewollt war, ist strittig. Gitarrist, S\\u00e4nger und Songwriter Kurt Cobain hat es sich wohl nicht zum Ziel gesetzt, f\\u00fcr Millionen von Teenager in ihrer Depri-und-nicht-verstanden-Phase als Role-Model herzuhalten. Andererseits k\\u00e4mpft er seit seinen Anfangstagen als Musiker verbissen, h\\u00f6llisch selbstbewusst (\\\"Ich wusste immer dass ich etwas besonderes mache.\\\") und ohne R\\u00fccksicht auf Verluste f\\u00fcr ein Leben in Ruhm, Ehre und jeder Menge Rock'n'Roll.\\nIn seinen High School-Tagen \\u00e4ndern sich seine Vorlieben von Heavy Metal zun\\u00e4chst \\nhin zu amerikanischem Hardcore. Black Flag z\\u00e4hlen sp\\u00e4ter neben den Pixies zu seinen absoluten Lieblings-Bands.\\n\\n\\u00dcber seine Kiffer- und Abh\\u00e4ng-Kumpels lernt Cobain die Heavy Punks der Melvins aus dem nahe liegenden Ort Olympia kennen. Sie sind cool, rauchen eine Menge Joints und haben nichts mit den
"responseIsBinary": false,
"scope": "https://www.theaudiodb.com:443",
"status": 200
}
]
],
[
"recordings have a theAudioDB field",
[
{
"body": "",
"method": "GET",
"path": "/ws/2/recording/1109d8da-ce4a-4739-9414-242dc3e9b81c?fmt=json",
"rawHeaders": [
"Date",
"Thu, 15 Apr 2021 09:08:49 GMT",
"Content-Type",
"application/json; charset=utf-8",
"Content-Length",
"149",
"Connection",
"close",
"X-RateLimit-Limit",
"1200",
"X-RateLimit-Remaining",
"585",
"X-RateLimit-Reset",
"1618477730",
"Server",
"Plack::Handler::Starlet",
"ETag",
"\"e3bb16293f7645a121bd304b4fa19cfd\"",
"Access-Control-Allow-Origin",
"*",
"X-Cache-Status",
"MISS"
],
"reqheaders": {
"accept": "application/json",
"accept-encoding": "gzip, deflate, br",
"host": "musicbrainz.org"
},
"response": {
"disambiguation": "",
"first-release-date": "2017-01-13",
"id": "1109d8da-ce4a-4739-9414-242dc3e9b81c",
"length": 229262,
"title": "Despacito",
"video": false
},
"responseIsBinary": false,
"scope": "http://musicbrainz.org:80",
"status": 200
},
{
"body": "",
"method": "GET",
"path": "/api/v1/json/*/track-mb.php?i=1109d8da-ce4a-4739-9414-242dc3e9b81c",
"rawHeaders": [
"Date",
"Thu, 15 Apr 2021 09:08:50 GMT",
"Content-Type",
"application/json",
"Transfer-Encoding",
"chunked",
"Connection",
"close",
"Set-Cookie",
"__cfduid=d1586892e4ead497fbf12c16791a99bd01618477729; expires=Sat, 15-May-21 09:08:49 GMT; path=/; domain=.theaudiodb.com; HttpOnly; SameSite=Lax; Secure",
"X-Powered-By",
"PHP/7.4.1",
"Access-Control-Allow-Origin",
"*",
"CF-Cache-Status",
"DYNAMIC",
"cf-request-id",
"097663604400001fd7bd169000000001",
"Expect-CT",
"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"",
"Report-To",
"{\"group\":\"cf-nel\",\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report?s=DLFEAkfrpFtgLjjwiTgMt3KbBOmZM9cvx%2F%2Blbr2fzh8jkFJtvfGK7n3WNQDfZTYNpWnlS6gfJ0sJionp0KY99ASoOOZIjQUCdRMqZRpZTdCk4sk%3D\"}],\"max_age\":604800}",
"NEL",
"{\"max_age\":604800,\"report_to\":\"cf-nel\"}",
"Server",
"cloudflare",
"CF-RAY",
"640408139cf01fd7-SJC",
"alt-svc",
"h3-27=\":443\"; ma=86400, h3-28=\":443\"; ma=86400, h3-29=\":443\"; ma=86400"
],
"reqheaders": {
"accept": "application/json",
"accept-encoding": "gzip, deflate, br",
"host": "www.theaudiodb.com"
},
"response": "{\"track\":[{\"idTrack\":\"34838814\",\"idAlbum\":\"2284335\",\"idArtist\":\"131613\",\"idLyric\":null,\"idIMVDB\":null,\"strTrack\":\"Despacito\",\"strAlbum\":\"Despacito & mis grandes \\u00e9xitos\",\"strArtist\":\"Luis Fonsi\",\"strArtistAlternate\":null,\"intCD\":null,\"intDuration\":\"231573\",\"strGenre\":\"Latin\",\"strMood\":\"Sensual\",\"strStyle\":\"Latin\",\"strTheme\":\"In Love\",\"strDescriptionEN\":\"\\\"Despacito\\\" (American Spanish: ; English: \\\"Slowly\\\") is a single by Puerto Rican singer Luis Fonsi featuring Puerto Rican rapper Daddy Yankee from Fonsi's upcoming studio album. On January 12, 2017, Universal Music Latin released \\\"Despacito\\\" and its music video, which shows both artists performing the song in La Perla neighborhood of Old San Juan, Puerto Rico and the local bar La Factor\\u00eda. The song's music video is the first video to reach over three billion views on YouTube. The song was written by Luis Fonsi, Erika Ender and Daddy Yankee, and was produced by Andr\\u00e9s Torres and Mauricio Rengifo.\\n\\nIt is a reggaeton-pop song composed in common time with lyrics about having a sexual relationship, performed in a smooth and romantic way. Commercially, the song topped the charts of 47 countries and reached the top 10 of ten others, making it both Fonsi and Daddy Yankee's most successful single to date. It became the first song primarily in Spanish to top the Billboard Hot 100 since \\\"Macarena\\\" (Bayside Boys Mix) in 1996. The official video for \\\"Despacito\\\" on YouTube received its 1 billionth view on April 20, 2017 after 97 days, becoming the second-fastest video on the site to reach the milestone -- behind Adele's \\\"Hello\\\". It received its 2 billionth view on June 16 and its 3 billionth view on August 4 after 154 and 204 days, respectively, making it the fastest video on the site to reach both milestones. With its 3.3 million certified sales plus track-equivalent streams, \\\"Despacito\\\" is one of the best-selling Latin singles in the United States.\",\"strDescriptionDE\":null,\"strDescriptionFR\":null,\"strDescriptionCN\":null,\"strDescriptionIT\":null,\"strDescriptionJP\":null,\"strDescriptionRU\":null,\"strDescriptionES\":null,\"strDescriptionPT\":null,\"strDescriptionSE\":null,\"strDescriptionNL\":null,\"strDescriptionHU\":null,\"strDescriptionNO\":null,\"strDescriptionIL\":null,\"strDescriptionPL\":null,\"strTrackThumb\":\"https://www.theaudiodb.com/images/media/track/thumb/vqqpry1506425784.jpg\",\"strTrack3DCase\":null,\"strTrackLyrics\":\"\",\"strMusicVid\":\"https://www.youtube.com/watch?v=kJQP7kiw5Fk\",\"strMusicVidDirector\":\"Carlos P\\u00e9rez\",\"strMusicVidCompany\":\"\",\"strMusicVidScreen1\":\"https://www.theaudiodb.com/images/media/track/mvidscreen/qpxuvy1529928526.jpg\",\"strMusicVidScreen2\":\"https://www.theaudiodb.com/images/media/track/mvidscreen/tqupsr1529928533.jpg\",\"strMusicVidScreen3\":\"https://www.theaudiodb.com/images/media/track/mvidscreen/qtrtvr1529928541.jpg\",\"intMusicVidViews\":\"7144816552\",\"intMusicVidLikes\":\"42062311\",\"intMusicVidDislikes\":\"4879174\",\"intMusicVidFavorites\":\"0\",\"intMusicVidComments\":\"3861412\",\"intTrackNumber\":\"1\",\"intLoved\":\"2\",\"intScore\":\"10\",\"intScoreVotes\":\"7\",\"intTotalListeners\":\"105429\",\"intTotalPlays\":\"680274\",\"strMusicBrainzID\":\"1109d8da-ce4a-4739-9414-242dc3e9b81c\",\"strMusicBrainzAlbumID\":\"76357b1d-db6e-4dfc-b5fc-ed2544764d90\",\"strMusicBrainzArtistID\":\"d68fda90-ab8d-4799-be56-317ba4ae700f\",\"strLocked\":\"unlocked\"}]}",
"responseIsBinary": false,
"scope": "https://www.theaudiodb.com:443",
"status": 200
}
]
],
[
"release groups have a theAudioDB field",
[
{
"body": "",
"method": "GET",
"path": "/ws/2/release-group/aa997ea0-2936-40bd-884d-3af8a0e064dc?fmt=json",
"rawHeaders": [
"Date",
"Thu, 15 Apr 2021 09:08:48 GMT",
"Content-Type",
"application/json; charset=utf-8",
"Transfer-Encoding",
"chunked",
"Connection",
"close",
"Vary",
"Accept-Encoding",
"X-RateLimit-Limit",
"1200",
"X-RateLimit-Remaining",
"1007",
"X-RateLimit-Reset",
"1618477730",
"Server",
"Plack::Handler::Starlet",
"ETag",
"W/\"a8df25ecb75078f4e142018527210f56\"",
"Access-Control-Allow-Origin",
"*",
"X-Cache-Status",
"MISS"
],
"reqheaders": {
"accept": "application/json",
"accept-encoding": "gzip, deflate, br",
"host": "musicbrainz.org"
},
"response": "{\"title\":\"Random Access Memories\",\"primary-type\":\"Album\",\"secondary-types\":[],\"secondary-type-ids\":[],\"primary-type-id\":\"f529b476-6e62-324f-b0aa-1f3e33d313fc\",\"disambiguation\":\"\",\"id\":\"aa997ea0-2936-40bd-884d-3af8a0e064dc\",\"first-release-date\":\"2013-05-17\"}",
"responseIsBinary": false,
"scope": "http://musicbrainz.org:80",
"status": 200
},
{
"body": "",
"method": "GET",
"path": "/api/v1/json/*/album-mb.php?i=aa997ea0-2936-40bd-884d-3af8a0e064dc",
"rawHeaders": [
"Date",
"Thu, 15 Apr 2021 09:08:49 GMT",
"Content-Type",
"application/json",
"Transfer-Encoding",
"chunked",
"Connection",
"close",
"Set-Cookie",
"__cfduid=df232c54bc0fb5de73d51f9585c62f6b21618477728; expires=Sat, 15-May-21 09:08:48 GMT; path=/; domain=.theaudiodb.com; HttpOnly; SameSite=Lax; Secure",
"X-Powered-By",
"PHP/7.4.1",
"Access-Control-Allow-Origin",
"*",
"CF-Cache-Status",
"DYNAMIC",
"cf-request-id",
"0976635c5f00000591b1106000000001",
"Expect-CT",
"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"",
"Report-To",
"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report?s=tYoPXWSQ7EXGkscNE189ev3D4%2BdDiSQZj%2FyCO242%2FI1DOY1ybbnLYnJBgxGPGa1WFsBiljYt0h4aVX4PIs%2B7yXDqmfPggZnyyFZP3%2F4RKc2vItY%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}",
"NEL",
"{\"report_to\":\"cf-nel\",\"max_age\":604800}",
"Server",
"cloudflare",
"CF-RAY",
"6404080d68770591-LAX",
"alt-svc",
"h3-27=\":443\"; ma=86400, h3-28=\":443\"; ma=86400, h3-29=\":443\"; ma=86400"
],
"reqheaders": {
"accept": "application/json",
"accept-encoding": "gzip, deflate, br",
"host": "www.theaudiodb.com"
},
"response": "{\"album\":[{\"idAlbum\":\"2162908\",\"idArtist\":\"111492\",\"idLabel\":\"43473\",\"strAlbum\":\"Random Access Memories\",\"strAlbumStripped\":\"Random Access Memories\",\"strArtist\":\"Daft Punk\",\"strArtistStripped\":\"Daft Punk\",\"intYearReleased\":\"2013\",\"strStyle\":\"Electronic\",\"strGenre\":\"House\",\"strLabel\":\"Columbia\",\"strReleaseFormat\":\"Album\",\"intSales\":\"0\",\"strAlbumThumb\":\"https://www.theaudiodb.com/images/media/album/thumb/random-access-memories-51764651042e5.jpg\",\"strAlbumThumbHQ\":\"https://www.theaudiodb.com/images/media/album/thumbhq/oqo39a1605900144.jpg\",\"strAlbumThumbBack\":\"https://www.theaudiodb.com/images/media/album/thumbback/vyqvvx1535103595.jpg\",\"strAlbumCDart\":\"https://www.theaudiodb.com/images/media/album/cdart/random-access-memories-5194a5974107d.png\",\"strAlbumSpine\":null,\"strAlbum3DCase\":\"https://www.theaudiodb.com/images/media/album/3dcase/mut45w1605900294.png\",\"strAlbum3DFlat\":\"https://www.theaudiodb.com/images/media/album/3dflat/h66mja1605900312.png\",\"strAlbum3DFace\":\"https://www.theaudiodb.com/images/media/album/3dface/1b5zwy1605900320.png\",\"strAlbum3DThumb\":\"https://www.theaudiodb.com/images/media/album/3dthumb/eq0ydt1605900428.png\",\"strDescriptionEN\":\"Random Access Memories is the upcoming fourth studio album by French electronic music duo Daft Punk. It will be released by Daft Life under exclusive license to Columbia Records on May 17, 2013 in Australia, May 20, 2013 in the United Kingdom and on May 21, 2013 in the United States. Work started on the record concurrently with the Tron: Legacy score, without a clear plan as to what its structure would be. Shortly after Daft Punk signed with Columbia, a gradual promotional rollout began for the album including billboards, television advertising and a web series.\\nRandom Access Memories pays tribute to the late 1970s and early 80s era of music in the United States, particularly the sound of Los Angeles recordings of the period. Daft Punk recorded the album largely using live instrumentation with session musicians, and limited the use of electronics to drum machines, a modular synthesizer and vintage vocoders. The album also features collaborations with Panda Bear, Julian Casablancas, Todd Edwards, DJ Falcon, Chilly Gonzales, Giorgio Moroder, Nile Rodgers, Paul Williams and Pharrell Williams. Critical reception to the album has generally been positive.\",\"strDescriptionDE\":null,\"strDescriptionFR\":\"Random Access Memories est le quatri\\u00e8me album studio de Daft Punk, dont la date de sortie officielle est le 20 mai 2013. Il est publi\\u00e9 par Daft Life Limited, une filiale de Columbia Records. L'album comprend des collaborations avec plusieurs artistes tels que Nile Rodgers, Paul Williams, Giorgio Moroder, Pharrell Williams, Todd Edwards, DJ Falcon, Chilly Gonzales, Panda Bear et Julian Casablancas et se caract\\u00e9rise, en tant qu'hommage au son des ann\\u00e9es 1970, par le parti pris d'utiliser des vrais instruments (guitare, basse, batterie, piano, cuivres etc..) en limitant l'usage des machines \\u00e9lectroniques. \\u00c0 sa publication, l'album rencontre un important succ\\u00e8s international, d\\u00e9passant d\\u00e9j\\u00e0 le million d'exemplaires lors de sa premi\\u00e8re semaine de vente.\\n\\nD\\u00e8s la premi\\u00e8re semaine, l'album se classe premier quasiment partout dans le monde. Random Access Memories semble \\u00eatre le plus grand succ\\u00e8s de cette ann\\u00e9e. V\\u00e9ritable buzz mondial, l'album devient le plus vendu dans le monde lors de sa premi\\u00e8re semaine de vente.\\n\\nEn France, l'album se vend lors de la premi\\u00e8re semaine \\u00e0 plus de 195 000 exemplaires et r\\u00e9alise la plus grosse vente num\\u00e9rique en une semaine (67 335 exemplaires). Il est dans le m\\u00eame temps certifi\\u00e9 double disque de platine en seulement sept jours.\\n\\nAu Royaume-Uni, l'album r\\u00e9alise le meilleur d\\u00e9marrage de l'ann\\u00e9e dans ce pays avec 217 892 exemplaires \\u00e9coul\\u00e9s en une semaine.\\n\\nDaf
"responseIsBinary": false,
"scope": "https://www.theaudiodb.com:443",
"status": 200
}
]
]
]