modify: sophon 视频文件上传、告警接口

This commit is contained in:
2026-07-28 14:15:03 +08:00
parent f95857f1f0
commit 6c616e62ae
2 changed files with 33 additions and 0 deletions
@@ -0,0 +1,13 @@
# list_alarms — 查询告警记录列表
[GET]
summary = "查询告警记录列表"
docstring = "分页查询所有告警记录,支持按设备、类型筛选"
params = ["board_id: str", "summary: str", "page: int", "page_size: int"]
auth_required = false
[GET.response_model]
alarms = { type = "list[dict]", required = true }
total = { type = "int", required = true }
page = { type = "int", required = true }
page_size = { type = "int", required = true }