setlist request not updated?
Posted 3 Sep 2017, 5:09:49
{
“setlist” : [ {
“artist” : {
“mbid” : “b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d”,
“tmid” : 735610,
“name” : “The Beatles”,
“sortName” : “Beatles, The”,
“disambiguation” : “John, Paul, George and Ringo”,
“url” : “https://www.setlist.fm/setlists/the-beatles-23d6a88b.html”
},
“venue” : {
“city” : { },
“url” : “https://www.setlist.fm/venue/compaq-center-san-jose-ca-usa-6bd6ca6e.html”,
“id” : “6bd6ca6e”,
“name” : “Compaq Center”
},
“tour” : {
“name” : “North American Tour 1964″
},
“set” : [ {
“name” : “…”,
“encore” : 12345,
“song” : [ { }, { } ]
}, {
“name” : “…”,
“encore” : 12345,
“song” : [ { }, { } ]
} ],
“info” : “Recorded and published as 'The Beatles at the Hollywood Bowl'”,
“url” : “https://www.setlist.fm/setlist/the-beatles/1964/hollywood-bowl-hollywood-ca-63de4613.html”,
“id” : “63de4613″,
“versionId” : “7be1aaa0″,
“eventDate” : “23-08-1964″,
“lastUpdated” : “2013-10-20T05:18:08.000+0000″
}, {
“artist” : {
“mbid” : “…”,
“tmid” : 12345,
“name” : “…”,
“sortName” : “…”,
“disambiguation” : “…”,
“url” : “…”
},
“venue” : {
“city” : { },
“url” : “…”,
“id” : “…”,
“name” : “…”
},
“tour” : {
“name” : “…”
},
“set” : [ {
“name” : “…”,
“encore” : 12345,
“song” : [ { }, { } ]
}, {
“name” : “…”,
“encore” : 12345,
“song” : [ { }, { } ]
} ],
“info” : “…”,
“url” : “…”,
“id” : “…”,
“versionId” : “…”,
“eventDate” : “…”,
“lastUpdated” : “…”
} ],
“total” : 42,
“page” : 1,
“itemsPerPage” : 20
}
The TOP is the old code on the API website (https://api.setlist.fm/docs/1.0/resource__1.0_artist__mbid__setlists.html)
Heres the JSON response I get
https://hastebin.com/eqaquvaroy.coffeescript
Pls update the docs so I can make my program :)
Last edited 3 Sep 2017, 5:10:10
Posted 5 Sep 2017, 7:56:55
Pls update the docs so I can make my program :)
Sorry, I don't quite understand your question.
Posted 5 Sep 2017, 11:55:14
My question is this… the JSON model is not accurate on the API Documents when it comes to Sets…
Posted 5 Sep 2017, 12:09:41
I see. Sorry for this, I'll add a bug report. Meanwhile, please use the interactive interface to get the actual response.
Also we had to disable your API key, since you've publicly exposed it. Please be sure never to give away your private API key. You can find your new one in your settings.
Posted 5 Sep 2017, 15:46:25
https://hastebin.com/vecebopoqa.sm
This is the response I get from the server.
“set”: [ { “name”: “…”, “encore”: 12345, “song”: [ {}, {} ] },This is the JSON Model on the API site. Please fix. It is not accurate on the link you gave me.
Posted 6 Sep 2017, 8:49:21
As written yesterday, please use the interactive interface. I.e. write the parameters into the fields and click “Try it out!”. This will trigger an actual request on the API and you'll get the actual response.
Sorry that the docs currently don't match the response 100%, we'll fix that. The response from the interactive interface however will be the exact response you'll get when implementing your app.
Posted 8 Sep 2017, 16:40:25
Hello,
When I “Try it out” with https://api.setlist.fm/rest/1.0/artist/83b9cbe7-9857-49e2-ab8e-b57b01038103/setlists?p=1
I get 403:forbidden
Posted 11 Sep 2017, 6:36:48
I get 403:forbidden
Did you add your api key to the “x-api-key” header?