Skip to content

System API 🟑 BETA

The system family holds the routes mounted for versions, usage and operating-system controls.

Developer guide map

Endpoints

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

Method Path
GET /api/system/check-updates
POST /api/system/check-updates
GET /api/system/os
POST /api/system/os
GET /api/system/os/logs
GET /api/system/os/logs/download
GET /api/system/os/power/status
POST /api/system/os/power/status

Example

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

GET /api/system/check-updates HTTP/1.1
Host: localhost:8080
Authorization: Bearer <token>
HTTP/1.1 200 OK

What it does

Capability Verified endpoint Registered in
System check updates GET /api/system/check-updates botserver/crates/botapi/src/system.rs
System check updates POST /api/system/check-updates botserver/crates/botapi/src/system.rs
System os GET /api/system/os botserver/crates/botsettings/src/os.rs
System os POST /api/system/os botserver/crates/botsettings/src/os.rs
Os logs GET /api/system/os/logs botserver/crates/botsettings/src/os.rs
Download logs GET /api/system/os/logs/download botserver/crates/botsettings/src/os.rs
Power status GET /api/system/os/power/status botserver/crates/botsettings/src/os.rs
Power status POST /api/system/os/power/status botserver/crates/botsettings/src/os.rs

Limits

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