mirror of
https://github.com/BradNut/graphbrainz
synced 2025-09-08 17:40:32 +00:00
Request more fields to increase coverage
This commit is contained in:
parent
d5067159f9
commit
31fecabfda
7 changed files with 23 additions and 16 deletions
|
|
@ -1,22 +1,22 @@
|
|||
{
|
||||
"statusCode": 200,
|
||||
"headers": {
|
||||
"date": "Wed, 07 Dec 2016 14:11:09 GMT",
|
||||
"date": "Wed, 07 Dec 2016 23:09:35 GMT",
|
||||
"content-type": "application/json; charset=UTF-8",
|
||||
"transfer-encoding": "chunked",
|
||||
"connection": "keep-alive",
|
||||
"keep-alive": "timeout=15",
|
||||
"vary": "Accept-Encoding",
|
||||
"x-ratelimit-limit": "700",
|
||||
"x-ratelimit-remaining": "623",
|
||||
"x-ratelimit-reset": "1481119871",
|
||||
"x-ratelimit-remaining": "361",
|
||||
"x-ratelimit-reset": "1481152175",
|
||||
"last-modified": "Wed, 09 Nov 2016 23:43:24 GMT",
|
||||
"server": "Jetty(9.3.10.v20160621)",
|
||||
"access-control-allow-origin": "*",
|
||||
"content-encoding": "gzip"
|
||||
},
|
||||
"url": "http://musicbrainz.org:80/ws/2/recording?query=Burn%20the%20Witch&fmt=json",
|
||||
"time": 435,
|
||||
"time": 744,
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
|
|
|
|||
BIN
test/fixtures/456168a862ec0ca28127f067e3f166e7
vendored
BIN
test/fixtures/456168a862ec0ca28127f067e3f166e7
vendored
Binary file not shown.
|
|
@ -1,26 +1,26 @@
|
|||
{
|
||||
"statusCode": 200,
|
||||
"headers": {
|
||||
"date": "Wed, 07 Dec 2016 07:23:58 GMT",
|
||||
"date": "Wed, 07 Dec 2016 23:09:34 GMT",
|
||||
"content-type": "application/json; charset=utf-8",
|
||||
"transfer-encoding": "chunked",
|
||||
"connection": "keep-alive",
|
||||
"keep-alive": "timeout=15",
|
||||
"vary": "Accept-Encoding",
|
||||
"x-ratelimit-limit": "700",
|
||||
"x-ratelimit-remaining": "493",
|
||||
"x-ratelimit-reset": "1481095439",
|
||||
"x-ratelimit-remaining": "596",
|
||||
"x-ratelimit-reset": "1481152175",
|
||||
"server": "Plack::Handler::Starlet",
|
||||
"etag": "W/\"4401734fbc36b86339b05ac714ef9b07\"",
|
||||
"etag": "W/\"70e9c6b355083588be1b5abb2e76e291\"",
|
||||
"access-control-allow-origin": "*",
|
||||
"content-encoding": "gzip"
|
||||
},
|
||||
"url": "http://musicbrainz.org:80/ws/2/artist/c8da2e40-bd28-4d4e-813a-bd2f51958ba8?fmt=json",
|
||||
"time": 402,
|
||||
"time": 361,
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"User-Agent": "graphbrainz/3.0.1 ( https://github.com/exogen/graphbrainz )",
|
||||
"User-Agent": "graphbrainz/3.1.0 ( https://github.com/exogen/graphbrainz )",
|
||||
"host": "musicbrainz.org",
|
||||
"accept-encoding": "gzip, deflate",
|
||||
"accept": "application/json"
|
||||
|
|
|
|||
BIN
test/fixtures/a81703ff2de3c55fdf82ff4d0a1f5052
vendored
Normal file
BIN
test/fixtures/a81703ff2de3c55fdf82ff4d0a1f5052
vendored
Normal file
Binary file not shown.
|
|
@ -1,22 +1,22 @@
|
|||
{
|
||||
"statusCode": 200,
|
||||
"headers": {
|
||||
"date": "Wed, 07 Dec 2016 14:15:04 GMT",
|
||||
"date": "Wed, 07 Dec 2016 23:09:35 GMT",
|
||||
"content-type": "application/json; charset=utf-8",
|
||||
"transfer-encoding": "chunked",
|
||||
"connection": "keep-alive",
|
||||
"keep-alive": "timeout=15",
|
||||
"vary": "Accept-Encoding",
|
||||
"x-ratelimit-limit": "700",
|
||||
"x-ratelimit-remaining": "559",
|
||||
"x-ratelimit-reset": "1481120105",
|
||||
"x-ratelimit-remaining": "154",
|
||||
"x-ratelimit-reset": "1481152175",
|
||||
"server": "Plack::Handler::Starlet",
|
||||
"etag": "W/\"0f2ce1fbd4358ed2ee61c9e461538573\"",
|
||||
"etag": "W/\"141f49e0130d012e9f5ffc328bc55045\"",
|
||||
"access-control-allow-origin": "*",
|
||||
"content-encoding": "gzip"
|
||||
},
|
||||
"url": "http://musicbrainz.org:80/ws/2/release-group?artist=c8da2e40-bd28-4d4e-813a-bd2f51958ba8&fmt=json",
|
||||
"time": 390,
|
||||
"url": "http://musicbrainz.org:80/ws/2/release-group?artist=c8da2e40-bd28-4d4e-813a-bd2f51958ba8&inc=artist-credits&fmt=json",
|
||||
"time": 379,
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
BIN
test/fixtures/e35ea8d15589d88c826a9dcf6e309f1d
vendored
BIN
test/fixtures/e35ea8d15589d88c826a9dcf6e309f1d
vendored
Binary file not shown.
|
|
@ -76,6 +76,13 @@ test('schema has a browse query', t => {
|
|||
node {
|
||||
mbid
|
||||
title
|
||||
artistCredit {
|
||||
artist {
|
||||
mbid
|
||||
}
|
||||
name
|
||||
joinPhrase
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue