Skip to content

[WIP] Range Query Past Incidents

POSThttps://${domain}/rosetta-open/incident/rangeQueryPastIncidents

We will provide a POST API to query incident fix records within a specified time range.

body params

*queryTypestring Defaults to fixedTime
fixedTime: fix time range query; reportedTime: report time query
*timeStartnumber Defaults to 1747995837000
time start (timestamp)
*timeEndnumber Defaults to 1747995837000
time end (timestamp)
Examples
shell
curl https://${domain}/rosetta-open/incident/rangeQueryPastIncidents \
 -X POST \
 -H 'Content-Type: application/json' \
 -H 'X-STARDUST-KEY: <X-STARDUST-KEY>' \
 -H 'X-TS: <X-TS>' \
 -H 'X-SIGN: <X-SIGN>' \
 -d '{"queryType":"fixedTime","timeStart":1747995837000,"timeEnd":1747995837000}'

Response Field Descriptions

Field NameTypeDescription
idnumberUnique identifier of the incident fix record.
incidentFixDescstringIncident Description
reportedTimenumberIncident reported time (timestamp).
fixedTimenumberIncident fixed time (timestamp).
incidentLevelstringIncident impact level (High/Medium).
dataIntegritystringCategories of Data Export Issues.
downtimenumberDowntime caused by incident.

responses

2000
{
"code": 2000,
"message": "Success",
"data": [
{...}
],
"date": "2025-03-13 20:00:00",
"requestId": "7610aa38c0fc409d98c827a879d9cae5",
"success": true
}
5000
{
"code": 5000,
"data": null,
"message": "Service hiccuped, please try again later.",
"date": "2025-03-13 20:00:00",
"requestId": "864b70706a7349ea83e177a49800464f",
"success": false
}