Skip to content

docs(api): require a time range of at most 31 days on the alert event list - #1041

Merged
ysyneu merged 1 commit into
feat/event-list-time-rangefrom
docs/event-list-time-range
Oct 12, 2026
Merged

ysyneu merged 1 commit into
feat/event-list-time-rangefrom
docs/event-list-time-range

Conversation

@ysyneu

@ysyneu ysyneu commented Oct 10, 2026

Copy link
Copy Markdown
Contributor

POST /alert-event/list now requires start_time and end_time (Unix seconds). start_time must be less than end_time and the span must not exceed 31 days; otherwise the API returns HTTP 400 InvalidParameter.

Updates the request schema (required fields, descriptions) and the usage notes in the zh and en specs (on-call.openapi.*.json, openapi.*.json). The wording follows the existing /alert/list entry.

… list

start_time and end_time are now required on /alert-event/list.
start_time must be less than end_time and the span must not exceed 31 days.
@ysyneu
ysyneu merged commit 9b37511 into feat/event-list-time-range Oct 12, 2026
2 checks passed
@ysyneu
ysyneu deleted the docs/event-list-time-range branch October 12, 2026 08:31
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