Changeset 0.37.18 (#230)
Co-authored-by: gobha <jasafpro@gmail.com> Co-committed-by: gobha <jasafpro@gmail.com>
This commit is contained in:
@@ -16,6 +16,7 @@ owning team/project/channel).
|
||||
```
|
||||
GET /workspaces → { "data": [...] }
|
||||
POST /workspaces ← { "name", "owner_type", "owner_id" }
|
||||
GET /workspaces/default → workspace object (v0.37.18)
|
||||
GET /workspaces/:id → workspace object
|
||||
PATCH /workspaces/:id ← partial update
|
||||
DELETE /workspaces/:id
|
||||
@@ -25,6 +26,15 @@ DELETE /workspaces/:id
|
||||
workspaces plus those owned by the user's teams. All `:id` endpoints
|
||||
verify the caller can access the workspace's owner entity.
|
||||
|
||||
#### `GET /workspaces/default` (v0.37.18)
|
||||
|
||||
Returns the current user's personal workspace, creating it on first
|
||||
access. The workspace is named "My Files" and owned by the current user.
|
||||
Idempotent — safe to call on every page load.
|
||||
|
||||
**Response:** 200 with workspace object (same shape as `GET /workspaces/:id`).
|
||||
Includes `file_count` and `total_bytes` stats.
|
||||
|
||||
Workspace object:
|
||||
|
||||
```json
|
||||
|
||||
Reference in New Issue
Block a user