[PR #4359] [CLOSED] Add initial management interface support #10040

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

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/4359
Author: @EraYaN
Created: 10/21/2020
Status: Closed

Base: masterHead: EraYaN-add-management-interface


📝 Commits (4)

  • c5d900b Add initial management interface support.
  • bc69aa2 Merge branch 'master' into EraYaN-add-management-interface
  • 1bbe262 Fix build
  • 7852f0b Ignore management controller when generating openapi spec

📊 Changes

7 files changed (+269 additions, -0 deletions)

View changed files

Jellyfin.Api/Attributes/ManagementAttribute.cs (+14 -0)
Jellyfin.Api/Controllers/ManagementController.cs (+73 -0)
📝 Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs (+3 -0)
Jellyfin.Server/Filters/ManagementInterfaceFilter.cs (+101 -0)
📝 Jellyfin.Server/Program.cs (+34 -0)
📝 MediaBrowser.Controller/Extensions/ConfigurationExtensions.cs (+39 -0)
📝 MediaBrowser.Model/Configuration/ServerConfiguration.cs (+5 -0)

📄 Description

Changes
This add a management interface on right now port 12000 (debate in the comments below!)
This can house all the endpoint that are deemed too insecure for the main API but are required for the tray applications for example. And might also be the right choice for stuff like prometheus metrics etc.

This probably house the shutdown/restart endpoint.

We might want to also add a ManagementAlsoAttribute that puts an endpoint on both the public API and the local one.

Right now this will be broken for socket based management ports. (No idea what HttpContext.Connection looks like when connecting over a socket)

The test endpoint right now is /Management/Test.

It now returns a 404 not found result (problem json) when it won't allow you in.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/4359 **Author:** [@EraYaN](https://github.com/EraYaN) **Created:** 10/21/2020 **Status:** ❌ Closed **Base:** `master` ← **Head:** `EraYaN-add-management-interface` --- ### 📝 Commits (4) - [`c5d900b`](https://github.com/jellyfin/jellyfin/commit/c5d900b1645a7916d110af18056b8a4402f04bc5) Add initial management interface support. - [`bc69aa2`](https://github.com/jellyfin/jellyfin/commit/bc69aa251b8944ef6626058876c5b400102a63df) Merge branch 'master' into EraYaN-add-management-interface - [`1bbe262`](https://github.com/jellyfin/jellyfin/commit/1bbe26264648f6904b1484e73dbc3aba01139384) Fix build - [`7852f0b`](https://github.com/jellyfin/jellyfin/commit/7852f0b4267a7206b5c5dd3a7c4c4e3d62524d71) Ignore management controller when generating openapi spec ### 📊 Changes **7 files changed** (+269 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `Jellyfin.Api/Attributes/ManagementAttribute.cs` (+14 -0) ➕ `Jellyfin.Api/Controllers/ManagementController.cs` (+73 -0) 📝 `Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs` (+3 -0) ➕ `Jellyfin.Server/Filters/ManagementInterfaceFilter.cs` (+101 -0) 📝 `Jellyfin.Server/Program.cs` (+34 -0) 📝 `MediaBrowser.Controller/Extensions/ConfigurationExtensions.cs` (+39 -0) 📝 `MediaBrowser.Model/Configuration/ServerConfiguration.cs` (+5 -0) </details> ### 📄 Description **Changes** This add a management interface on right now port 12000 (debate in the comments below!) This can house all the endpoint that are deemed too insecure for the main API but are required for the tray applications for example. And might also be the right choice for stuff like prometheus metrics etc. This probably house the shutdown/restart endpoint. We might want to also add a `ManagementAlsoAttribute` that puts an endpoint on both the public API and the local one. Right now this will be broken for socket based management ports. (No idea what `HttpContext.Connection` looks like when connecting over a socket) The test endpoint right now is `/Management/Test`. It now returns a 404 not found result (problem json) when it won't allow you in. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-07 06:13:00 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#10040