add server info query

This commit is contained in:
Kendall Garner
2024-02-01 08:17:31 -08:00
parent 9995b2e774
commit 9720fcc202
13 changed files with 173 additions and 10 deletions
@@ -150,6 +150,14 @@ export const contract = c.router({
400: jfType._response.error,
},
},
getServerInfo: {
method: 'GET',
path: 'system/info',
responses: {
200: jfType._response.serverInfo,
400: jfType._response.error,
},
},
getSimilarArtistList: {
method: 'GET',
path: 'artists/:id/similar',