Skip to main content
POST
/
api
/
event
/
getPolicyAlertCount
Get count of policy alerts
curl --request POST \
  --url https://api2.rhombussystems.com/api/event/getPolicyAlertCount \
  --header 'Content-Type: application/json' \
  --header 'x-auth-apikey: <api-key>' \
  --header 'x-auth-scheme: <x-auth-scheme>' \
  --data '
{
  "maxResultsSize": 1000
}
'
{
  "count": 42,
  "error": true,
  "errorMsg": "<string>",
  "warningMsg": "<string>"
}

Authorizations

x-auth-apikey
string
header
required

Your API key for Rhombus.

Headers

x-auth-scheme
string
default:api-token
required

Authentication scheme indicator ("api-token").

Required string length: 9

Body

application/json

Request object for retrieving the count of policy alerts.

maxResultsSize
integer<int32> | null

Maximum number of results to count

Example:

1000

Response

200 - application/json

OK

Response object containing the count of policy alerts.

count
integer<int32> | null

Count of policy alerts

Example:

42

error
boolean | null
errorMsg
string | null
warningMsg
string | null