Chuyển tới nội dung chính

Current user API

The caller's own workspaces.

This page lists 1 endpoint (OpenAPI tag me). It is generated from openapi.json; see the REST API overview for authentication, CSRF and error conventions.

MethodPathOperation idNotes
GET/api/me/workspaceslist_my_workspaces

GET /api/me/workspaces​

Operation id: list_my_workspaces. Auth: Session cookie.

Response 200 (application/json): array of WorkspaceDto

FieldTypeRequiredDescription
idstringyes
slugstringyes
namestringyes
statusstringyes
created_atstring (date-time)yes
created_bystring, nullableno
owner_namestring, nullableno
featuresstring[]noModule keys this workspace currently has switched on. Populated wherever a caller reads a workspace's entitlements back (list_ws, get_ws, /api/me/workspaces) via [dto_with_features]; left empty by the create/lifecycle handlers,...
StatusMeaning
200Workspaces the caller can see (all, if platform admin)
401Not authenticated
500Internal error