{
"perception": true,
"id": 13,
"control": false,
"created_at": "2024-06-20 13:42:35",
"invalid": 0,
"name": "controller20240620438",
"company_id": 1,
"desc": "",
"type": "algorithm",
"user_id": 1,
"desc_en": "",
"system_data": false,
"modified_at": "2024-06-22 14:36:05",
"routing": true,
"name_en": "controller20240620438",
"planning": true,
"custom_type": "Ros",
"versions": [
{
"data_flow_file_name": null,
"config_file_name": null,
"version": "2.1",
"id": 20,
"controller_id": 13,
"created_at": "2024-06-22 14:36:05",
"invalid": 0,
"company_id": 1,
"setup_file_name": null,
"node_name": "1.1.1.1",
"user_id": 1,
"modified_at": "2024-06-22 14:36:05",
"active": false
},
{
"data_flow_file_name": null,
"config_file_name": null,
"version": "1.1",
"id": 19,
"controller_id": 13,
"created_at": "2024-06-20 13:42:35",
"invalid": 0,
"company_id": 1,
"setup_file_name": null,
"node_name": "172.987.12",
"user_id": 1,
"modified_at": "2024-06-22 14:36:05",
"active": false
}
]
}
curl --location --request PUT '/controllers/' \
--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 '{
"perception": true,
"id": 13,
"control": false,
"created_at": "2024-06-20 13:42:35",
"invalid": 0,
"name": "controller20240620438",
"company_id": 1,
"desc": "",
"type": "algorithm",
"user_id": 1,
"desc_en": "",
"system_data": false,
"modified_at": "2024-06-22 14:36:05",
"routing": true,
"name_en": "controller20240620438",
"planning": true,
"custom_type": "Ros",
"versions": [
{
"data_flow_file_name": null,
"config_file_name": null,
"version": "2.1",
"id": 20,
"controller_id": 13,
"created_at": "2024-06-22 14:36:05",
"invalid": 0,
"company_id": 1,
"setup_file_name": null,
"node_name": "1.1.1.1",
"user_id": 1,
"modified_at": "2024-06-22 14:36:05",
"active": false
},
{
"data_flow_file_name": null,
"config_file_name": null,
"version": "1.1",
"id": 19,
"controller_id": 13,
"created_at": "2024-06-20 13:42:35",
"invalid": 0,
"company_id": 1,
"setup_file_name": null,
"node_name": "172.987.12",
"user_id": 1,
"modified_at": "2024-06-22 14:36:05",
"active": false
}
]
}'
{
"code": 200,
"result": null,
"message": ""
}