Skip to main content
Skip table of contents

Get event types in an event group

Types of events in a group

Permission for this route - events-index

user_logs - Actions of administrators

admin_logs - User actions

bolid_events - Events from security system devices

camera_events - Events from cameras

camera_logs - Logs of user actions from cameras

system_user_events - User system events

system_camera_events - System camera events

system_common_events - Common system events

system_server_events - System events of video stream servers

bridge_logs - System events of video stream servers

intercom_logs - Logs of user actions from cameras

intercom_events - Events from intercoms

GET /api/admin/v1/events/types

array groups REQUIRED, List of event groups.

200 OK

Successful response

JSON
[
    {
        "id": 109,
        "name": "special.analytic_group.store",
        "display_name": "Creating a resource group as a temporary user",
        "group": "User Actions"
    },
    {
        "id": 110,
        "name": "special.analytic_group.update",
        "display_name": "Updating resource group by temporary user",
        "group": "User Actions"
    },
    {
        "id": 111,
        "name": "special.analytic_group.destroy",
        "display_name": "Deleting a resource group by a temporary user",
        "group": "User Actions"
    },
    {
        "id": 112,
        "name": "special.analytic_file.store",
        "display_name": "Creating analytics resource by temporary user",
        "group": "User Actions"
    },
    {
        "id": 113,
        "name": "special.analytic_file.update",
        "display_name": "Updating analytics resource by temporary user",
        "group": "User Actions"
    },
    {
        "id": 114,
        "name": "special.analytic_file.detach",
        "display_name": "Temporary user sharing of analytics resource",
        "group": "User Actions"
    },
    {
        "id": 115,
        "name": "special.analytic_file.destroy",
        "display_name": "Deleting an analytics resource by a temporary user",
        "group": "User Actions"
    },
    {
        "id": 116,
        "name": "special.analytic_file.batch_destroy",
        "display_name": "Bulk Delete Analytics Resources by Temporary User",
        "group": "User Actions"
    },
    {
        "id": 117,
        "name": "special.analytic_case.store",
        "display_name": "Creating a business case by a temporary user",
        "group": "User Actions"
    },
    {
        "id": 118,
        "name": "special.analytic_case.store_fail",
        "display_name": "Error Creating Business Case by Temporary User",
        "group": "User Actions"
    },
    {
        "id": 119,
        "name": "special.analytic_case.update",
        "display_name": "Updating a business case by a temporary user",
        "group": "User Actions"
    },
    {
        "id": 120,
        "name": "special.analytic_case.destroy",
        "display_name": "Deleting a business case by a temporary user",
        "group": "User Actions"
    },
    {
        "id": 121,
        "name": "special.bridge.attach",
        "display_name": "Adding a device as a temporary user",
        "group": "User Actions"
    },
    {
        "id": 122,
        "name": "special.bridge.patch",
        "display_name": "Device update by temporary user",
        "group": "User Actions"
    },
    {
        "id": 123,
        "name": "special.bridge.detach",
        "display_name": "Deleting a device by a temporary user",
        "group": "User Actions"
    },
    {
        "id": 124,
        "name": "special.group.store",
        "display_name": "Creating a camera group as a temporary user",
        "group": "User Actions"
    },
    {
        "id": 125,
        "name": "special.group.update",
        "display_name": "Updating camera group by temporary user",
        "group": "User Actions"
    },
    {
        "id": 126,
        "name": "special.group.destroy",
        "display_name": "Deleting a camera group by a temporary user",
        "group": "User Actions"
    },
    {
        "id": 127,
        "name": "special.layout.store",
        "display_name": "Creating layout by temporary user",
        "group": "User Actions"
    },
    {
        "id": 128,
        "name": "special.layout.update",
        "display_name": "Layout update by temporary user",
        "group": "User Actions"
    },
    {
        "id": 129,
        "name": "special.layout.destroy",
        "display_name": "Deleting a layout by a temporary user",
        "group": "User Actions"
    },
    {
        "id": 130,
        "name": "special.map.store",
        "display_name": "Map creation by temporary user",
        "group": "User Actions"
    },
    {
        "id": 131,
        "name": "special.map.update",
        "display_name": "Temporary user updating map",
        "group": "User Actions"
    },
    {
        "id": 132,
        "name": "special.map.destroy",
        "display_name": "Removing card by temporary user",
        "group": "User Actions"
    },
    {
        "id": 133,
        "name": "special.script.store",
        "display_name": "Creating a reaction by a temporary user",
        "group": "User Actions"
    },
    {
        "id": 134,
        "name": "special.script.update",
        "display_name": "Reaction update by temporary user",
        "group": "User Actions"
    },
    {
        "id": 135,
        "name": "special.script.destroy",
        "display_name": "Removing reaction by temporary user",
        "group": "User Actions"
    },
    {
        "id": 136,
        "name": "special.subuser.store",
        "display_name": "Creating a sub-user",
        "group": "User Actions"
    },
    {
        "id": 137,
        "name": "special.subuser.update",
        "display_name": "Update Sub-User",
        "group": "User Actions"
    },
    {
        "id": 138,
        "name": "special.subuser.destroy",
        "display_name": "Delete sub-user",
        "group": "User Actions"
    },
    {
        "id": 139,
        "name": "user.analytic_group.store",
        "display_name": "User creating resource group",
        "group": "User Actions"
    },
    {
        "id": 140,
        "name": "user.analytic_group.update",
        "display_name": "User updating resource group",
        "group": "User Actions"
    },
    {
        "id": 141,
        "name": "user.analytic_group.destroy",
        "display_name": "Deleting a resource group by user",
        "group": "User Actions"
    },
    {
        "id": 142,
        "name": "user.analytic_file.store",
        "display_name": "User creating analytics resource",
        "group": "User Actions"
    },
    {
        "id": 143,
        "name": "user.analytic_file.update",
        "display_name": "User updating analytics resource",
        "group": "User Actions"
    },
    {
        "id": 144,
        "name": "user.analytic_file.detach",
        "display_name": "User allocation of analytics resource",
        "group": "User Actions"
    },
    {
        "id": 145,
        "name": "user.analytic_file.destroy",
        "display_name": "User deleting analytics resource",
        "group": "User Actions"
    },
    {
        "id": 146,
        "name": "user.analytic_file.batch_destroy",
        "display_name": "Bulk Delete Analytics Resources by User",
        "group": "User Actions"
    },
    {
        "id": 147,
        "name": "user.analytic_case.store",
        "display_name": "Creating a business case by the user",
        "group": "User Actions"
    },
    {
        "id": 148,
        "name": "user.analytic_case.store_fail",
        "display_name": "Error Creating Business Case by User",
        "group": "User Actions"
    },
    {
        "id": 149,
        "name": "user.analytic_case.update",
        "display_name": "User updating business case",
        "group": "User Actions"
    },
    {
        "id": 150,
        "name": "user.analytic_case.destroy",
        "display_name": "Deleting a business case by the user",
        "group": "User Actions"
    },
    {
        "id": 151,
        "name": "user.bridge.attach",
        "display_name": "User adding device",
        "group": "User Actions"
    },
    {
        "id": 152,
        "name": "user.bridge.patch",
        "display_name": "Device update by user",
        "group": "User Actions"
    },
    {
        "id": 153,
        "name": "user.bridge.detach",
        "display_name": "Deleting device by user",
        "group": "User Actions"
    },
    {
        "id": 154,
        "name": "user.group.store",
        "display_name": "Creating a camera group by user",
        "group": "User Actions"
    },
    {
        "id": 155,
        "name": "user.group.update",
        "display_name": "User updating camera group",
        "group": "User Actions"
    },
    {
        "id": 156,
        "name": "user.group.destroy",
        "display_name": "Deleting a camera group by user",
        "group": "User Actions"
    },
    {
        "id": 157,
        "name": "user.layout.store",
        "display_name": "User created layout",
        "group": "User Actions"
    },
    {
        "id": 158,
        "name": "user.layout.update",
        "display_name": "Updating layout by user",
        "group": "User Actions"
    },
    {
        "id": 159,
        "name": "user.layout.destroy",
        "display_name": "Deleting layout by user",
        "group": "User Actions"
    },
    {
        "id": 160,
        "name": "user.map.store",
        "display_name": "Creating map by user",
        "group": "User Actions"
    },
    {
        "id": 161,
        "name": "user.map.update",
        "display_name": "User updating map",
        "group": "User Actions"
    },
    {
        "id": 162,
        "name": "user.map.destroy",
        "display_name": "User deleting map",
        "group": "User Actions"
    },
    {
        "id": 163,
        "name": "user.script.store",
        "display_name": "Creating a user reaction",
        "group": "User Actions"
    },
    {
        "id": 164,
        "name": "user.script.update",
        "display_name": "User reaction update",
        "group": "User Actions"
    },
    {
        "id": 165,
        "name": "user.script.destroy",
        "display_name": "Removing user reaction",
        "group": "User Actions"
    },
    {
        "id": 166,
        "name": "user.subuser.store",
        "display_name": "Creating a sub-user",
        "group": "User Actions"
    },
    {
        "id": 167,
        "name": "user.subuser.update",
        "display_name": "Update Sub-User",
        "group": "User Actions"
    },
    {
        "id": 168,
        "name": "user.subuser.destroy",
        "display_name": "Delete sub-user",
        "group": "User Actions"
    },
    {
        "id": 169,
        "name": "subuser.analytic_group.store",
        "display_name": "Creating resource group by sub-user",
        "group": "User Actions"
    },
    {
        "id": 170,
        "name": "subuser.analytic_group.update",
        "display_name": "Updating resource group by sub-user",
        "group": "User Actions"
    },
    {
        "id": 171,
        "name": "subuser.analytic_group.destroy",
        "display_name": "Deleting a resource group by sub-user",
        "group": "User Actions"
    },
    {
        "id": 172,
        "name": "subuser.analytic_file.store",
        "display_name": "Creating analytics resource by sub-user",
        "group": "User Actions"
    },
    {
        "id": 173,
        "name": "subuser.analytic_file.update",
        "display_name": "Updating analytics resource by sub-user",
        "group": "User Actions"
    },
    {
        "id": 174,
        "name": "subuser.analytic_file.detach",
        "display_name": "Separating the analytics resource by sub-user",
        "group": "User Actions"
    },
    {
        "id": 175,
        "name": "subuser.analytic_file.destroy",
        "display_name": "Deleting an analytics resource by a sub-user",
        "group": "User Actions"
    },
    {
        "id": 176,
        "name": "subuser.analytic_file.batch_destroy",
        "display_name": "Bulk Delete Analytics Resources by Sub-User",
        "group": "User Actions"
    },
    {
        "id": 177,
        "name": "subuser.analytic_case.store",
        "display_name": "Creating a business case by a sub-user",
        "group": "User Actions"
    },
    {
        "id": 178,
        "name": "subuser.analytic_case.store_fail",
        "display_name": "Error Creating a business case by sub-user",
        "group": "User Actions"
    },
    {
        "id": 179,
        "name": "subuser.analytic_case.update",
        "display_name": "Business case update by sub-user",
        "group": "User Actions"
    },
    {
        "id": 180,
        "name": "subuser.analytic_case.destroy",
        "display_name": "Deleting a business case by a sub-user",
        "group": "User Actions"
    },
    {
        "id": 181,
        "name": "subuser.bridge.attach",
        "display_name": "Adding a device as a sub-user",
        "group": "User Actions"
    },
    {
        "id": 182,
        "name": "subuser.bridge.patch",
        "display_name": "Device update by sub-user",
        "group": "User Actions"
    },
    {
        "id": 183,
        "name": "subuser.bridge.detach",
        "display_name": "Removing device by sub-user",
        "group": "User Actions"
    },
    {
        "id": 184,
        "name": "subuser.group.store",
        "display_name": "Creating a camera group by sub-user",
        "group": "User Actions"
    },
    {
        "id": 185,
        "name": "subuser.group.update",
        "display_name": "Updating camera group by sub-user",
        "group": "User Actions"
    },
    {
        "id": 186,
        "name": "subuser.group.destroy",
        "display_name": "Deleting a camera group by sub-user",
        "group": "User Actions"
    },
    {
        "id": 187,
        "name": "subuser.layout.store",
        "display_name": "Creating layout by sub-user",
        "group": "User Actions"
    },
    {
        "id": 188,
        "name": "subuser.layout.update",
        "display_name": "Updating layout by sub-user",
        "group": "User Actions"
    },
    {
        "id": 189,
        "name": "subuser.layout.destroy",
        "display_name": "Removing layout by sub-user",
        "group": "User Actions"
    },
    {
        "id": 190,
        "name": "subuser.map.store",
        "display_name": "Map creation by sub-user",
        "group": "User Actions"
    },
    {
        "id": 191,
        "name": "subuser.map.update",
        "display_name": "Updating map by sub-user",
        "group": "User Actions"
    },
    {
        "id": 192,
        "name": "subuser.map.destroy",
        "display_name": "Removing card by sub-user",
        "group": "User Actions"
    },
    {
        "id": 193,
        "name": "subuser.script.store",
        "display_name": "Creating a sub-user reaction",
        "group": "User Actions"
    },
    {
        "id": 194,
        "name": "subuser.script.update",
        "display_name": "Reaction update by sub-user",
        "group": "User Actions"
    },
    {
        "id": 195,
        "name": "subuser.script.destroy",
        "display_name": "Removing sub-user reaction",
        "group": "User Actions"
    }
]

401 Unauthorized

Authorization token not sent or not valid

cURL
BASH
curl -k --request POST \
	--url 'https://your-domain/api/admin/v1/events/types' \
	--header 'Content-Type: application/json' \
	--header 'Accept: application/json' \
	--data '{
    "groups": []
}'
PHP
PHP
$data = array (
  'groups' => 
  array (
  ),
);
$context = stream_context_create([
	'ssl'=>['verify_peer' => false],
	'http' => [
		'method' => 'GET',
		'header' => "Content-Type: application/json\r
Accept: application/json",
		'content'=>json_encode($data)
	]
]);
$result = file_get_contents('https://your-domain/api/admin/v1/events/types', false, $context);
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.