mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-29 13:09:46 +00:00
docs: new /global/health API (#6006)
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
This commit is contained in:
parent
5af35117db
commit
968543af39
2 changed files with 22 additions and 4 deletions
|
|
@ -68,11 +68,12 @@ The opencode server exposes the following APIs.
|
|||
|
||||
---
|
||||
|
||||
### Global Events
|
||||
### Global
|
||||
|
||||
| Method | Path | Description | Response |
|
||||
| ------ | --------------- | ------------------------------ | ------------ |
|
||||
| `GET` | `/global/event` | Get global events (SSE stream) | Event stream |
|
||||
| Method | Path | Description | Response |
|
||||
| ------ | ---------------- | ------------------------------ | ------------------------------------ |
|
||||
| `GET` | `/global/health` | Get server health and version | `{ healthy: true, version: string }` |
|
||||
| `GET` | `/global/event` | Get global events (SSE stream) | Event stream |
|
||||
|
||||
---
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue