GET /cameras
Changed onThis endpoint allows you to retrieve a list of cameras associated with the account, with the ability to filter by account ID, location ID, bridge ID, multi-camera ID, and tags. It also supports pagination and the ability to include additional information about cameras. It is important to note that after using the pageSize parameter, the "totalSize" in the response represents the total number of available cameras, not the number of cameras resulting from the query string.
Request
- Base URLhttps://api.cxxx.eagleeyenetworks.com/api/v3.0
- URLhttps://api.cxxx.eagleeyenetworks.com/api/v3.0/cameras
- AuthHTTP bearer
Query parameters
List of Location IDs to filter on that is comma separated.
[ "2428fda3-389f-48ce-b062-85875dd6b2e2" ]
List of Bridge IDs to filter on that is comma separated.
[ "00001106", "00001107" ]
Filter to get cameras with given multiCameraId. multiCameraId=null returns cameras that are not multi camera cameras.
Filter to get cameras with multiCameraId that is not equal to given value.
List of multi camera IDs to filter on that is comma seperated.
[ "00001106", "00001107" ]
Only return cameras that have all tags in the list, separated by commas.
[ "string" ]
Only return cameras that have one or more of the tags in the list, separated by commas.
[ "string" ]
Only return cameras that have enabled all packages in the list, separated by commas.
[ "een.vsp" ]
Filter to get cameras that are part of the given layout.
Filter to get the cameras whose the name contains the provided substring. The lookup is exact and case insensitive
Filter to get the cameras whose name is on the provided list. The lookup is exact and case insensitive.
Filter to get the cameras with the specified name. The lookup is exact and case insensitive.
Filter to get the cameras whose id is on the provided list. The lookup is exact and case insensitive.
Filter to exlude the cameras whose ids are in the provided list. The lookup is exact and case insensitive.
Filter to get the cameras whose the id contains the provided substring. The lookup is exact and case insensitive
If set to true, only cameras that are shared with the current account by another account will be returned. If set to false, the cameras that are shared with the current account will be filtered out.
Filter to get the cameras that are shared from the provided account.
If set to true, only cameras that are shared with the current account using the "First responder" feature will be returned. If set to false, the cameras that are shared with the current account using the "First responder" feature will be filtered out.
If set to true, only cameras that connect directly to the VMS cloud, and not through a bridge will be returned. If set to false, the cameras that connect directly to the VMS cloud will be filtered out.
Filter to get cameras that are a part of the given speaker esn.
Filter to get cameras whose speakerId is not equal to the given value. Use speakerId__ne=null to return only cameras that have a speakerId assigned.
Text search that is applied to multiple fields. The fields being searched are defined by the backend and can be changed without warning. Example fields being searched are metadata fields of the camera itself such as id, name, notes, timezone, multiCameraId, speakerId and tags; the important ids such as accountId, bridgeId, and, locationId, and metadata of important linked resources such as the location, bridge, share details, device position, device info and the viewports configured for the camera.
Sets the current minimum similarity threshold that is used with the q parameter. The threshold must be between 0 and 1 (float, default is 0.5).
Only return cameras that have enabled all analytics in the comma-separated list.
[ "een.tamperDetectionEvent.v1" ]
Filter to get the devices with the specified status. The lookup is exact and case insensitive.
Filter to get the devices with status that is not equal to the provided value. The lookup is exact and case insensitive.
Token string value that references a page for pagination. This value is received when retrieving the first page in the nextPageToken and prevPageToken fields. When a pageToken is provided, the backend remembers search parameters from the original request, so search parameters that affect the result set or order are optional and will be ignored if provided. Representation parameters like include should still be applied.
The number of entries to return per page. The maximum range of valid page sizes is documented with minimum and maximum values, but the range might be further limited dynamically based on the requested information, account, and system status. Values outside of the (dynamic) allowed range will not result in an error, but will be clamped to the nearest limit. Thus, logic to detect the last page should not be based on comparing the requested size with the received size, but on the existence of a nextPageToken value.
Comma separated list of of fields that should be sorted.
- sort= - not providing any value will result in error 400
- sort=+name,+name - same values will result in error 400
- sort=-name,+name - mutially exclusive values will return error 400
- maxItem=3 - Only Three values will be accepted, more will return error 400
- qRelevance is optional ordering parameter which is available if q filter is used, if q filter is not passed qRelevance as ordering parameter will return error 400
Response
OK
Example response
{
"results": [
{
"name": "My new device",
"bridgeId": "1000f60d",
"locationId": "2428fda3-389f-48ce-b062-85875dd6b2e2",
"createTimestamp": "2023-04-04T09:38:37.372Z",
"statusV2": {
"cloudConnectionStatus": "connected",
"edgeReportedDeviceStatus": "operational",
"deviceSpecificError": "generalDeviceError"
},
"bridgeSummary": {
"id": "1000f60d",
"name": "Front Lobby Bridge"
},
"speakerId": "10039dab",
"timeZone": {
"zone": "America/Chicago"
},
"notes": "Painted black to better blend with its environment.",
"devicePosition": {
"latitude": 52.3074013,
"longitude": 4.9459903,
"azimuth": 7.419435,
"rangeInMeters": 50.4,
"floor": 50,
"fieldOfView": 100
},
"networkInfo": {
"globalIP": "10.143.55.140",
"ipUsedByBridge": "10.143.55.140",
"adapters": [
{
"macAddress": "8A:D4:AD:09:DF:91",
"ipAddress": "10.143.55.140"
}
]
},
"deviceInfo": {
"guid": "ddfa5b34-5d04-431e-8287-110fe87edf71"
},
"firmware": {
"currentVersion": "v20211019_542_3022"
},
"visibleByBridges": [
"1000f60d"
],
"shareDetails": {
"accountId": "00009983",
"accountName": "EEN Demo."
},
"analog": {
"input": 1
},
"packages": [
"een.vsp",
"een.pos"
],
"dewarpConfig": {
"cameraId": "1007ff4e",
"fov": 180,
"curve": "equidistant",
"mount": "ceiling",
"scale": {
"x": 0.5,
"y": 0.5
},
"offset": {
"x": 0.5,
"y": 0.5
},
"composites": [
{
"id": "41770c16-600f-4ad5-a0d0-1fb96905603e",
"name": "Quad view",
"aspect": 1.77778,
"panes": [
{
"x": "50%",
"y": "50%",
"width": "50%",
"height": "50%",
"shader": "sphere",
"fov": 45,
"lookAt": {
"x": 1,
"y": -1,
"z": 0.5
}
}
]
}
]
},
"enabledAnalytics": [
{
"creatorId": "een.bridgeTampering",
"type": "een.tamperDetectionEvent.v1"
}
],
"qRelevance": 0.5
}
]
}Changes
- breaking
for the
queryrequest parametersort, default value was changed from+firstNameto+name - breaking
removed the enum value
+createTimestampfrom the propertyitems/of thequeryrequest parametersort - breaking
removed the enum value
+emailfrom the propertyitems/of thequeryrequest parametersort - breaking
removed the enum value
+firstNamefrom the propertyitems/of thequeryrequest parametersort - breaking
removed the enum value
+lastNamefrom the propertyitems/of thequeryrequest parametersort - breaking
removed the enum value
+loginDetails.lastLoginfrom the propertyitems/of thequeryrequest parametersort - breaking
removed the enum value
+permissions.administratorfrom the propertyitems/of thequeryrequest parametersort - breaking
removed the enum value
+status.loginStatus.activefrom the propertyitems/of thequeryrequest parametersort - breaking
removed the enum value
+status.loginStatus.blockedfrom the propertyitems/of thequeryrequest parametersort - breaking
removed the enum value
+status.loginStatus.pendingfrom the propertyitems/of thequeryrequest parametersort - breaking
removed the enum value
-createTimestampfrom the propertyitems/of thequeryrequest parametersort - breaking
removed the enum value
-emailfrom the propertyitems/of thequeryrequest parametersort - breaking
removed the enum value
-firstNamefrom the propertyitems/of thequeryrequest parametersort - breaking
removed the enum value
-lastNamefrom the propertyitems/of thequeryrequest parametersort - breaking
removed the enum value
-loginDetails.lastLoginfrom the propertyitems/of thequeryrequest parametersort - breaking
removed the enum value
-permissions.administratorfrom the propertyitems/of thequeryrequest parametersort - breaking
removed the enum value
-status.loginStatus.activefrom the propertyitems/of thequeryrequest parametersort - breaking
removed the enum value
-status.loginStatus.blockedfrom the propertyitems/of thequeryrequest parametersort - breaking
removed the enum value
-status.loginStatus.pendingfrom the propertyitems/of thequeryrequest parametersort - breaking
removed the enum value
contactDetailsfrom the propertyitems/of thequeryrequest parameterinclude - breaking
removed the enum value
layoutSettingsfrom the propertyitems/of thequeryrequest parameterinclude - breaking
removed the enum value
loginDetailsfrom the propertyitems/of thequeryrequest parameterinclude - breaking
removed the enum value
permissionsfrom the propertyitems/of thequeryrequest parameterinclude - breaking
removed the enum value
previewSettingsfrom the propertyitems/of thequeryrequest parameterinclude - breaking
removed the enum value
schemafrom the propertyitems/of thequeryrequest parameterinclude - breaking
removed the enum value
supportfrom the propertyitems/of thequeryrequest parameterinclude - breaking
removed the enum value
timeSettingsfrom the propertyitems/of thequeryrequest parameterinclude - breaking
for the
queryrequest parameterid__in, the type changed fromstringtoarray - info
added the enum value
+bridgeSummary.nameto the propertyitems/of thequeryrequest parametersort - info
added the enum value
+locationSummary.nameto the propertyitems/of thequeryrequest parametersort - info
added the enum value
+nameto the propertyitems/of thequeryrequest parametersort - info
added the enum value
-bridgeSummary.nameto the propertyitems/of thequeryrequest parametersort - info
added the enum value
-locationSummary.nameto the propertyitems/of thequeryrequest parametersort - info
added the enum value
-nameto the propertyitems/of thequeryrequest parametersort - info
added the enum value
adminCredentialsto the propertyitems/of thequeryrequest parameterinclude - info
added the enum value
analogto the propertyitems/of thequeryrequest parameterinclude - info
added the enum value
bridgeSummaryto the propertyitems/of thequeryrequest parameterinclude - info
added the enum value
capabilitiesto the propertyitems/of thequeryrequest parameterinclude - info
added the enum value
deviceAddressto the propertyitems/of thequeryrequest parameterinclude - info
added the enum value
deviceInfoto the propertyitems/of thequeryrequest parameterinclude - info
added the enum value
devicePositionto the propertyitems/of thequeryrequest parameterinclude - info
added the enum value
dewarpConfigto the propertyitems/of thequeryrequest parameterinclude - info
added the enum value
enabledAnalyticsto the propertyitems/of thequeryrequest parameterinclude - info
added the enum value
firmwareto the propertyitems/of thequeryrequest parameterinclude - info
added the enum value
networkInfoto the propertyitems/of thequeryrequest parameterinclude - info
added the enum value
notesto the propertyitems/of thequeryrequest parameterinclude - info
added the enum value
packagesto the propertyitems/of thequeryrequest parameterinclude - info
added the enum value
publicSafetySharingto the propertyitems/of thequeryrequest parameterinclude - info
added the enum value
shareDetailsto the propertyitems/of thequeryrequest parameterinclude - info
added the enum value
statusV2to the propertyitems/of thequeryrequest parameterinclude - info
added the enum value
tagsto the propertyitems/of thequeryrequest parameterinclude - info
added the enum value
visibleByBridgesto the propertyitems/of thequeryrequest parameterinclude
- breaking