482 B
482 B
获取事件列表
- GET /api/v1/events?start_time=2024-01-01T00:00:00&end_time=2024-12-31T23:59:59&etype=日常巡检&area=区域1&skip=0&limit=100
获取事件详情
- GET /api/v1/events/{event_id}
更新事件
- PUT /api/v1/events/{event_id} Content-Type: application/json
-
{ "name": "新名称", "area": "新区域", "processingRemark": "新备注" }
删除事件
- DELETE /api/v1/events/{event_id}
运行程序
- python run.py