Skip to main content
POST
/
api
/
policy
/
getCameraPolicies
Get camera policies
curl --request POST \
  --url https://api2.rhombussystems.com/api/policy/getCameraPolicies \
  --header 'Content-Type: application/json' \
  --header 'x-auth-apikey: <api-key>' \
  --header 'x-auth-scheme: <x-auth-scheme>' \
  --data '{}'
{
  "error": true,
  "errorMsg": "<string>",
  "policies": [
    {
      "defaultTriggers": [
        {
          "activity": "SOUND_LOUD",
          "faceAlertLabelSet": [
            "<string>"
          ],
          "faceAlertUnidentified": true,
          "faceAllowedLabelSet": [
            "<string>"
          ],
          "threshold": 123,
          "vehicleAlertLabelSet": [
            "<string>"
          ],
          "vehicleAlertUnidentified": true,
          "vehicleAllowedLabelSet": [
            "<string>"
          ]
        }
      ],
      "description": "<string>",
      "name": "<string>",
      "orgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
      "scheduledTriggers": [
        {
          "schedule": {
            "intervalList": [
              {
                "minuteOfWeekStart": 123,
                "minuteOfWeekStop": 123
              }
            ],
            "mutable": true,
            "name": "<string>",
            "oneTimeUse": true,
            "orgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
            "strategy": "WEEKLY_REPEATING_MINUTES",
            "uuid": "AAAAAAAAAAAAAAAAAAAAAA"
          },
          "triggerSet": [
            {
              "activity": "SOUND_LOUD",
              "faceAlertLabelSet": [
                "<string>"
              ],
              "faceAlertUnidentified": true,
              "faceAllowedLabelSet": [
                "<string>"
              ],
              "threshold": 123,
              "vehicleAlertLabelSet": [
                "<string>"
              ],
              "vehicleAlertUnidentified": true,
              "vehicleAllowedLabelSet": [
                "<string>"
              ]
            }
          ]
        }
      ],
      "uuid": "AAAAAAAAAAAAAAAAAAAAAA"
    }
  ],
  "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 getting all camera policies in the organization.

Response

200 - application/json

OK

Response object containing all camera policies in the organization.

error
boolean | null
errorMsg
string | null
policies
object[] | null

List of camera policies in the organization

warningMsg
string | null