- OASIS SIM(废弃)
- sensors
- dynamics
- cars
- car_models
- jobs
- tasks
- scenarios
- scenario_groups
- scenario_elements
- maps
- test_cases
- scores
- traffic_flows
- controllers
- weathers
- lights
- logs(废弃)
- emails
- users
- evaluates
- file_operator
- trashes(已废弃)
- configs
- licenses
- 查询tokenGET
修改车辆控制系统
开发中
PUT
/controllers/{controller_id}
请求参数
Path 参数
controller_id
string
必需
Header 参数
Authorization
string
必需
示例值:
bearer {{token}}
Content-Type
string
必需
示例值:
application/json
User-Agent
string
必需
示例值:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
Body 参数application/json
perception
boolean
感知属性
id
integer
必需
control
boolean
控制属性
created_at
string
必需
invalid
integer
必需
name
string
必需
company_id
integer
必需
desc
string
可选
type
string
可选
user_id
integer
必需
desc_en
string
可选
system_data
boolean
必需
默认值:
false
modified_at
string
必需
routing
boolean
路径属性
name_en
string
必需
planning
boolean
规划属性
versions
array [object {13}]
必需
data_flow_file_name
null
必需
config_file_name
null
必需
version
string
必需
id
integer
必需
controller_id
integer
必需
created_at
string
必需
invalid
integer
必需
company_id
integer
必需
setup_file_name
null
必需
node_name
string
必需
user_id
integer
必需
modified_at
string
必需
active
boolean
必需
示例
{
"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
}
]
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
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
}
]
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{
"code": 200,
"result": null,
"message": ""
}
修改于 2024-11-08 06:59:09