GET api/v1/alerts/Summary

Returns the summary of the alerts (counts of each type)

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

AlertSummaryViewModel
NameDescriptionTypeAdditional information
CriticalCount

integer

None.

ErrorCount

integer

None.

WarningCount

integer

None.

InfoCount

integer

None.

ActionRequiredCount

integer

None.

Response Formats

application/json, text/json, application/senml+json

Sample:
{
  "CriticalCount": 1,
  "ErrorCount": 2,
  "WarningCount": 3,
  "InfoCount": 4,
  "ActionRequiredCount": 5
}

application/xml, text/xml

Sample:
<AlertSummaryViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Alerts">
  <ActionRequiredCount>5</ActionRequiredCount>
  <CriticalCount>1</CriticalCount>
  <ErrorCount>2</ErrorCount>
  <InfoCount>4</InfoCount>
  <WarningCount>3</WarningCount>
</AlertSummaryViewModel>