docs: classify music library status route

This commit is contained in:
yanjunpu
2026-09-09 16:54:35 +08:00
parent 340bafbdaa
commit 89917a7baf
4 changed files with 29 additions and 4 deletions

View File

@@ -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",