Workspaces API π‘ BETA
The workspaces family holds the routes mounted for workspaces, pages and members.
Endpoints
Exact lines from the Generated api-workspaces reference; the generated page is the full table.
| Method | Path |
|---|---|
| GET | /api/workspaces |
| GET | /api/workspaces/:param |
| POST | /api/workspaces/:param/members |
| DELETE | /api/workspaces/:param/members/:param |
| GET | /api/workspaces/:param/pages |
| GET | /api/workspaces/:param/search |
| GET | /api/workspaces/commands |
Example
Minimal HTTP exchange for the first verified route (schemas are not modeled in the generated reference).
GET /api/workspaces HTTP/1.1
Host: localhost:8080
Authorization: Bearer <token>
HTTP/1.1 200 OK
What it does
| Capability | Verified endpoint | Registered in |
|---|---|---|
| Workspaces | GET /api/workspaces |
botserver/crates/botworkspaces/src/lib.rs |
| Workspaces | GET /api/workspaces/:param |
botserver/crates/botworkspaces/src/lib.rs |
| Workspaces members | POST /api/workspaces/:param/members |
botserver/crates/botworkspaces/src/lib.rs |
| Workspaces members | DELETE /api/workspaces/:param/members/:param |
botserver/crates/botworkspaces/src/lib.rs |
| Workspaces pages | GET /api/workspaces/:param/pages |
botserver/crates/botworkspaces/src/lib.rs |
| Search workspaces | GET /api/workspaces/:param/search |
botserver/crates/botworkspaces/src/lib.rs |
| Workspaces commands | GET /api/workspaces/commands |
botserver/crates/botworkspaces/src/lib.rs |
Limits
- The Generated api-workspaces reference is authoritative: no endpoint outside its table is inferred here.
- Routes require an authenticated session unless listed in the anonymous allowlist in
botsecurity-auth/src/auth_api/public_routes.rs. - The generated table does not model request or response fields; consult the mounted handler for them.
Related
- Generated api-workspaces reference - Full verified route table.
- Groups API
- Users API
- Files API