docs: complete final doc sweep for Dashboard UI REST APIs and query_graph_path
This commit is contained in:
1 parent
04a9a4963c
commit
ee4157d07b
3 files changed
+25
-10
No files matched your search
@@ -16,10 +16,17 @@ The daemon uses the `axum` and `rust-mcp-axum` crates, binding to `0.0.0.0:3000`
|
||||
* `GET /sse`: The Server-Sent Events (SSE) endpoint. Antigravity clients connect here to keep a one-way pipe open for receiving pushed responses.
|
||||
* `POST /messages`: The JSON-RPC endpoint. Clients use this to send tool calls and resource reads up to the server when connected via SSE.
|
||||
|
||||
### Custom Integration Endpoints
|
||||
* `GET /`: The Brain Monitor live HTML dashboard (returns real-time metrics UI).
|
||||
### Dashboard REST API
|
||||
The server hosts a rich Single Page Application (SPA) natively on the root route, backed by a suite of REST endpoints:
|
||||
* `GET /`: The Brain Monitor live HTML dashboard SPA.
|
||||
* `GET /api/graph`: Returns the full node/edge topology for the interactive physics-simulated canvas.
|
||||
* `GET /api/tasks` & `POST /api/tasks/{id}/complete`: Drives the actionable Kanban board.
|
||||
* `GET /api/sticky` & `GET /api/search`: Powers the sticky notes tab and global fuzzy search UI.
|
||||
* `GET /api/stats`: Returns a JSON snapshot of current entity, relation, task, and tech debt counts.
|
||||
* `GET /gate/verify`: A lightweight, deterministic endpoint used by external scripts to verify if an action (like a `git push`) is authorized based on the current state.
|
||||
|
||||
### Git & IDE Integration Endpoints
|
||||
* `POST /nvim/telemetry`: A one-way webhook that Neovim instances hit on `FocusGained` or `BufEnter` to globally broadcast the user's active file to the UI and Agent.
|
||||
* `GET /gate/verify`: A lightweight, deterministic endpoint used by external scripts (like a `git push` wrapper) to verify if an action is authorized based on the current state.
|
||||
|
||||
## 3. Client Connections
|
||||
The Antigravity configurations (`mcp_config.json`) utilize the dual-transport system:
|
||||
|
||||
Reference in new issue
Block a user