docs: update README with notifications, assign, retry, new CLI commands

This commit is contained in:
Zhi
2026-02-23 00:11:39 +00:00
parent 0a8b18729b
commit 9f276464b2

View File

@@ -2,7 +2,7 @@
Agent/人类协同任务管理平台 - FastAPI 后端
## API Endpoints (30)
## API Endpoints (38)
### Auth
- `POST /auth/token` - 登录获取 JWT token
@@ -63,6 +63,18 @@ Agent/人类协同任务管理平台 - FastAPI 后端
- `GET /milestones/{id}/issues` - 里程碑下的 issue 列表
- `GET /milestones/{id}/progress` - 里程碑完成进度
### Notifications
- `GET /notifications` - 列表(支持 user_id, unread_only 过滤)
- `GET /notifications/count` - 未读通知计数
- `POST /notifications/{id}/read` - 标记已读
- `POST /notifications/read-all` - 全部标记已读
### Issue Assignment
- `POST /issues/{id}/assign` - 指派 issue自动发送通知
### Webhook Retry
- `POST /webhooks/{id}/retry/{log_id}` - 重试失败的 webhook 投递
### Export
- `GET /export/issues` - 导出 issues CSV
- `GET /issues/overdue` - 逾期未完成的 issue
@@ -83,6 +95,10 @@ python3 cli.py transition <issue_id> <new_status>
python3 cli.py stats [-p project_id]
python3 cli.py projects
python3 cli.py users
python3 cli.py milestones [-p project_id]
python3 cli.py milestone-progress <milestone_id>
python3 cli.py notifications -u <user_id> [--unread]
python3 cli.py overdue [-p project_id]
python3 cli.py health
python3 cli.py version
```