Skip to main content
POST
Upload a packed sensor layout and add it to the library.

Body

multipart/form-data
file
file
required

File to upload.

sensorLayoutName
string

New name for the layout, in case of layout name conflict.

overwrite
boolean

Flag to indicate if existing sensor layout should be overwritten, in case of conflict.

sensorUpdatesJson
string[]

Json structure with a list of actions for each conflicting sensor that is referenced in the layout. Contains: current sensor name, new name, should replace sensor, should use existing sensor, is the sensor a thermal camera.

Replace one sensor : {"sensorUpdatesJson":{"name":"Camera","replaceName":"","replace":true, "useExisting": false}} Rename one sensor : {"sensorUpdatesJson":{"name":"Camera","replaceName":"NewCamera","replace":false, "useExisting": false}}

Response

200 - application/json

OK

layoutId
string<uuid>
hadOldThermalCamera
boolean