mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-11-06 07:09:09 +08:00
docs: classify music library status route
This commit is contained in:
@@ -112,6 +112,7 @@ EXPLICIT_TRANSPORT_PATHS = frozenset(
|
||||
)
|
||||
SUBSCRIPTION_EXECUTION_UI_PREFIX = "/api/v1/subscribe/execution/"
|
||||
CLASSIFICATION_POLICY_UI_PREFIX = "/api/v1/media/classification/"
|
||||
MUSIC_LIBRARY_STATUS_UI_PATH = "/api/v1/music/library/status"
|
||||
|
||||
|
||||
def _gateway_routes() -> dict[tuple[str, str], list[str]]:
|
||||
@@ -196,6 +197,13 @@ def _classify(
|
||||
"Classification policy authoring, validation, preview, impact analysis, and publication are owned by the authenticated frontend editor until a stable Agent governance contract is approved.",
|
||||
[],
|
||||
)
|
||||
if method == "POST" and path == MUSIC_LIBRARY_STATUS_UI_PATH:
|
||||
return (
|
||||
"ui_presentation",
|
||||
"host-ui",
|
||||
"Batch music-library presence is a bounded projection for the authenticated artist resource matrix; it is not a standalone Agent business action.",
|
||||
[],
|
||||
)
|
||||
if path in EXPLICIT_TRANSPORT_PATHS:
|
||||
return (
|
||||
"transport_or_identity",
|
||||
|
||||
Reference in New Issue
Block a user