Go to documentation repository
Previous page Next page
The request returns a list of server cameras. The response contains links to the RTSP streams that are distributed and received by each camera. At the same time, you must create the key SpecialMode=1 in the HKEY_LOCAL_MACHINE\SOFTWARE\AxxonSoft\PSIM\WebServer registry section (for more details, see Registry keys reference guide; for more details on how to work with the registry, see the Working with Windows OS registry subsection).
General request format:
GET http://IP address:port/GetAllDeviceList
Request example:
GET http://1:1@172.19.2.170:80/GetAllDeviceList
Request example:
GET http://1:1@172.19.2.170:80/GetAllDeviceList
Response example:
{
"GroupList": [
{
"RecServerId": "MUKHAMED",
"RecServerName": "MUKHAMED",
"Ip": "127.0.0.1",
"CameraList": [
{
"CameraId": 1,
"CameraName": "Camera 1",
"ResourceType": "Camera",
"Ip": "",
"MainStream": "rtsp://172.19.2.170/1",
"SubStream": "rtsp://172.19.2.170/1?stream_id=1.2"
},
{
"CameraId": 2,
"CameraName": "Camera 2",
"ResourceType": "Camera",
"Ip": "rtsp://172.19.2.170:554/1",
"MainStream": "",
"SubStream": ""
}
]
}
]
}
Return codes:
400—The request is incorrect (for example, incorrect date format).
401—Authentication failed.
403—Access denied.
404—The requested URL is invalid or unavailable.
500—An unexpected error occurred on the server side.