[PR #9711] Fix(api): /Items without user #12200

Closed
opened 2026-02-07 06:51:44 +03:00 by OVERLORD · 0 comments
Owner

Original Pull Request: https://github.com/jellyfin/jellyfin/pull/9711

State: closed
Merged: No


REST API endpoint '/Items' requires userId query.

Changes

  • UserManager provides with getUserAdmin() an admin account as fallback for specific edge cases like this. The "admin" might not have the full view to all items (possible?)
  • Other solution: Refactor Items handling with optional user. However Jellyfin is all about users, so i don't think it's worth.
  • Other solution: Create an apiKey user which is hidden for clients

Issues

Closes: #9708

**Original Pull Request:** https://github.com/jellyfin/jellyfin/pull/9711 **State:** closed **Merged:** No --- REST API endpoint '/Items' requires userId query. **Changes** - `UserManager` provides with `getUserAdmin()` an admin account as fallback for specific edge cases like this. The "admin" might not have the full view to all items (possible?) - Other solution: Refactor Items handling with optional user. However Jellyfin is all about users, so i don't think it's worth. - Other solution: Create an apiKey user which is hidden for clients **Issues** <!-- Tag any issues that this PR solves here. ex. Fixes # --> Closes: #9708
OVERLORD added the pull-request label 2026-02-07 06:51:44 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#12200