Docs API π‘ BETA
The docs family holds the routes mounted for document creation, editing and export.
Endpoints
Exact lines from the Generated api-docs reference; the generated page is the full table.
| Method | Path |
|---|---|
| GET | /api/docs/:param |
| GET | /api/docs/:param/ast |
| GET | /api/docs/:param/collaborators |
| GET | /api/docs/:param/presence |
| GET | /api/docs/:param/selections |
| GET | /api/docs/:param/typing |
| GET | /api/docs/ai |
| POST | /api/docs/ai |
Example
Minimal HTTP exchange for the first verified route (schemas are not modeled in the generated reference).
GET /api/docs/:param HTTP/1.1
Host: localhost:8080
Authorization: Bearer <token>
HTTP/1.1 200 OK
What it does
| Capability | Verified endpoint | Registered in |
|---|---|---|
| Docs | GET /api/docs/:param |
botserver/crates/botdocs/src/lib.rs |
| Docs ast | GET /api/docs/:param/ast |
botserver/crates/botdocs/src/lib.rs |
| Docs collaborators | GET /api/docs/:param/collaborators |
botserver/crates/botdocs/src/lib.rs |
| Docs presence | GET /api/docs/:param/presence |
botserver/crates/botdocs/src/lib.rs |
| Docs selections | GET /api/docs/:param/selections |
botserver/crates/botdocs/src/lib.rs |
| Docs typing | GET /api/docs/:param/typing |
botserver/crates/botdocs/src/lib.rs |
| Docs ai | GET /api/docs/ai |
botserver/crates/botdocs/src/lib.rs |
| Docs ai | POST /api/docs/ai |
botserver/crates/botdocs/src/lib.rs |
Limits
- The Generated api-docs 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-docs reference - Full verified route table.
- Slides API
- Paper API
- Video API
- Research API