naiba / nezha

:trollface: Self-hosted, lightweight server and website monitoring and O&M tool
https://nezha.wiki
Apache License 2.0
7.27k stars 1.27k forks source link

add "network page" api #460

Closed uubulb closed 2 weeks ago

uubulb commented 2 weeks ago

增加两个 api 以替代原来的 network 页

  1. listServiceHistory 和原来的 /api/v1/monitor/{id} 效果一样
  2. listServerWithServices 获取所有存在服务的服务器 id

另更改 listService 为可选验证(和原先一致)