Skip to content

WebUI API

mrlt8 edited this page Mar 5, 2023 · 4 revisions

Camera/Streams

Stream status/details

http://localhost:5000/api
http://localhost:5000/api/<camera-name>
http://localhost:5000/api/<camera-name>/status

Start/Stop Stream

http://localhost:5000/api/<camera-name>/start
http://localhost:5000/api/<camera-name>/stop

Enable/Disable Stream

http://localhost:5000/api/<camera-name>/enable
http://localhost:5000/api/<camera-name>/disable

Camera controls:

(see Camera Control for available commands)

http://localhost:5000/api/<camera-name>/<command>

Bridge Controls

Submit a Two-Factor Authentication (2FA) code:

http://localhost:5000/mfa/123456

Server Sent Event

http://localhost:5000/api/sse_status

Restart camera connections

http://localhost:5000/restart/cameras

Restart rtsp-simple-server

http://localhost:5000/restart/rtsp_server

Restart All

(restarts camera connections and rtsp-simple-server)

http://localhost:5000/restart/all
Clone this wiki locally