ФУНКЦИИ - МЕЖПРОЕКТНАЯ КОММУНИКАЦИЯ: API мониторинга хранилища воркспейса

This commit is contained in:
DCCONSTRUCTIONS
2026-04-27 15:37:38 +03:00
parent a7606f2e9a
commit d9f534efcd
3 changed files with 128 additions and 0 deletions
@@ -36,6 +36,7 @@ from plane.app.views import (
UserRecentVisitViewSet,
WorkspaceHomePreferenceViewSet,
WorkspaceStickyViewSet,
WorkspaceStorageSummaryEndpoint,
WorkspaceUserPreferenceViewSet,
)
@@ -257,6 +258,11 @@ urlpatterns = [
WorkspaceStickyViewSet.as_view({"get": "retrieve", "patch": "partial_update", "delete": "destroy"}),
name="workspace-sticky",
),
path(
"workspaces/<str:slug>/storage/summary/",
WorkspaceStorageSummaryEndpoint.as_view(),
name="workspace-storage-summary",
),
# User Preference
path(
"workspaces/<str:slug>/sidebar-preferences/",