seperate routes, provide robust handler types, use mux
This commit is contained in:
76
server/ctrlsubsonic/testdata/test_get_indexes_no_args
vendored
Normal file
76
server/ctrlsubsonic/testdata/test_get_indexes_no_args
vendored
Normal file
@@ -0,0 +1,76 @@
|
||||
{
|
||||
"subsonic-response": {
|
||||
"status": "ok",
|
||||
"version": "1.9.0",
|
||||
"indexes": {
|
||||
"lastModified": 0,
|
||||
"index": [
|
||||
{
|
||||
"name": "#",
|
||||
"artist": [
|
||||
{
|
||||
"id": 7,
|
||||
"name": "13th Floor Lowervators",
|
||||
"albumCount": 2
|
||||
},
|
||||
{
|
||||
"id": 10,
|
||||
"name": "___Anika",
|
||||
"albumCount": 2
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "a",
|
||||
"artist": [
|
||||
{
|
||||
"id": 4,
|
||||
"name": "A Certain Ratio",
|
||||
"albumCount": 2
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "c",
|
||||
"artist": [
|
||||
{
|
||||
"id": 20,
|
||||
"name": "Captain Beefheart",
|
||||
"albumCount": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "j",
|
||||
"artist": [
|
||||
{
|
||||
"id": 2,
|
||||
"name": "Jah Wobble, The Edge, Holger Czukay",
|
||||
"albumCount": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "s",
|
||||
"artist": [
|
||||
{
|
||||
"id": 15,
|
||||
"name": "Swell Maps",
|
||||
"albumCount": 2
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "t",
|
||||
"artist": [
|
||||
{
|
||||
"id": 18,
|
||||
"name": "Ten Years After",
|
||||
"albumCount": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user