Get Alarm History
GET {{baseUrl}}/alarms/:alarmId/history?alarmHistorytype=STATE_HISTORY&page=&limit=576×tampGreaterThanOrEqualTo=2021-12-02T08:38:26.979Z×tampLessThan=2021-12-02T08:38:26.979Z
Get the history of the specified alarm. For important limits information, see Limits on Monitoring.
This call is subject to a Monitoring limit that applies to the total number of requests across all alarm operations. Monitoring might throttle this call to reject an otherwise valid request when the total rate of alarm operations exceeds 10 requests, or transactions, per second (TPS) for a given tenancy.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
alarmHistorytype | string | The type of history entries to retrieve. State history (STATE_HISTORY) or state transition history (STATE_TRANSITION_HISTORY). | |
If not specified, entries of both types are retrieved. |
Example: STATE_HISTORY
|
| page
| null | | For list pagination. The value of the opc-next-page
response header from the previous "List" call.
For important details about how pagination works, see List Pagination.
|
| limit
| number | | For list pagination. The maximum number of results per page, or items to return in a paginated "List" call.
For important details about how pagination works, see List Pagination.
Default: 1000
Example: 500
|
| timestampGreaterThanOrEqualTo
| string | | A filter to return only alarm history entries with timestamps occurring on or after the specified date and time. Format defined by RFC3339.
Example: 2019-01-01T01:00:00.789Z
|
| timestampLessThan
| string | | A filter to return only alarm history entries with timestamps occurring before the specified date and time. Format defined by RFC3339.
Example: 2019-01-02T01:00:00.789Z
|
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
opc-request-id | string | Customer part of the request identifier token. If you need to contact Oracle about a particular | |
request, please provide the complete request ID. | |||
Date | string | (Required) Current Date | |
Authorization | string | (Required) Signature Authentication on Authorization header |
RESPONSES
status: OK
{"alarmId":"cupidatat","entries":[{"summary":"irure esse o","timestamp":"1989-09-04T12:31:35.740Z","timestampTriggered":"2011-07-22T15:36:33.587Z"},{"summary":"occaecat irure Lorem tempor","timestamp":"1946-03-18T08:38:09.867Z","timestampTriggered":"1971-11-21T14:18:35.074Z"}],"isEnabled":false}