Skip to content

docs(monitors): 移除已下线的规则与查询 API - #319

Closed
UlricQin wants to merge 1 commit into
mainfrom
codex/retire-monit-legacy-apis-20260827
Closed

docs(monitors): 移除已下线的规则与查询 API#319
UlricQin wants to merge 1 commit into
mainfrom
codex/retire-monit-legacy-apis-20260827

Conversation

@UlricQin

Copy link
Copy Markdown
Member

变更说明

  • 从中英文 Monitors OpenAPI 和聚合 OpenAPI 中移除:
    • POST /monit/rule/status
    • POST /monit/preview/sync
    • POST /monit/query/rows
  • 移除 QueryRows 相关 schema,保留独立的 QueryDataRequest。
  • 同步导航、API 目录、CLI/Go SDK 文档和接口计数。
  • 最新聚合 OpenAPI 为 335 个接口,Monitors 为 39 个接口。

关联 WebAPI PR:https://github.com/flashcatcloud/monit-webapi/pull/94

验证

  • 所有修改后的 OpenAPI JSON 均通过解析。
  • mint validate 通过。

@ysyneu

ysyneu commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Superseded by #322, which covers the same retirement of /monit/rule/status, /monit/preview/sync and /monit/query/rows (specs, catalog, CLI/SDK references — the cli.mdx / go-sdk.mdx updates from this PR are absorbed there) and additionally syncs the full specs with current backend handlers.

Two deliberate differences:

  • api-reference/openapi.legacy.zh.json is left untouched — it is a frozen historical export, kept read-only by convention.
  • The retired QueryRowsRequest schema is kept because the live QueryDataRequest (/monit/query/data) still references it.

Thanks for the cleanup — the nav entries were already dropped in 7ff481b, so #322 completes the remaining surfaces.

@ysyneu ysyneu closed this Aug 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants