fix: scan status=unregistered not shown as registered; feat: config API for auto-pipeline/watcher-auto-register
This commit is contained in:
@@ -69,6 +69,8 @@ Every path segment after the resource ID is a **verb** — an action on that res
|
||||
| 14 | GET | `/api/v1/progress/:file_uuid` | Processing progress |
|
||||
| 15 | GET | `/api/v1/jobs` | List monitor jobs (filterable by status) |
|
||||
| 16 | POST | `/api/v1/config/cache` | Toggle Redis cache |
|
||||
| 17 | POST | `/api/v1/config/auto-pipeline` | Toggle auto-pipeline on register |
|
||||
| 18 | POST | `/api/v1/config/watcher-auto-register` | Toggle watcher auto-register |
|
||||
| 17 | POST | `/api/v1/search/visual` | Search visual chunks |
|
||||
| 18 | POST | `/api/v1/search/visual/class` | Search by object class |
|
||||
| 19 | POST | `/api/v1/search/visual/density` | Search by spatial density |
|
||||
|
||||
@@ -16,7 +16,7 @@ owner: "Warren"
|
||||
|
||||
| Environment | URL |
|
||||
|-------------|-----|
|
||||
| Production | `http://localhost:3002` or `https://api.momentry.ddns.net` |
|
||||
| Production | `http://localhost:3002` or `https://m5api.momentry.ddns.net` |
|
||||
| Development | `http://localhost:3003` |
|
||||
| Auth | Header `X-API-Key: <key>` (login endpoint unprotected) |
|
||||
|
||||
@@ -36,6 +36,8 @@ owner: "Warren"
|
||||
| 6 | GET | `/api/v1/stats/sftpgo` | SFTPGo status |
|
||||
| 7 | GET | `/api/v1/stats/inference` | LLM/Embedding health |
|
||||
| 8 | POST | `/api/v1/config/cache` | Toggle Redis cache |
|
||||
| 9 | POST | `/api/v1/config/auto-pipeline` | Toggle auto-pipeline on register |
|
||||
| 10 | POST | `/api/v1/config/watcher-auto-register` | Toggle watcher auto-register |
|
||||
|
||||
```bash
|
||||
curl http://localhost:3002/health
|
||||
|
||||
@@ -161,6 +161,8 @@ related_documents:
|
||||
| `GET` | `/api/v1/stats/sftpgo` | Internal |
|
||||
| `GET` | `/api/v1/stats/inference` | Internal |
|
||||
| `POST` | `/api/v1/config/cache` | Admin |
|
||||
| `POST` | `/api/v1/config/auto-pipeline` | Admin |
|
||||
| `POST` | `/api/v1/config/watcher-auto-register` | Admin |
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -158,6 +158,8 @@ related_documents:
|
||||
| 51 | GET | `/api/v1/stats/sftpgo` | SFTPGo 使用者狀態 | ✅ |
|
||||
| 52 | GET | `/api/v1/stats/inference` | 推理叢集健康狀態 | ✅ |
|
||||
| 53 | POST | `/api/v1/config/cache` | 切換快取開關 | ✅ |
|
||||
| 54 | POST | `/api/v1/config/auto-pipeline` | 註冊後自動處理 | ✅ |
|
||||
| 55 | POST | `/api/v1/config/watcher-auto-register` | Watcher 自動註冊 | ✅ |
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user