Skip to content

Whiteboard API 🟑 BETA

The canvas family holds the routes mounted for canvases and their elements.

Developer guide map

Endpoints

Exact lines from the Generated api-canvas reference; the generated page is the full table.

Method Path
GET /api/canvas
POST /api/canvas
DELETE /api/canvas/:param
GET /api/canvas/:param
PUT /api/canvas/:param
GET /api/canvas/:param/collaborate
GET /api/canvas/:param/collaborators
DELETE /api/canvas/:param/collaborators/:param

Example

Minimal HTTP exchange for the first verified route (schemas are not modeled in the generated reference).

GET /api/canvas HTTP/1.1
Host: localhost:8080
Authorization: Bearer <token>
HTTP/1.1 200 OK

What it does

Capability Verified endpoint Registered in
Canvas GET /api/canvas botserver/crates/botcanvas/src/lib.rs
Canvas POST /api/canvas botserver/crates/botcanvas/src/lib.rs
Canvas DELETE /api/canvas/:param botserver/crates/botcanvas/src/lib.rs
Canvas GET /api/canvas/:param botserver/crates/botcanvas/src/lib.rs
Canvas PUT /api/canvas/:param botserver/crates/botcanvas/src/lib.rs
Canvas collaborate GET /api/canvas/:param/collaborate botserver/crates/botcanvas/src/lib.rs
Canvas collaborators GET /api/canvas/:param/collaborators botserver/crates/botcanvas/src/lib.rs
Canvas collaborators DELETE /api/canvas/:param/collaborators/:param botserver/crates/botcanvas/src/lib.rs

Limits

  • The Generated api-canvas 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.