Skip to content

Dashboards API 🟑 BETA

The dashboards family holds the routes mounted for dashboard widgets and tiles.

Developer guide map

Endpoints

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

Method Path
GET /api/dashboards
GET /api/dashboards/:param
POST /api/dashboards/:param/widgets
PUT /api/dashboards/:param/widgets/:param
GET /api/dashboards/:param/widgets/:param/data
GET /api/dashboards/data-sources
POST /api/dashboards/data-sources/test
POST /api/dashboards/query

Example

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

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

What it does

Capability Verified endpoint Registered in
Dashboards GET /api/dashboards botserver/crates/botdashboards/src/lib.rs
Dashboards GET /api/dashboards/:param botserver/crates/botdashboards/src/lib.rs
Dashboards widgets POST /api/dashboards/:param/widgets botserver/crates/botdashboards/src/lib.rs
Dashboards widgets PUT /api/dashboards/:param/widgets/:param botserver/crates/botdashboards/src/lib.rs
Widgets data GET /api/dashboards/:param/widgets/:param/data botserver/crates/botdashboards/src/lib.rs
Dashboards data sources GET /api/dashboards/data-sources botserver/crates/botdashboards/src/lib.rs
Data sources test POST /api/dashboards/data-sources/test botserver/crates/botdashboards/src/lib.rs
Dashboards query POST /api/dashboards/query botserver/crates/botdashboards/src/lib.rs

Limits

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