- 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
获取测试用例详情
开发中
GET
/testcases/{test_case_id}/details
请求参数
Path 参数
test_case_id
integer
必需
示例值:
1
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
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/testcases/1/details' \
--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'
返回响应
🟢200成功
application/json
Body
code
integer
必需
message
string
必需
en
string
必需
result
null
必需
示例
{
"code": 200,
"result": {
"created_at": "2024-08-27 16:16:12",
"record_mode": null,
"start_time": null,
"sensor_data_record_enable": false,
"show_game_window": false,
"id": 1,
"car_snap": [],
"system_data": false,
"frequency": null,
"scenario_ids": [
9206
],
"render_mode": "True",
"car_id": -1,
"test_model": "SIL",
"evaluation_criteria_id": 2,
"controller_version": null,
"desc_en": "",
"desc": "",
"name": "test_case_20240626_lx43a",
"company_id": 1,
"user_id": 1,
"data_record": false,
"name_en": "test_case_20240626_lx43a",
"end_time": null,
"calculation_rules": 1,
"modified_at": "2024-08-27 16:16:12",
"invalid": 0,
"viz_record_flag": false,
"controller": {
"id": 1,
"version_id": null,
"version": null
},
"sensors_snap": {},
"view_record": false,
"bev": false,
"scores": 0,
"status": "JobStatus.WAITING",
"scenario_infos": [
{
"id": 9206,
"name": "AEB_CPTA-LN-50(5kmph)-30kmph-day",
"tags": [],
"name_en": "AEB_CPTA-LN-50(5kmph)-30kmph-day",
"tags_en": null,
"weight": 1
}
],
"evaluation_criteria": {
"user_id": 1,
"created_at": "2023-09-26 14:46:29",
"invalid": 0,
"name_en": "Universal City Standard",
"script_infos": {},
"desc_en": "Safety evaluation of regular city driving scenarios",
"id": 2,
"system_data": true,
"desc": "",
"name": "通用城市模板",
"company_id": 1,
"modified_at": "2023-09-26 16:25:13",
"criteria": {
"MinTHW": {
"value": 4,
"weight": 8,
"enabled": true
},
"MinTTC": {
"value": 3,
"weight": 8,
"enabled": true
},
"OnRoad": {
"deduct": 20,
"enabled": true
},
"Collision": {
"deduct": 100,
"enabled": true
},
"JerkLateral": {
"value": 15,
"weight": 8,
"enabled": true
},
"MaxVelocity": {
"value": 60,
"weight": 9,
"enabled": true
},
"MinVelocity": {
"value": 0,
"weight": 9,
"enabled": true
},
"RunRedLight": {
"deduct": 100,
"enabled": true
},
"OntoSolidLine": {
"deduct": 20,
"enabled": true
},
"RoadSpeedLimit": {
"deduct": 20,
"enabled": true
},
"JerkLongitudinal": {
"value": 5,
"weight": 8,
"enabled": true
},
"ReachDestination": {
"deduct": 20,
"enabled": true
},
"DrivingEfficiency": {
"value": 120,
"weight": 8,
"enabled": true
},
"MaxAverageVelocity": {
"value": 40,
"weight": 9,
"enabled": true
},
"MinAverageVelocity": {
"value": 0,
"weight": 9,
"enabled": true
},
"AccelerationLateral": {
"value": 2.3,
"weight": 8,
"enabled": true
},
"AccelerationVertical": {
"value": 0.15,
"weight": 8,
"enabled": true
},
"ReverseDirectionDriving": {
"deduct": 20,
"enabled": true
},
"AccelerationLongitudinal": {
"value": 6,
"weight": 8,
"enabled": true
}
}
}
},
"message": ""
}
修改于 2024-08-27 08:18:23