Update camera config
curl --request POST \
--url https://api2.rhombussystems.com/api/camera/updateConfig \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"config": {
"ai_license_invalid": true,
"audio_aec_via_software": true,
"audio_ai_disabled": true,
"audio_external_mic_boost": 123,
"audio_external_mic_volume": 123,
"audio_external_speaker_volume": 123,
"audio_internal_mic_aec_enabled": true,
"audio_internal_mic_boost": 123,
"audio_internal_mic_volume": 123,
"audio_internal_speaker_volume": 123,
"audio_min_echo_amplitude": 123,
"audio_playback_gain_percent": 123,
"audio_record": true,
"audio_supported": true,
"audio_use_external_mic": true,
"audio_use_external_speaker": true,
"audio_use_internal_speaker": true,
"bandwidth_reports_disabled": true,
"blocked_debounce_time_ms": 123,
"blocked_threshold": 123,
"char_threshold": 123,
"custom_events": true,
"deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"device_mic_enabled": true,
"device_near_audio_silenced": true,
"device_speaker_enabled": true,
"disabled_schedule": [
{
"minuteOfWeekStart": 123,
"minuteOfWeekStop": 123
}
],
"disabled_schedule_inverted": true,
"disabled_schedule_uuid": "AAAAAAAAAAAAAAAAAAAAAA",
"dwell_reset_ttl_ms": 123,
"dwell_time_ms": 123,
"exposure_level": 123,
"firmware_dev_settings": {},
"floorplan_homography": [
[
123
]
],
"frontendEqualizerHighShelf": {
"frequency": 123,
"gain": 123,
"q": 123
},
"frontendEqualizerLowShelf": {
"frequency": 123,
"gain": 123,
"q": 123
},
"frontendEqualizerPeaking1": {
"frequency": 123,
"gain": 123,
"q": 123
},
"frontendEqualizerPeaking2": {
"frequency": 123,
"gain": 123,
"q": 123
},
"frontendEqualizerPeaking3": {
"frequency": 123,
"gain": 123,
"q": 123
},
"frontendNoiseSuppression": true,
"hdr_enabled": true,
"high_res_detection": true,
"human_detection": true,
"human_loitering": true,
"human_loitering_settings": {
"roi": [
{
"coordinates": [
{
"x": 123,
"y": 123
}
]
}
]
},
"img_brightness": 123,
"img_contrast": 123,
"img_saturation": 123,
"img_sharpness": 123,
"inactivity_settings": {
"roi": {
"coordinates": [
{
"x": 123,
"y": 123
}
]
},
"threshold_ms": 123
},
"lastModified": 123,
"led_mode_blink_period_ms": 123,
"led_stealth_mode": true,
"lightweight_detection_disabled": true,
"live_license_invalid": true,
"max_detections_per_frame": 123,
"media_ttl_minutes": 123,
"metering_config": {
"rotation": 123,
"table": "<string>"
},
"motor_config": {
"af_enabled": true,
"af_region": {
"h": 123,
"size": 123,
"w": 123,
"x": 123,
"y": 123
},
"focus": 123,
"pan_degrees": 123,
"piris": 123,
"pt_speed": 123,
"tilt_degrees": 123,
"zoom": 123
},
"night_exposure_level": 123,
"night_img_brightness": 123,
"night_img_contrast": 123,
"night_img_saturation": 123,
"night_img_sharpness": 123,
"night_metering_config": {
"rotation": 123,
"table": "<string>"
},
"night_sensor_gain_max": 123,
"night_shutter_time_max": 123,
"night_shutter_time_min": 123,
"object_search": true,
"occupancy_counting": true,
"on_demand_license_invalid": true,
"orgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"people_tracking": true,
"person_reidentification": true,
"privacy_window_polygons": [
{
"coordinates": [
{
"x": 123,
"y": 123
}
]
}
],
"privacy_windows": [
{
"h": 123,
"size": 123,
"w": 123,
"x": 123,
"y": 123
}
],
"ptz_config": {
"offset_x_percent": 123,
"offset_y_percent": 123,
"rotation": 123,
"size_percent": 123
},
"region_for_occupancy": {
"inverted": true,
"polygons": [
{
"coordinates": [
{
"x": 123,
"y": 123
}
]
}
]
},
"region_of_interest": {
"inverted": true,
"polygons": [
{
"coordinates": [
{
"x": 123,
"y": 123
}
]
}
]
},
"region_of_interest_groups": [
{
"inclusive": true,
"regionsOfInterest": [
{
"activities": [],
"name": "<string>",
"polygon": {
"coordinates": [
{
"x": 123,
"y": 123
}
]
},
"uuid": "AAAAAAAAAAAAAAAAAAAAAA"
}
]
}
],
"resolution": {
"height": 123,
"width": 123
},
"rotation": 123,
"rtsp_encoder": 123,
"segment_max_bytes": 123,
"sensor_gain_max": 123,
"shared_fov": [
"AAAAAAAAAAAAAAAAAAAAAA.v0"
],
"shutter_time_max": 123,
"shutter_time_min": 123,
"snapshot_height": 123,
"snapshot_interval_secs": 123,
"storage_target_free_megabytes": 123,
"storage_target_free_space_permyriad": 123,
"tile_views": [
{
"aspectRatio": {
"height": 123,
"width": 123
},
"pitchDegrees": 123,
"rollDegrees": 123,
"verticalFieldOfViewDegrees": 123,
"yawDegrees": 123
}
],
"upload_all_detections": true,
"use_onboard_lpr": true,
"vehicle_detection": true,
"video_ai_disabled": true,
"video_persist_disabled": true,
"wdr_enabled": true,
"wdr_strength": 123,
"zero_motion_video_bitrate_percent": 123
}
}
'import requests
url = "https://api2.rhombussystems.com/api/camera/updateConfig"
payload = { "config": {
"ai_license_invalid": True,
"audio_aec_via_software": True,
"audio_ai_disabled": True,
"audio_external_mic_boost": 123,
"audio_external_mic_volume": 123,
"audio_external_speaker_volume": 123,
"audio_internal_mic_aec_enabled": True,
"audio_internal_mic_boost": 123,
"audio_internal_mic_volume": 123,
"audio_internal_speaker_volume": 123,
"audio_min_echo_amplitude": 123,
"audio_playback_gain_percent": 123,
"audio_record": True,
"audio_supported": True,
"audio_use_external_mic": True,
"audio_use_external_speaker": True,
"audio_use_internal_speaker": True,
"bandwidth_reports_disabled": True,
"blocked_debounce_time_ms": 123,
"blocked_threshold": 123,
"char_threshold": 123,
"custom_events": True,
"deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"device_mic_enabled": True,
"device_near_audio_silenced": True,
"device_speaker_enabled": True,
"disabled_schedule": [
{
"minuteOfWeekStart": 123,
"minuteOfWeekStop": 123
}
],
"disabled_schedule_inverted": True,
"disabled_schedule_uuid": "AAAAAAAAAAAAAAAAAAAAAA",
"dwell_reset_ttl_ms": 123,
"dwell_time_ms": 123,
"exposure_level": 123,
"firmware_dev_settings": {},
"floorplan_homography": [[123]],
"frontendEqualizerHighShelf": {
"frequency": 123,
"gain": 123,
"q": 123
},
"frontendEqualizerLowShelf": {
"frequency": 123,
"gain": 123,
"q": 123
},
"frontendEqualizerPeaking1": {
"frequency": 123,
"gain": 123,
"q": 123
},
"frontendEqualizerPeaking2": {
"frequency": 123,
"gain": 123,
"q": 123
},
"frontendEqualizerPeaking3": {
"frequency": 123,
"gain": 123,
"q": 123
},
"frontendNoiseSuppression": True,
"hdr_enabled": True,
"high_res_detection": True,
"human_detection": True,
"human_loitering": True,
"human_loitering_settings": { "roi": [{ "coordinates": [
{
"x": 123,
"y": 123
}
] }] },
"img_brightness": 123,
"img_contrast": 123,
"img_saturation": 123,
"img_sharpness": 123,
"inactivity_settings": {
"roi": { "coordinates": [
{
"x": 123,
"y": 123
}
] },
"threshold_ms": 123
},
"lastModified": 123,
"led_mode_blink_period_ms": 123,
"led_stealth_mode": True,
"lightweight_detection_disabled": True,
"live_license_invalid": True,
"max_detections_per_frame": 123,
"media_ttl_minutes": 123,
"metering_config": {
"rotation": 123,
"table": "<string>"
},
"motor_config": {
"af_enabled": True,
"af_region": {
"h": 123,
"size": 123,
"w": 123,
"x": 123,
"y": 123
},
"focus": 123,
"pan_degrees": 123,
"piris": 123,
"pt_speed": 123,
"tilt_degrees": 123,
"zoom": 123
},
"night_exposure_level": 123,
"night_img_brightness": 123,
"night_img_contrast": 123,
"night_img_saturation": 123,
"night_img_sharpness": 123,
"night_metering_config": {
"rotation": 123,
"table": "<string>"
},
"night_sensor_gain_max": 123,
"night_shutter_time_max": 123,
"night_shutter_time_min": 123,
"object_search": True,
"occupancy_counting": True,
"on_demand_license_invalid": True,
"orgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"people_tracking": True,
"person_reidentification": True,
"privacy_window_polygons": [{ "coordinates": [
{
"x": 123,
"y": 123
}
] }],
"privacy_windows": [
{
"h": 123,
"size": 123,
"w": 123,
"x": 123,
"y": 123
}
],
"ptz_config": {
"offset_x_percent": 123,
"offset_y_percent": 123,
"rotation": 123,
"size_percent": 123
},
"region_for_occupancy": {
"inverted": True,
"polygons": [{ "coordinates": [
{
"x": 123,
"y": 123
}
] }]
},
"region_of_interest": {
"inverted": True,
"polygons": [{ "coordinates": [
{
"x": 123,
"y": 123
}
] }]
},
"region_of_interest_groups": [
{
"inclusive": True,
"regionsOfInterest": [
{
"activities": [],
"name": "<string>",
"polygon": { "coordinates": [
{
"x": 123,
"y": 123
}
] },
"uuid": "AAAAAAAAAAAAAAAAAAAAAA"
}
]
}
],
"resolution": {
"height": 123,
"width": 123
},
"rotation": 123,
"rtsp_encoder": 123,
"segment_max_bytes": 123,
"sensor_gain_max": 123,
"shared_fov": ["AAAAAAAAAAAAAAAAAAAAAA.v0"],
"shutter_time_max": 123,
"shutter_time_min": 123,
"snapshot_height": 123,
"snapshot_interval_secs": 123,
"storage_target_free_megabytes": 123,
"storage_target_free_space_permyriad": 123,
"tile_views": [
{
"aspectRatio": {
"height": 123,
"width": 123
},
"pitchDegrees": 123,
"rollDegrees": 123,
"verticalFieldOfViewDegrees": 123,
"yawDegrees": 123
}
],
"upload_all_detections": True,
"use_onboard_lpr": True,
"vehicle_detection": True,
"video_ai_disabled": True,
"video_persist_disabled": True,
"wdr_enabled": True,
"wdr_strength": 123,
"zero_motion_video_bitrate_percent": 123
} }
headers = {
"x-auth-scheme": "<x-auth-scheme>",
"x-auth-apikey": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'x-auth-scheme': '<x-auth-scheme>',
'x-auth-apikey': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
config: {
ai_license_invalid: true,
audio_aec_via_software: true,
audio_ai_disabled: true,
audio_external_mic_boost: 123,
audio_external_mic_volume: 123,
audio_external_speaker_volume: 123,
audio_internal_mic_aec_enabled: true,
audio_internal_mic_boost: 123,
audio_internal_mic_volume: 123,
audio_internal_speaker_volume: 123,
audio_min_echo_amplitude: 123,
audio_playback_gain_percent: 123,
audio_record: true,
audio_supported: true,
audio_use_external_mic: true,
audio_use_external_speaker: true,
audio_use_internal_speaker: true,
bandwidth_reports_disabled: true,
blocked_debounce_time_ms: 123,
blocked_threshold: 123,
char_threshold: 123,
custom_events: true,
deviceUuid: 'AAAAAAAAAAAAAAAAAAAAAA',
device_mic_enabled: true,
device_near_audio_silenced: true,
device_speaker_enabled: true,
disabled_schedule: [{minuteOfWeekStart: 123, minuteOfWeekStop: 123}],
disabled_schedule_inverted: true,
disabled_schedule_uuid: 'AAAAAAAAAAAAAAAAAAAAAA',
dwell_reset_ttl_ms: 123,
dwell_time_ms: 123,
exposure_level: 123,
firmware_dev_settings: {},
floorplan_homography: [[123]],
frontendEqualizerHighShelf: {frequency: 123, gain: 123, q: 123},
frontendEqualizerLowShelf: {frequency: 123, gain: 123, q: 123},
frontendEqualizerPeaking1: {frequency: 123, gain: 123, q: 123},
frontendEqualizerPeaking2: {frequency: 123, gain: 123, q: 123},
frontendEqualizerPeaking3: {frequency: 123, gain: 123, q: 123},
frontendNoiseSuppression: true,
hdr_enabled: true,
high_res_detection: true,
human_detection: true,
human_loitering: true,
human_loitering_settings: {roi: [{coordinates: [{x: 123, y: 123}]}]},
img_brightness: 123,
img_contrast: 123,
img_saturation: 123,
img_sharpness: 123,
inactivity_settings: {roi: {coordinates: [{x: 123, y: 123}]}, threshold_ms: 123},
lastModified: 123,
led_mode_blink_period_ms: 123,
led_stealth_mode: true,
lightweight_detection_disabled: true,
live_license_invalid: true,
max_detections_per_frame: 123,
media_ttl_minutes: 123,
metering_config: {rotation: 123, table: '<string>'},
motor_config: {
af_enabled: true,
af_region: {h: 123, size: 123, w: 123, x: 123, y: 123},
focus: 123,
pan_degrees: 123,
piris: 123,
pt_speed: 123,
tilt_degrees: 123,
zoom: 123
},
night_exposure_level: 123,
night_img_brightness: 123,
night_img_contrast: 123,
night_img_saturation: 123,
night_img_sharpness: 123,
night_metering_config: {rotation: 123, table: '<string>'},
night_sensor_gain_max: 123,
night_shutter_time_max: 123,
night_shutter_time_min: 123,
object_search: true,
occupancy_counting: true,
on_demand_license_invalid: true,
orgUuid: 'AAAAAAAAAAAAAAAAAAAAAA',
people_tracking: true,
person_reidentification: true,
privacy_window_polygons: [{coordinates: [{x: 123, y: 123}]}],
privacy_windows: [{h: 123, size: 123, w: 123, x: 123, y: 123}],
ptz_config: {offset_x_percent: 123, offset_y_percent: 123, rotation: 123, size_percent: 123},
region_for_occupancy: {inverted: true, polygons: [{coordinates: [{x: 123, y: 123}]}]},
region_of_interest: {inverted: true, polygons: [{coordinates: [{x: 123, y: 123}]}]},
region_of_interest_groups: [
{
inclusive: true,
regionsOfInterest: [
{
activities: [],
name: '<string>',
polygon: {coordinates: [{x: 123, y: 123}]},
uuid: 'AAAAAAAAAAAAAAAAAAAAAA'
}
]
}
],
resolution: {height: 123, width: 123},
rotation: 123,
rtsp_encoder: 123,
segment_max_bytes: 123,
sensor_gain_max: 123,
shared_fov: ['AAAAAAAAAAAAAAAAAAAAAA.v0'],
shutter_time_max: 123,
shutter_time_min: 123,
snapshot_height: 123,
snapshot_interval_secs: 123,
storage_target_free_megabytes: 123,
storage_target_free_space_permyriad: 123,
tile_views: [
{
aspectRatio: {height: 123, width: 123},
pitchDegrees: 123,
rollDegrees: 123,
verticalFieldOfViewDegrees: 123,
yawDegrees: 123
}
],
upload_all_detections: true,
use_onboard_lpr: true,
vehicle_detection: true,
video_ai_disabled: true,
video_persist_disabled: true,
wdr_enabled: true,
wdr_strength: 123,
zero_motion_video_bitrate_percent: 123
}
})
};
fetch('https://api2.rhombussystems.com/api/camera/updateConfig', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.post("https://api2.rhombussystems.com/api/camera/updateConfig")
.header("x-auth-scheme", "<x-auth-scheme>")
.header("x-auth-apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"config\": {\n \"ai_license_invalid\": true,\n \"audio_aec_via_software\": true,\n \"audio_ai_disabled\": true,\n \"audio_external_mic_boost\": 123,\n \"audio_external_mic_volume\": 123,\n \"audio_external_speaker_volume\": 123,\n \"audio_internal_mic_aec_enabled\": true,\n \"audio_internal_mic_boost\": 123,\n \"audio_internal_mic_volume\": 123,\n \"audio_internal_speaker_volume\": 123,\n \"audio_min_echo_amplitude\": 123,\n \"audio_playback_gain_percent\": 123,\n \"audio_record\": true,\n \"audio_supported\": true,\n \"audio_use_external_mic\": true,\n \"audio_use_external_speaker\": true,\n \"audio_use_internal_speaker\": true,\n \"bandwidth_reports_disabled\": true,\n \"blocked_debounce_time_ms\": 123,\n \"blocked_threshold\": 123,\n \"char_threshold\": 123,\n \"custom_events\": true,\n \"deviceUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"device_mic_enabled\": true,\n \"device_near_audio_silenced\": true,\n \"device_speaker_enabled\": true,\n \"disabled_schedule\": [\n {\n \"minuteOfWeekStart\": 123,\n \"minuteOfWeekStop\": 123\n }\n ],\n \"disabled_schedule_inverted\": true,\n \"disabled_schedule_uuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"dwell_reset_ttl_ms\": 123,\n \"dwell_time_ms\": 123,\n \"exposure_level\": 123,\n \"firmware_dev_settings\": {},\n \"floorplan_homography\": [\n [\n 123\n ]\n ],\n \"frontendEqualizerHighShelf\": {\n \"frequency\": 123,\n \"gain\": 123,\n \"q\": 123\n },\n \"frontendEqualizerLowShelf\": {\n \"frequency\": 123,\n \"gain\": 123,\n \"q\": 123\n },\n \"frontendEqualizerPeaking1\": {\n \"frequency\": 123,\n \"gain\": 123,\n \"q\": 123\n },\n \"frontendEqualizerPeaking2\": {\n \"frequency\": 123,\n \"gain\": 123,\n \"q\": 123\n },\n \"frontendEqualizerPeaking3\": {\n \"frequency\": 123,\n \"gain\": 123,\n \"q\": 123\n },\n \"frontendNoiseSuppression\": true,\n \"hdr_enabled\": true,\n \"high_res_detection\": true,\n \"human_detection\": true,\n \"human_loitering\": true,\n \"human_loitering_settings\": {\n \"roi\": [\n {\n \"coordinates\": [\n {\n \"x\": 123,\n \"y\": 123\n }\n ]\n }\n ]\n },\n \"img_brightness\": 123,\n \"img_contrast\": 123,\n \"img_saturation\": 123,\n \"img_sharpness\": 123,\n \"inactivity_settings\": {\n \"roi\": {\n \"coordinates\": [\n {\n \"x\": 123,\n \"y\": 123\n }\n ]\n },\n \"threshold_ms\": 123\n },\n \"lastModified\": 123,\n \"led_mode_blink_period_ms\": 123,\n \"led_stealth_mode\": true,\n \"lightweight_detection_disabled\": true,\n \"live_license_invalid\": true,\n \"max_detections_per_frame\": 123,\n \"media_ttl_minutes\": 123,\n \"metering_config\": {\n \"rotation\": 123,\n \"table\": \"<string>\"\n },\n \"motor_config\": {\n \"af_enabled\": true,\n \"af_region\": {\n \"h\": 123,\n \"size\": 123,\n \"w\": 123,\n \"x\": 123,\n \"y\": 123\n },\n \"focus\": 123,\n \"pan_degrees\": 123,\n \"piris\": 123,\n \"pt_speed\": 123,\n \"tilt_degrees\": 123,\n \"zoom\": 123\n },\n \"night_exposure_level\": 123,\n \"night_img_brightness\": 123,\n \"night_img_contrast\": 123,\n \"night_img_saturation\": 123,\n \"night_img_sharpness\": 123,\n \"night_metering_config\": {\n \"rotation\": 123,\n \"table\": \"<string>\"\n },\n \"night_sensor_gain_max\": 123,\n \"night_shutter_time_max\": 123,\n \"night_shutter_time_min\": 123,\n \"object_search\": true,\n \"occupancy_counting\": true,\n \"on_demand_license_invalid\": true,\n \"orgUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"people_tracking\": true,\n \"person_reidentification\": true,\n \"privacy_window_polygons\": [\n {\n \"coordinates\": [\n {\n \"x\": 123,\n \"y\": 123\n }\n ]\n }\n ],\n \"privacy_windows\": [\n {\n \"h\": 123,\n \"size\": 123,\n \"w\": 123,\n \"x\": 123,\n \"y\": 123\n }\n ],\n \"ptz_config\": {\n \"offset_x_percent\": 123,\n \"offset_y_percent\": 123,\n \"rotation\": 123,\n \"size_percent\": 123\n },\n \"region_for_occupancy\": {\n \"inverted\": true,\n \"polygons\": [\n {\n \"coordinates\": [\n {\n \"x\": 123,\n \"y\": 123\n }\n ]\n }\n ]\n },\n \"region_of_interest\": {\n \"inverted\": true,\n \"polygons\": [\n {\n \"coordinates\": [\n {\n \"x\": 123,\n \"y\": 123\n }\n ]\n }\n ]\n },\n \"region_of_interest_groups\": [\n {\n \"inclusive\": true,\n \"regionsOfInterest\": [\n {\n \"activities\": [],\n \"name\": \"<string>\",\n \"polygon\": {\n \"coordinates\": [\n {\n \"x\": 123,\n \"y\": 123\n }\n ]\n },\n \"uuid\": \"AAAAAAAAAAAAAAAAAAAAAA\"\n }\n ]\n }\n ],\n \"resolution\": {\n \"height\": 123,\n \"width\": 123\n },\n \"rotation\": 123,\n \"rtsp_encoder\": 123,\n \"segment_max_bytes\": 123,\n \"sensor_gain_max\": 123,\n \"shared_fov\": [\n \"AAAAAAAAAAAAAAAAAAAAAA.v0\"\n ],\n \"shutter_time_max\": 123,\n \"shutter_time_min\": 123,\n \"snapshot_height\": 123,\n \"snapshot_interval_secs\": 123,\n \"storage_target_free_megabytes\": 123,\n \"storage_target_free_space_permyriad\": 123,\n \"tile_views\": [\n {\n \"aspectRatio\": {\n \"height\": 123,\n \"width\": 123\n },\n \"pitchDegrees\": 123,\n \"rollDegrees\": 123,\n \"verticalFieldOfViewDegrees\": 123,\n \"yawDegrees\": 123\n }\n ],\n \"upload_all_detections\": true,\n \"use_onboard_lpr\": true,\n \"vehicle_detection\": true,\n \"video_ai_disabled\": true,\n \"video_persist_disabled\": true,\n \"wdr_enabled\": true,\n \"wdr_strength\": 123,\n \"zero_motion_video_bitrate_percent\": 123\n }\n}")
.asString();{
"error": true,
"errorMsg": "<string>",
"warningMsg": "<string>"
}Camera Webservice
Update camera config
deprecated
Update a camera’s config
POST
/
api
/
camera
/
updateConfig
Update camera config
curl --request POST \
--url https://api2.rhombussystems.com/api/camera/updateConfig \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"config": {
"ai_license_invalid": true,
"audio_aec_via_software": true,
"audio_ai_disabled": true,
"audio_external_mic_boost": 123,
"audio_external_mic_volume": 123,
"audio_external_speaker_volume": 123,
"audio_internal_mic_aec_enabled": true,
"audio_internal_mic_boost": 123,
"audio_internal_mic_volume": 123,
"audio_internal_speaker_volume": 123,
"audio_min_echo_amplitude": 123,
"audio_playback_gain_percent": 123,
"audio_record": true,
"audio_supported": true,
"audio_use_external_mic": true,
"audio_use_external_speaker": true,
"audio_use_internal_speaker": true,
"bandwidth_reports_disabled": true,
"blocked_debounce_time_ms": 123,
"blocked_threshold": 123,
"char_threshold": 123,
"custom_events": true,
"deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"device_mic_enabled": true,
"device_near_audio_silenced": true,
"device_speaker_enabled": true,
"disabled_schedule": [
{
"minuteOfWeekStart": 123,
"minuteOfWeekStop": 123
}
],
"disabled_schedule_inverted": true,
"disabled_schedule_uuid": "AAAAAAAAAAAAAAAAAAAAAA",
"dwell_reset_ttl_ms": 123,
"dwell_time_ms": 123,
"exposure_level": 123,
"firmware_dev_settings": {},
"floorplan_homography": [
[
123
]
],
"frontendEqualizerHighShelf": {
"frequency": 123,
"gain": 123,
"q": 123
},
"frontendEqualizerLowShelf": {
"frequency": 123,
"gain": 123,
"q": 123
},
"frontendEqualizerPeaking1": {
"frequency": 123,
"gain": 123,
"q": 123
},
"frontendEqualizerPeaking2": {
"frequency": 123,
"gain": 123,
"q": 123
},
"frontendEqualizerPeaking3": {
"frequency": 123,
"gain": 123,
"q": 123
},
"frontendNoiseSuppression": true,
"hdr_enabled": true,
"high_res_detection": true,
"human_detection": true,
"human_loitering": true,
"human_loitering_settings": {
"roi": [
{
"coordinates": [
{
"x": 123,
"y": 123
}
]
}
]
},
"img_brightness": 123,
"img_contrast": 123,
"img_saturation": 123,
"img_sharpness": 123,
"inactivity_settings": {
"roi": {
"coordinates": [
{
"x": 123,
"y": 123
}
]
},
"threshold_ms": 123
},
"lastModified": 123,
"led_mode_blink_period_ms": 123,
"led_stealth_mode": true,
"lightweight_detection_disabled": true,
"live_license_invalid": true,
"max_detections_per_frame": 123,
"media_ttl_minutes": 123,
"metering_config": {
"rotation": 123,
"table": "<string>"
},
"motor_config": {
"af_enabled": true,
"af_region": {
"h": 123,
"size": 123,
"w": 123,
"x": 123,
"y": 123
},
"focus": 123,
"pan_degrees": 123,
"piris": 123,
"pt_speed": 123,
"tilt_degrees": 123,
"zoom": 123
},
"night_exposure_level": 123,
"night_img_brightness": 123,
"night_img_contrast": 123,
"night_img_saturation": 123,
"night_img_sharpness": 123,
"night_metering_config": {
"rotation": 123,
"table": "<string>"
},
"night_sensor_gain_max": 123,
"night_shutter_time_max": 123,
"night_shutter_time_min": 123,
"object_search": true,
"occupancy_counting": true,
"on_demand_license_invalid": true,
"orgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"people_tracking": true,
"person_reidentification": true,
"privacy_window_polygons": [
{
"coordinates": [
{
"x": 123,
"y": 123
}
]
}
],
"privacy_windows": [
{
"h": 123,
"size": 123,
"w": 123,
"x": 123,
"y": 123
}
],
"ptz_config": {
"offset_x_percent": 123,
"offset_y_percent": 123,
"rotation": 123,
"size_percent": 123
},
"region_for_occupancy": {
"inverted": true,
"polygons": [
{
"coordinates": [
{
"x": 123,
"y": 123
}
]
}
]
},
"region_of_interest": {
"inverted": true,
"polygons": [
{
"coordinates": [
{
"x": 123,
"y": 123
}
]
}
]
},
"region_of_interest_groups": [
{
"inclusive": true,
"regionsOfInterest": [
{
"activities": [],
"name": "<string>",
"polygon": {
"coordinates": [
{
"x": 123,
"y": 123
}
]
},
"uuid": "AAAAAAAAAAAAAAAAAAAAAA"
}
]
}
],
"resolution": {
"height": 123,
"width": 123
},
"rotation": 123,
"rtsp_encoder": 123,
"segment_max_bytes": 123,
"sensor_gain_max": 123,
"shared_fov": [
"AAAAAAAAAAAAAAAAAAAAAA.v0"
],
"shutter_time_max": 123,
"shutter_time_min": 123,
"snapshot_height": 123,
"snapshot_interval_secs": 123,
"storage_target_free_megabytes": 123,
"storage_target_free_space_permyriad": 123,
"tile_views": [
{
"aspectRatio": {
"height": 123,
"width": 123
},
"pitchDegrees": 123,
"rollDegrees": 123,
"verticalFieldOfViewDegrees": 123,
"yawDegrees": 123
}
],
"upload_all_detections": true,
"use_onboard_lpr": true,
"vehicle_detection": true,
"video_ai_disabled": true,
"video_persist_disabled": true,
"wdr_enabled": true,
"wdr_strength": 123,
"zero_motion_video_bitrate_percent": 123
}
}
'import requests
url = "https://api2.rhombussystems.com/api/camera/updateConfig"
payload = { "config": {
"ai_license_invalid": True,
"audio_aec_via_software": True,
"audio_ai_disabled": True,
"audio_external_mic_boost": 123,
"audio_external_mic_volume": 123,
"audio_external_speaker_volume": 123,
"audio_internal_mic_aec_enabled": True,
"audio_internal_mic_boost": 123,
"audio_internal_mic_volume": 123,
"audio_internal_speaker_volume": 123,
"audio_min_echo_amplitude": 123,
"audio_playback_gain_percent": 123,
"audio_record": True,
"audio_supported": True,
"audio_use_external_mic": True,
"audio_use_external_speaker": True,
"audio_use_internal_speaker": True,
"bandwidth_reports_disabled": True,
"blocked_debounce_time_ms": 123,
"blocked_threshold": 123,
"char_threshold": 123,
"custom_events": True,
"deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"device_mic_enabled": True,
"device_near_audio_silenced": True,
"device_speaker_enabled": True,
"disabled_schedule": [
{
"minuteOfWeekStart": 123,
"minuteOfWeekStop": 123
}
],
"disabled_schedule_inverted": True,
"disabled_schedule_uuid": "AAAAAAAAAAAAAAAAAAAAAA",
"dwell_reset_ttl_ms": 123,
"dwell_time_ms": 123,
"exposure_level": 123,
"firmware_dev_settings": {},
"floorplan_homography": [[123]],
"frontendEqualizerHighShelf": {
"frequency": 123,
"gain": 123,
"q": 123
},
"frontendEqualizerLowShelf": {
"frequency": 123,
"gain": 123,
"q": 123
},
"frontendEqualizerPeaking1": {
"frequency": 123,
"gain": 123,
"q": 123
},
"frontendEqualizerPeaking2": {
"frequency": 123,
"gain": 123,
"q": 123
},
"frontendEqualizerPeaking3": {
"frequency": 123,
"gain": 123,
"q": 123
},
"frontendNoiseSuppression": True,
"hdr_enabled": True,
"high_res_detection": True,
"human_detection": True,
"human_loitering": True,
"human_loitering_settings": { "roi": [{ "coordinates": [
{
"x": 123,
"y": 123
}
] }] },
"img_brightness": 123,
"img_contrast": 123,
"img_saturation": 123,
"img_sharpness": 123,
"inactivity_settings": {
"roi": { "coordinates": [
{
"x": 123,
"y": 123
}
] },
"threshold_ms": 123
},
"lastModified": 123,
"led_mode_blink_period_ms": 123,
"led_stealth_mode": True,
"lightweight_detection_disabled": True,
"live_license_invalid": True,
"max_detections_per_frame": 123,
"media_ttl_minutes": 123,
"metering_config": {
"rotation": 123,
"table": "<string>"
},
"motor_config": {
"af_enabled": True,
"af_region": {
"h": 123,
"size": 123,
"w": 123,
"x": 123,
"y": 123
},
"focus": 123,
"pan_degrees": 123,
"piris": 123,
"pt_speed": 123,
"tilt_degrees": 123,
"zoom": 123
},
"night_exposure_level": 123,
"night_img_brightness": 123,
"night_img_contrast": 123,
"night_img_saturation": 123,
"night_img_sharpness": 123,
"night_metering_config": {
"rotation": 123,
"table": "<string>"
},
"night_sensor_gain_max": 123,
"night_shutter_time_max": 123,
"night_shutter_time_min": 123,
"object_search": True,
"occupancy_counting": True,
"on_demand_license_invalid": True,
"orgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"people_tracking": True,
"person_reidentification": True,
"privacy_window_polygons": [{ "coordinates": [
{
"x": 123,
"y": 123
}
] }],
"privacy_windows": [
{
"h": 123,
"size": 123,
"w": 123,
"x": 123,
"y": 123
}
],
"ptz_config": {
"offset_x_percent": 123,
"offset_y_percent": 123,
"rotation": 123,
"size_percent": 123
},
"region_for_occupancy": {
"inverted": True,
"polygons": [{ "coordinates": [
{
"x": 123,
"y": 123
}
] }]
},
"region_of_interest": {
"inverted": True,
"polygons": [{ "coordinates": [
{
"x": 123,
"y": 123
}
] }]
},
"region_of_interest_groups": [
{
"inclusive": True,
"regionsOfInterest": [
{
"activities": [],
"name": "<string>",
"polygon": { "coordinates": [
{
"x": 123,
"y": 123
}
] },
"uuid": "AAAAAAAAAAAAAAAAAAAAAA"
}
]
}
],
"resolution": {
"height": 123,
"width": 123
},
"rotation": 123,
"rtsp_encoder": 123,
"segment_max_bytes": 123,
"sensor_gain_max": 123,
"shared_fov": ["AAAAAAAAAAAAAAAAAAAAAA.v0"],
"shutter_time_max": 123,
"shutter_time_min": 123,
"snapshot_height": 123,
"snapshot_interval_secs": 123,
"storage_target_free_megabytes": 123,
"storage_target_free_space_permyriad": 123,
"tile_views": [
{
"aspectRatio": {
"height": 123,
"width": 123
},
"pitchDegrees": 123,
"rollDegrees": 123,
"verticalFieldOfViewDegrees": 123,
"yawDegrees": 123
}
],
"upload_all_detections": True,
"use_onboard_lpr": True,
"vehicle_detection": True,
"video_ai_disabled": True,
"video_persist_disabled": True,
"wdr_enabled": True,
"wdr_strength": 123,
"zero_motion_video_bitrate_percent": 123
} }
headers = {
"x-auth-scheme": "<x-auth-scheme>",
"x-auth-apikey": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'x-auth-scheme': '<x-auth-scheme>',
'x-auth-apikey': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
config: {
ai_license_invalid: true,
audio_aec_via_software: true,
audio_ai_disabled: true,
audio_external_mic_boost: 123,
audio_external_mic_volume: 123,
audio_external_speaker_volume: 123,
audio_internal_mic_aec_enabled: true,
audio_internal_mic_boost: 123,
audio_internal_mic_volume: 123,
audio_internal_speaker_volume: 123,
audio_min_echo_amplitude: 123,
audio_playback_gain_percent: 123,
audio_record: true,
audio_supported: true,
audio_use_external_mic: true,
audio_use_external_speaker: true,
audio_use_internal_speaker: true,
bandwidth_reports_disabled: true,
blocked_debounce_time_ms: 123,
blocked_threshold: 123,
char_threshold: 123,
custom_events: true,
deviceUuid: 'AAAAAAAAAAAAAAAAAAAAAA',
device_mic_enabled: true,
device_near_audio_silenced: true,
device_speaker_enabled: true,
disabled_schedule: [{minuteOfWeekStart: 123, minuteOfWeekStop: 123}],
disabled_schedule_inverted: true,
disabled_schedule_uuid: 'AAAAAAAAAAAAAAAAAAAAAA',
dwell_reset_ttl_ms: 123,
dwell_time_ms: 123,
exposure_level: 123,
firmware_dev_settings: {},
floorplan_homography: [[123]],
frontendEqualizerHighShelf: {frequency: 123, gain: 123, q: 123},
frontendEqualizerLowShelf: {frequency: 123, gain: 123, q: 123},
frontendEqualizerPeaking1: {frequency: 123, gain: 123, q: 123},
frontendEqualizerPeaking2: {frequency: 123, gain: 123, q: 123},
frontendEqualizerPeaking3: {frequency: 123, gain: 123, q: 123},
frontendNoiseSuppression: true,
hdr_enabled: true,
high_res_detection: true,
human_detection: true,
human_loitering: true,
human_loitering_settings: {roi: [{coordinates: [{x: 123, y: 123}]}]},
img_brightness: 123,
img_contrast: 123,
img_saturation: 123,
img_sharpness: 123,
inactivity_settings: {roi: {coordinates: [{x: 123, y: 123}]}, threshold_ms: 123},
lastModified: 123,
led_mode_blink_period_ms: 123,
led_stealth_mode: true,
lightweight_detection_disabled: true,
live_license_invalid: true,
max_detections_per_frame: 123,
media_ttl_minutes: 123,
metering_config: {rotation: 123, table: '<string>'},
motor_config: {
af_enabled: true,
af_region: {h: 123, size: 123, w: 123, x: 123, y: 123},
focus: 123,
pan_degrees: 123,
piris: 123,
pt_speed: 123,
tilt_degrees: 123,
zoom: 123
},
night_exposure_level: 123,
night_img_brightness: 123,
night_img_contrast: 123,
night_img_saturation: 123,
night_img_sharpness: 123,
night_metering_config: {rotation: 123, table: '<string>'},
night_sensor_gain_max: 123,
night_shutter_time_max: 123,
night_shutter_time_min: 123,
object_search: true,
occupancy_counting: true,
on_demand_license_invalid: true,
orgUuid: 'AAAAAAAAAAAAAAAAAAAAAA',
people_tracking: true,
person_reidentification: true,
privacy_window_polygons: [{coordinates: [{x: 123, y: 123}]}],
privacy_windows: [{h: 123, size: 123, w: 123, x: 123, y: 123}],
ptz_config: {offset_x_percent: 123, offset_y_percent: 123, rotation: 123, size_percent: 123},
region_for_occupancy: {inverted: true, polygons: [{coordinates: [{x: 123, y: 123}]}]},
region_of_interest: {inverted: true, polygons: [{coordinates: [{x: 123, y: 123}]}]},
region_of_interest_groups: [
{
inclusive: true,
regionsOfInterest: [
{
activities: [],
name: '<string>',
polygon: {coordinates: [{x: 123, y: 123}]},
uuid: 'AAAAAAAAAAAAAAAAAAAAAA'
}
]
}
],
resolution: {height: 123, width: 123},
rotation: 123,
rtsp_encoder: 123,
segment_max_bytes: 123,
sensor_gain_max: 123,
shared_fov: ['AAAAAAAAAAAAAAAAAAAAAA.v0'],
shutter_time_max: 123,
shutter_time_min: 123,
snapshot_height: 123,
snapshot_interval_secs: 123,
storage_target_free_megabytes: 123,
storage_target_free_space_permyriad: 123,
tile_views: [
{
aspectRatio: {height: 123, width: 123},
pitchDegrees: 123,
rollDegrees: 123,
verticalFieldOfViewDegrees: 123,
yawDegrees: 123
}
],
upload_all_detections: true,
use_onboard_lpr: true,
vehicle_detection: true,
video_ai_disabled: true,
video_persist_disabled: true,
wdr_enabled: true,
wdr_strength: 123,
zero_motion_video_bitrate_percent: 123
}
})
};
fetch('https://api2.rhombussystems.com/api/camera/updateConfig', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.post("https://api2.rhombussystems.com/api/camera/updateConfig")
.header("x-auth-scheme", "<x-auth-scheme>")
.header("x-auth-apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"config\": {\n \"ai_license_invalid\": true,\n \"audio_aec_via_software\": true,\n \"audio_ai_disabled\": true,\n \"audio_external_mic_boost\": 123,\n \"audio_external_mic_volume\": 123,\n \"audio_external_speaker_volume\": 123,\n \"audio_internal_mic_aec_enabled\": true,\n \"audio_internal_mic_boost\": 123,\n \"audio_internal_mic_volume\": 123,\n \"audio_internal_speaker_volume\": 123,\n \"audio_min_echo_amplitude\": 123,\n \"audio_playback_gain_percent\": 123,\n \"audio_record\": true,\n \"audio_supported\": true,\n \"audio_use_external_mic\": true,\n \"audio_use_external_speaker\": true,\n \"audio_use_internal_speaker\": true,\n \"bandwidth_reports_disabled\": true,\n \"blocked_debounce_time_ms\": 123,\n \"blocked_threshold\": 123,\n \"char_threshold\": 123,\n \"custom_events\": true,\n \"deviceUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"device_mic_enabled\": true,\n \"device_near_audio_silenced\": true,\n \"device_speaker_enabled\": true,\n \"disabled_schedule\": [\n {\n \"minuteOfWeekStart\": 123,\n \"minuteOfWeekStop\": 123\n }\n ],\n \"disabled_schedule_inverted\": true,\n \"disabled_schedule_uuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"dwell_reset_ttl_ms\": 123,\n \"dwell_time_ms\": 123,\n \"exposure_level\": 123,\n \"firmware_dev_settings\": {},\n \"floorplan_homography\": [\n [\n 123\n ]\n ],\n \"frontendEqualizerHighShelf\": {\n \"frequency\": 123,\n \"gain\": 123,\n \"q\": 123\n },\n \"frontendEqualizerLowShelf\": {\n \"frequency\": 123,\n \"gain\": 123,\n \"q\": 123\n },\n \"frontendEqualizerPeaking1\": {\n \"frequency\": 123,\n \"gain\": 123,\n \"q\": 123\n },\n \"frontendEqualizerPeaking2\": {\n \"frequency\": 123,\n \"gain\": 123,\n \"q\": 123\n },\n \"frontendEqualizerPeaking3\": {\n \"frequency\": 123,\n \"gain\": 123,\n \"q\": 123\n },\n \"frontendNoiseSuppression\": true,\n \"hdr_enabled\": true,\n \"high_res_detection\": true,\n \"human_detection\": true,\n \"human_loitering\": true,\n \"human_loitering_settings\": {\n \"roi\": [\n {\n \"coordinates\": [\n {\n \"x\": 123,\n \"y\": 123\n }\n ]\n }\n ]\n },\n \"img_brightness\": 123,\n \"img_contrast\": 123,\n \"img_saturation\": 123,\n \"img_sharpness\": 123,\n \"inactivity_settings\": {\n \"roi\": {\n \"coordinates\": [\n {\n \"x\": 123,\n \"y\": 123\n }\n ]\n },\n \"threshold_ms\": 123\n },\n \"lastModified\": 123,\n \"led_mode_blink_period_ms\": 123,\n \"led_stealth_mode\": true,\n \"lightweight_detection_disabled\": true,\n \"live_license_invalid\": true,\n \"max_detections_per_frame\": 123,\n \"media_ttl_minutes\": 123,\n \"metering_config\": {\n \"rotation\": 123,\n \"table\": \"<string>\"\n },\n \"motor_config\": {\n \"af_enabled\": true,\n \"af_region\": {\n \"h\": 123,\n \"size\": 123,\n \"w\": 123,\n \"x\": 123,\n \"y\": 123\n },\n \"focus\": 123,\n \"pan_degrees\": 123,\n \"piris\": 123,\n \"pt_speed\": 123,\n \"tilt_degrees\": 123,\n \"zoom\": 123\n },\n \"night_exposure_level\": 123,\n \"night_img_brightness\": 123,\n \"night_img_contrast\": 123,\n \"night_img_saturation\": 123,\n \"night_img_sharpness\": 123,\n \"night_metering_config\": {\n \"rotation\": 123,\n \"table\": \"<string>\"\n },\n \"night_sensor_gain_max\": 123,\n \"night_shutter_time_max\": 123,\n \"night_shutter_time_min\": 123,\n \"object_search\": true,\n \"occupancy_counting\": true,\n \"on_demand_license_invalid\": true,\n \"orgUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"people_tracking\": true,\n \"person_reidentification\": true,\n \"privacy_window_polygons\": [\n {\n \"coordinates\": [\n {\n \"x\": 123,\n \"y\": 123\n }\n ]\n }\n ],\n \"privacy_windows\": [\n {\n \"h\": 123,\n \"size\": 123,\n \"w\": 123,\n \"x\": 123,\n \"y\": 123\n }\n ],\n \"ptz_config\": {\n \"offset_x_percent\": 123,\n \"offset_y_percent\": 123,\n \"rotation\": 123,\n \"size_percent\": 123\n },\n \"region_for_occupancy\": {\n \"inverted\": true,\n \"polygons\": [\n {\n \"coordinates\": [\n {\n \"x\": 123,\n \"y\": 123\n }\n ]\n }\n ]\n },\n \"region_of_interest\": {\n \"inverted\": true,\n \"polygons\": [\n {\n \"coordinates\": [\n {\n \"x\": 123,\n \"y\": 123\n }\n ]\n }\n ]\n },\n \"region_of_interest_groups\": [\n {\n \"inclusive\": true,\n \"regionsOfInterest\": [\n {\n \"activities\": [],\n \"name\": \"<string>\",\n \"polygon\": {\n \"coordinates\": [\n {\n \"x\": 123,\n \"y\": 123\n }\n ]\n },\n \"uuid\": \"AAAAAAAAAAAAAAAAAAAAAA\"\n }\n ]\n }\n ],\n \"resolution\": {\n \"height\": 123,\n \"width\": 123\n },\n \"rotation\": 123,\n \"rtsp_encoder\": 123,\n \"segment_max_bytes\": 123,\n \"sensor_gain_max\": 123,\n \"shared_fov\": [\n \"AAAAAAAAAAAAAAAAAAAAAA.v0\"\n ],\n \"shutter_time_max\": 123,\n \"shutter_time_min\": 123,\n \"snapshot_height\": 123,\n \"snapshot_interval_secs\": 123,\n \"storage_target_free_megabytes\": 123,\n \"storage_target_free_space_permyriad\": 123,\n \"tile_views\": [\n {\n \"aspectRatio\": {\n \"height\": 123,\n \"width\": 123\n },\n \"pitchDegrees\": 123,\n \"rollDegrees\": 123,\n \"verticalFieldOfViewDegrees\": 123,\n \"yawDegrees\": 123\n }\n ],\n \"upload_all_detections\": true,\n \"use_onboard_lpr\": true,\n \"vehicle_detection\": true,\n \"video_ai_disabled\": true,\n \"video_persist_disabled\": true,\n \"wdr_enabled\": true,\n \"wdr_strength\": 123,\n \"zero_motion_video_bitrate_percent\": 123\n }\n}")
.asString();{
"error": true,
"errorMsg": "<string>",
"warningMsg": "<string>"
}Authorizations
Your Rhombus API key. Must be accompanied by the x-auth-scheme header set to api-token (or partner-api-token for partner endpoints).
Headers
Authentication scheme identifier. Use api-token for standard API key authentication, partner-api-token for partner API key authentication. Must be paired with the x-auth-apikey header containing your API key.
Available options:
api-token, api, partner-api-token, partner-api Body
application/json
Request to update camera configuration settings.
Audio/video user configuration update
Show child attributes
Show child attributes
Last modified on August 3, 2026
⌘I