Cody Robibero
6e5ec99ea1
Move userId in API from route to optional query parameter ( #11074 )
...
* Move userId in API from route to optional query parameter
* Standardize UserViewsController
* Move userId to query in ImageController
* Move userId to query in ItemsController
* Move userId to query in PlaystateController
* Move userId to query in SuggestionsController
* Move userId from route to query in UserLibraryController
* Clean up routes
* Move userId to query in UserController
* fix bad merge
---------
Co-authored-by: Niels van Velzen <git@ndat.nl>
11 months ago
Niels van Velzen
55916a09eb
Remove some unused client capabilities and sync code ( #10812 )
1 year ago
Cody Robibero
906f701fa8
Convert CollectionType, SpecialFolderType to enum ( #9764 )
...
* Convert CollectionType, SpecialFolderType to enum
* Hide internal enum CollectionType values
* Apply suggestions from code review
Co-authored-by: Shadowghost <Shadowghost@users.noreply.github.com>
* Fix recent change
* Update Jellyfin.Data/Attributes/OpenApiIgnoreEnumAttribute.cs
Co-authored-by: Patrick Barron <barronpm@gmail.com>
---------
Co-authored-by: Shadowghost <Shadowghost@users.noreply.github.com>
Co-authored-by: Patrick Barron <barronpm@gmail.com>
1 year ago
cvium
209edd38a4
refactor: simplify authz
2 years ago
Shadowghost
f5f890e685
Migrate to file-scoped namespaces
2 years ago
Bond_009
c7d50d640e
Replace == null with is null
2 years ago
cvium
5dc30c6a6d
fix: use HttpContext and ClaimsPrincipal instead of IAuthorizationContext
2 years ago
Cody Robibero
d2e18547b1
Require properly typed ActionResult<T> ( #8382 )
2 years ago
Cody Robibero
6a567e8c76
Merge pull request #7474 from nielsvanvelzen/api-secure
3 years ago
Niels van Velzen
46798cb918
Remove check for non-existent "emby rt" client in UserViewsController ( #7470 )
3 years ago
Niels van Velzen
5ece92d635
Add authorization attribute to UserViewsController
3 years ago
Cody Robibero
a60cb280a3
Properly populate QueryResult
3 years ago
Patrick Barron
a0c6f72762
Migrate authentication db to EF Core
4 years ago
crobibero
223b42aed3
Create BaseItemKind enum
4 years ago
Bond_009
f5973d57e8
Remove UTF8 bom from some files
4 years ago
crobibero
3cc0dd7e12
Reduce RequestHelpers.Split usage and remove RequestHelpers.GetGuids usage.
4 years ago
crobibero
29fc882037
merge all attributes
4 years ago
crobibero
b64108923a
Add missing references
4 years ago
crobibero
59d47ec3f5
Make all FromRoute required
4 years ago
crobibero
858aecd409
Fix all route for base url support
5 years ago
crobibero
5d34b07d1f
Make query parameters nullable or set default value
5 years ago
crobibero
73bcda7eac
Make all optional strings nullable
5 years ago
crobibero
54d666d7c9
move UserViewsService.cs to Jellyfin.Api
5 years ago