v1

latestOpenAPI 3.0.32026-07-26134195287.9 KB
Analytics

Set Object Position MQTT Config

Sets the MQTT config for a particular camera.

Object Position Events from the camera will be published to the MQTT broker specified in the MQTT config.

post/cameras/v1/analytics/object_position_mqtt

Request body

broker_certstring required

A CA signed cert for broker to be used for TLS connection.

broker_host_portstring required

The host and port for MQTT server. The host could be an IP address or hostname. Port 443 is recommended, and only 443, 123, 53 are supported.

camera_idstring required

The unique identifier of the camera.

client_passwordstring

The optional password for the server.

client_usernamestring

The optional username for the server.

Response

OK

broker_certstring

The cert set in config.

broker_host_portstring

The host and port set in config.

camera_idstring

The unique identifier of the camera.

client_passwordstring

The password set in config.

client_usernamestring

The username set in config.