seperate routes, provide robust handler types, use mux
This commit is contained in:
75
server/ctrlsubsonic/testdata/test_get_artists_no_args
vendored
Normal file
75
server/ctrlsubsonic/testdata/test_get_artists_no_args
vendored
Normal file
@@ -0,0 +1,75 @@
|
||||
{
|
||||
"subsonic-response": {
|
||||
"status": "ok",
|
||||
"version": "1.9.0",
|
||||
"artists": {
|
||||
"index": [
|
||||
{
|
||||
"name": "#",
|
||||
"artist": [
|
||||
{
|
||||
"id": 3,
|
||||
"name": "13th Floor Elevators",
|
||||
"albumCount": 2
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "a",
|
||||
"artist": [
|
||||
{
|
||||
"id": 2,
|
||||
"name": "A Certain Ratio",
|
||||
"albumCount": 2
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"name": "Anikas",
|
||||
"albumCount": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "c",
|
||||
"artist": [
|
||||
{
|
||||
"id": 7,
|
||||
"name": "Captain Beefheart & His Magic Band",
|
||||
"albumCount": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "j",
|
||||
"artist": [
|
||||
{
|
||||
"id": 1,
|
||||
"name": "Jah Wobble, The Edge & Holger Czukay",
|
||||
"albumCount": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "s",
|
||||
"artist": [
|
||||
{
|
||||
"id": 5,
|
||||
"name": "Swell Maps",
|
||||
"albumCount": 2
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "t",
|
||||
"artist": [
|
||||
{
|
||||
"id": 6,
|
||||
"name": "Ten Years After",
|
||||
"albumCount": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user