Go to documentation repository
GET http://IP- address:port/web2/secure/configuration?pageItems={pageItems}&page={page}&pageItems{objectClass}={objectClass}&{objectId}={pageItemsobjectId}
| Parameter | Is requiredRequired | Description | ||
|---|---|---|---|---|
| pageItems | No | SetsSpecifies the number of objects displayed on the page. | The value must be greater than 0, by default page=1000. | The The page parameter only applies when the pageItems parameter is specified |
| page | No | SetsSpecifies the page number displayed as a result of the request. The value must be greater than 0, by default pageItems=1 | ||
| objectClass | No | Identifier of an object class. Example: GRELE, MACRO, CAM | ||
| objectId | No | Object class and object Id, separated by a colon. Examples: CAM:1, GRAY:5, PEOPLE_COUNTER:1 |
| Note | ||
|---|---|---|
| ||
If there are many objects in the system (>1000) they are to be displayed by pages., you must use a page-by-page display. |
All objects are processed page by page Processing of all objects is performed page by pare until an empty array is received.
GET http://127.0.0.1:8085/web2/secure/configuration
The request returns the list of the following objects with states:
JSON:
| Expand | |||||
|---|---|---|---|---|---|
| |||||
|
...
|
...
|
XML:
| Expand | |||||
|---|---|---|---|---|---|
| |||||
|
...
|
...
|
| Parameter | Description | |
|---|---|---|
| General parameters | ||
extId | Object ID | |
id | Object type and ID in the format TYPE:ID | |
name | Object name | |
state | Object state. The description of the <id>, <type> and <fullState> description parameters see in State of a specific object | |
type | Object type | |
| Specific parameters | ||
cams | List of cameras added to the RTSP Server with semicolon as a separatorseparated by a semicolon | |
port | Port used by the RTSP Server | |
| regionDescription | Region description | |
regionId | ID of the region to which the object is added | |
| regionName | Region name | |
| zoneId | ID of the zone to which the object is added | |
| zoneName | Zone name | |
| latitide | Latitude (object coordinate). The parameter has non-zero value if:
| |
| longitude | Longitude (object coordinate). The parameter has non-zero value if:
| |
| monitorId | For camera: ID of the monitor to which the camera is added. If If there are several IDs, they are separated by a semicolon ";" | |
| monitorName | For monitor: name of the monitor | |
| geo_angle | For camera: viewing angle (for camera, see Configuring the camera viewing angle display on the Map) | |
| additionalInfo | For camera: the value of the Additional info field value | |
| linkedObjects | For camera: list of connected objects, separated by comma | |
| micId | For camera: the ID of the associated connected microphone | |
| presets | For camera: preset list | |
| speakerId | For camera: the ID of the associatedconnected speaker | |
| telemetryId | For camera: the ID of the PTZ control panel | |
| displayId | For interface objects: display ID. If there are several IDs, they are separated by a semicolon ";" | |
| displayName | For display: display name | |
| camList | For monitor: IDs of cameras added to the monitor separated by a semicolon | ";"|