Skip to content

chore: sync OpenAPI spec from flashduty-docs + regenerate - #60

Merged
ysyneu merged 1 commit into
mainfrom
chore/monit-query-data-sdk
Aug 16, 2026
Merged

chore: sync OpenAPI spec from flashduty-docs + regenerate#60
ysyneu merged 1 commit into
mainfrom
chore/monit-query-data-sdk

Conversation

@ysyneu

@ysyneu ysyneu commented Aug 16, 2026

Copy link
Copy Markdown
Collaborator

变更

  • 同步 flashduty-docs 合并版 OpenAPI(zh/en)并重新生成 SDK。
  • 新增 Diagnostics.QueryData(POST /monit/query/data)+ QueryDataRequest / QueryDataResponse / QueryResult / QueryFrame / QueryField / QueryRecordsResult / QuerySamplesResult / QuerySample 类型。
  • QueryRows 注释标记 Deprecated,方法保留——迁移期 rows/data 并行。

验证

  • go generate ./... 无报错
  • go test ./... 全绿

Adds the structured query endpoint POST /monit/query/data
(monit-read-query-data) with the query_result.v1 model types, and marks
QueryRows deprecated in place — the legacy endpoint stays callable during
the migration period.
@ysyneu
ysyneu merged commit 3c68812 into main Aug 16, 2026
4 checks passed
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.

1 participant