Go to documentation repository
Documentation for Axxon One 2.0. Documentation for other versions of Axxon One is available too.
GET http://IP address:port/prefix/camera/list—get all available original sources (cameras) of a domain.
The returned VIDEOSOURCEID identifiers will have the format as follows "HOSTNAME/ObjectType.Id/Endpoint.Name". Friendly name and other related metadata will also be returned.
Parameter | Required | Description |
---|---|---|
limit | No | Determines the maximum number of returned results, the default value is 1000 |
next_page | No | The value of the nextPageToken parameter, which will be in the response if the request returns not all results. It is used to get the following values |
filter | No | Allows you to get a subset of results according to the filter. Currently, it can have the HOSTNAME or VIDEOSOURCEID values Attention! If Office is specified as the Server name, then the GET http://IP-address:port/prefix/camera/list?filter=Office request will receive all video cameras of the Office Server. |
group_ids | No | List of the group identifiers to which the cameras must belong (see Get list of groups and their contents). You can specify several identifiers using the separator "|". For example: http://localhost:80/camera/list?group_ids=6af92229-43ff-0347-9dae-081bf9835733|b48111eb-64c5-294c-a69c-4adb07c954d1 In this case, the response will contain all cameras that belong at least to one of the specified groups |
query | No | Allows you to get a subset of results according to your search query |
Request sample 1:
GET http://127.0.0.1:80/camera/list?filter=hosts/Server1/DeviceIpint.1/SourceEndpoint.video:0:0
Response sample:
Parameter | Parameter description |
---|---|
archives | List of archives to which the camera is connected |
audioStreams | Audio stream |
comment | Comment |
camera_access | Access rights to the camera, where:
|
detectors | List of created detection tools |
displayId | Friendly identifier |
displayName | Name |
groups | List of groups to which the camera belongs |
ipAddress | IP address |
isActivated | True—the object is enabled, False—the object is disabled |
azimuth, latitude, longitude | The coordinates of the camera. Depending on the Server localization, the parameter values can be separated by either a period or a comma |
model | Model |
ptzs | PTZ devices, where:
|
textSources | Event sources |
vendor | Vendor |
videoStreams | Video streams |
rays | Rays |
Note
Starting with Axxon One version 2.0.10, the response will also contain information about the speakers:
..., "speakers" : [ { "accessPoint" : "hosts/SERVER/DeviceIpint.1/SinkEndpoint.0", "isActivated" : true } ], ...
Request sample 2:
GET http://127.0.0.1:80/camera/list?query.query=1.Camera&query.search_type=FUZZY&search_fields=DISPLAY_NAME&decorated_name_template={display_id}.{display_name}
Parameter | Parameter description |
---|---|
search_type | An integer or value that specifies which search type to use. Valid values are:
|
search_fields | A list of integers or values separated by the "|" character that specifies which fields must be searched. If a match is found, subsequent fields won't be searched. Valid values are:
|
decorated_name_template | A template that determines how the final search string is built, based on which the search will be performed. There are keywords that can be replaced by actual device values. The keywords are:
The default template is {display_id}.{display_name}. For example, for a device that has the "Camera" name and the short name "1", the final search string is "1.Camera" |
Response sample: