Add jellyfin search api

This commit is contained in:
jeffvli 2023-05-19 02:06:58 -07:00 committed by Jeff
parent deb4e34895
commit a7ea54cf4b
4 changed files with 116 additions and 1 deletions

View file

@ -224,6 +224,15 @@ export const contract = c.router({
400: jfType._response.error,
},
},
search: {
method: 'GET',
path: 'users/:userId/items',
query: jfType._parameters.search,
responses: {
200: jfType._response.search,
400: jfType._response.error,
},
},
updatePlaylist: {
body: jfType._parameters.updatePlaylist,
method: 'PUT',