{
"user_id": 1,
"company_id": 1,
"system_data": 0,
"invalid": 0,
"runtime_settings": {
"basic_settings": {
"simulation_engine_ip": "127.0.0.1",
"simulation_engine_port": 2000,
"render_mode": true,
"render_level": "High",
"observation_window": true,
"viewport_output": false,
"viewport_config": {
"127.0.0.1:10015": {
"x_screen": {
"0": [
{
"x": 10,
"y": 10
}
]
},
"lidar_enable": false
},
"127.0.0.1:10016": {
"x_screen": {
"0": [
{
"x": 10,
"y": 10
}
]
},
"lidar_enable": false
}
}
},
"synchronization_settings": {
"frequency": 20,
"fixed_delta_seconds": 50,
"trigger_source": "internal",
"realtime_mode": true
},
"ego_vehicle_settings": {
"configuration_mode": "single_intelligence_type",
"ego_vehicle": {
"id": 1657,
"name": "OasisCar",
"driver_preset": {
"id": 2,
"name": "DefaultDriver"
}
}
},
"data_recording": {
"observe_video_recording": false,
"runtime_log_recording": false,
"playback_data_recording": false,
"sensor_data_recording": false
},
"communication_settings": {
"event_service_port": 0,
"realtime_system_ip": "127.0.0.1",
"realtime_system_port": 8888
}
}
}
curl --location --request PUT '/configs/1' \
--header 'Authorization: bearer {{token}}' \
--header 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36' \
--header 'Content-Type: application/json' \
--data-raw '{
"user_id": 1,
"company_id": 1,
"system_data": 0,
"invalid": 0,
"runtime_settings": {
"basic_settings": {
"simulation_engine_ip": "127.0.0.1",
"simulation_engine_port": 2000,
"render_mode": true,
"render_level": "High",
"observation_window": true,
"viewport_output": false,
"viewport_config": {
"127.0.0.1:10015": {
"x_screen": {
"0": [
{
"x": 10,
"y": 10
}
]
},
"lidar_enable": false
},
"127.0.0.1:10016": {
"x_screen": {
"0": [
{
"x": 10,
"y": 10
}
]
},
"lidar_enable": false
}
}
},
"synchronization_settings": {
"frequency": 20,
"fixed_delta_seconds": 50,
"trigger_source": "internal",
"realtime_mode": true
},
"ego_vehicle_settings": {
"configuration_mode": "single_intelligence_type",
"ego_vehicle": {
"id": 1657,
"name": "OasisCar",
"driver_preset": {
"id": 2,
"name": "DefaultDriver"
}
}
},
"data_recording": {
"observe_video_recording": false,
"runtime_log_recording": false,
"playback_data_recording": false,
"sensor_data_recording": false
},
"communication_settings": {
"event_service_port": 0,
"realtime_system_ip": "127.0.0.1",
"realtime_system_port": 8888
}
}
}'
{"code":200,"result":null,"message":""}