security: update docs — all endpoints require auth except health — 小橘 🍊
This commit is contained in:
parent
573bb75b40
commit
dc201a803a
@ -59,11 +59,13 @@ Agent 不需要理解 HTTP、Cloudflare Workers、Request/Response 这些底层
|
|||||||
|------|------|------|------|
|
|------|------|------|------|
|
||||||
| `/_api/deploy` | POST | 需要 token | 部署能力 |
|
| `/_api/deploy` | POST | 需要 token | 部署能力 |
|
||||||
| `/_api/remove` | DELETE | 需要 token | 删除能力 |
|
| `/_api/remove` | DELETE | 需要 token | 删除能力 |
|
||||||
| `/_api/query` | GET | 公开 | 发现能力(语义搜索) |
|
| `/_api/query` | GET | 需要 token | 发现能力(语义搜索) |
|
||||||
| `/_api/inspect/{name}` | GET | 公开 | 查看能力详情 |
|
| `/_api/inspect/{name}` | GET | 需要 token | 查看能力详情 |
|
||||||
| `/run/{name}` | GET/POST | 公开 | 调用能力 |
|
| `/run/{name}` | GET/POST | 需要 token | 调用能力 |
|
||||||
| `/_health` | GET | 公开 | 健康检查 |
|
| `/_health` | GET | 公开 | 健康检查 |
|
||||||
|
|
||||||
|
**所有接口(除 health)均需 `Authorization: Bearer <TOKEN>`。** CLI 自动读取 token,无需手动传递。
|
||||||
|
|
||||||
**Base URL**: `https://sigil.shazhou.workers.dev`
|
**Base URL**: `https://sigil.shazhou.workers.dev`
|
||||||
|
|
||||||
## 部署能力
|
## 部署能力
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user