- 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
/scenarios/tree
请求参数
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 '/scenarios/tree' \
--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
必需
result
object
必需
stop_trigger
object
必需
user_id
integer
必需
is_temp
boolean
必需
tags_en
null
必需
ui_entities_json
object
必需
array_elements
null
必需
name_en
string
必需
criterion_id
integer
必需
environment
object
必需
desc
string
必需
invalid
integer
必需
type
string
必需
traffic_flow
array[string]
必需
lever
null
必需
system_data
boolean
必需
tags
array[string]
必需
evaluation_standard
object
必需
created_at
string
必需
company_id
integer
必需
id
integer
必需
open_scenario_json
object
必需
modified_at
string
必需
parent_id
integer
必需
desc_en
string
必需
name
string
必需
map_id
string
必需
message
string
必需
示例
{
"code": 200,
"result": [
{
"id": 9185,
"name": "CNCAP",
"type": "dir",
"children": [
{
"id": 9187,
"name": "BSD",
"type": "dir",
"children": [
{
"id": 9188,
"name": "BSD_GoAlong(25kmph)_V1cutin(25kmph)-day",
"type": "file",
"is_temp": false
},
{
"id": 9189,
"name": "BSD_GoAlong(30kmph)_V1(40kmph)-day",
"type": "file",
"is_temp": false
},
{
"id": 9190,
"name": "BSD_GoAlong-50kmph_V1(F)StandStill-60kmph",
"type": "file",
"is_temp": false
},
{
"id": 9191,
"name": "BSD_GoAlong(50kmph)_V1(RF)CutIn-50kmph",
"type": "file",
"is_temp": false
}
],
"is_temp": false
},
{
"id": 9192,
"name": "LDW",
"type": "dir",
"children": [
{
"id": 9193,
"name": "LDW_80kmph-Corners-right",
"type": "file",
"is_temp": false
},
{
"id": 9194,
"name": "LDW_80kmph-Straight-right(0.6ms)",
"type": "file",
"is_temp": false
},
{
"id": 9195,
"name": "LDW_80kmph-Straight-left(0.7ms)",
"type": "file",
"is_temp": false
},
{
"id": 9196,
"name": "LDW_80kmph-Straight-left(0.6ms)",
"type": "file",
"is_temp": false
},
{
"id": 9197,
"name": "LDW_80kmph-Straight-right(0.7ms)",
"type": "file",
"is_temp": false
},
{
"id": 9198,
"name": "LDW_80kmph-Corners-left",
"type": "file",
"is_temp": false
}
],
"is_temp": false
},
{
"id": 9199,
"name": "AEB",
"type": "dir",
"children": [
{
"id": 9200,
"name": "AEB_CPFAO-25(6.5kmph)-40kmph-night",
"type": "file",
"is_temp": false
},
{
"id": 9201,
"name": "AEB_CCFT(20kmph)-10kmph-day",
"type": "file",
"is_temp": false
},
{
"id": 9202,
"name": "AEB_CCFT(50kmph)-30kmph-day",
"type": "file",
"is_temp": false
},
{
"id": 9203,
"name": "AEB_CPNCO-25(5kmph)-20kmph-day",
"type": "file",
"is_temp": false
},
{
"id": 9204,
"name": "AEB_CCRs-40kmph(-50%)-day",
"type": "file",
"is_temp": false
},
{
"id": 9205,
"name": "AEB_CCFT(40kmph)-20kmph-day",
"type": "file",
"is_temp": false
},
{
"id": 9206,
"name": "AEB_CPTA-LN-50(5kmph)-30kmph-day",
"type": "file",
"is_temp": false
},
{
"id": 9208,
"name": "AEB_C2C SCP(30kmph)-40kmph-day",
"type": "file",
"is_temp": false
},
{
"id": 9210,
"name": "AEB_CPTA-LN-50(5kmph)-20kmph-day",
"type": "file",
"is_temp": false
},
{
"id": 9211,
"name": "AEB_CPFAO-25(6.5kmph)-50kmph-night",
"type": "file",
"is_temp": false
},
{
"id": 9212,
"name": "AEB_CPTA-LF-50(5kmph)-10kmph-day",
"type": "file",
"is_temp": false
},
{
"id": 9213,
"name": "AEB_CCRs-20kmph(-50%)-day",
"type": "file",
"is_temp": false
},
{
"id": 9214,
"name": "AEB_CPFAO-25(6.5kmph)-30kmph-night",
"type": "file",
"is_temp": false
},
{
"id": 9215,
"name": "AEB_CCRs-30kmph(50%)-day",
"type": "file",
"is_temp": false
},
{
"id": 9216,
"name": "AEB_CBNAO-50(15kmph)-60kmph-day",
"type": "file",
"is_temp": false
},
{
"id": 9218,
"name": "AEB_C2C SCP(20kmph)-30kmph-day",
"type": "file",
"is_temp": false
},
{
"id": 9219,
"name": "AEB_CSTA-RN(20kmph)-10kmph-day",
"type": "file",
"is_temp": false
},
{
"id": 9217,
"name": "AEB_CBLA-25(15kmph)-60kmph-day",
"type": "file",
"is_temp": false
},
{
"id": 9209,
"name": "AEB_CBLA-25(15kmph)-40kmph-day",
"type": "file",
"is_temp": false
},
{
"id": 9207,
"name": "AEB_CBLA-25(15kmph)-80kmph-day",
"type": "file",
"is_temp": false
}
],
"is_temp": false
},
{
"id": 9220,
"name": "DOW",
"type": "dir",
"children": [
{
"id": 9221,
"name": "DOW_0kmph_V1(30kmph)",
"type": "file",
"is_temp": false
}
],
"is_temp": false
},
{
"id": 9222,
"name": "FCW",
"type": "dir",
"children": [
{
"id": 9223,
"name": "FCW_CCRH-80kmph(100%)-day",
"type": "file",
"is_temp": false
},
{
"id": 9224,
"name": "FCW_CCRs-50kmph(50%)-day",
"type": "file",
"is_temp": false
},
{
"id": 9225,
"name": "FCW_CCRs-60kmph(-50%)-day",
"type": "file",
"is_temp": false
},
{
"id": 9226,
"name": "FCW_C2C SCP(50kmph)-60kmph-day",
"type": "file",
"is_temp": false
},
{
"id": 9227,
"name": "FCW_CCRs-80kmph(-50%)-day",
"type": "file",
"is_temp": false
},
{
"id": 9228,
"name": "FCW_C2C SCPO(50kmph)-60kmph-day",
"type": "file",
"is_temp": false
},
{
"id": 9229,
"name": "FCW_CPLA-25(5kmph)-40kmph-day",
"type": "file",
"is_temp": false
},
{
"id": 9230,
"name": "FCW_CCRs-70kmph(50%)-day",
"type": "file",
"is_temp": false
},
{
"id": 9231,
"name": "FCW_CPLA-25(5kmph)-40kmph-night",
"type": "file",
"is_temp": false
},
{
"id": 9232,
"name": "FCW_C2C SCP(40kmph)-50kmph-day",
"type": "file",
"is_temp": false
}
],
"is_temp": false
},
{
"id": 9233,
"name": "FalseReactio",
"type": "dir",
"children": [
{
"id": 9234,
"name": "AEB _False Reaction_GoAlong(30kmph)_P1(5kmph)",
"type": "file",
"is_temp": false
},
{
"id": 9235,
"name": "AEB _False Reaction_Turnleft(30kmph)_V1(static)day",
"type": "file",
"is_temp": false
},
{
"id": 9236,
"name": "AEB _FalseReaction_Turnleft(25kmph)_V1(static)-day",
"type": "file",
"is_temp": false
},
{
"id": 9237,
"name": "AEB _False Reaction_CCRs-40kmph-day",
"type": "file",
"is_temp": false
}
],
"is_temp": false
},
{
"id": 9238,
"name": "LSS",
"type": "dir",
"children": [
{
"id": 9239,
"name": "LKA_80kmph-left(0.5ms)-dashed",
"type": "file",
"is_temp": false
},
{
"id": 9240,
"name": "LKA_80kmph-left(0.5ms)-Solid line",
"type": "file",
"is_temp": false
},
{
"id": 9241,
"name": "LKA_80kmph-right(0.5ms)-Solid line",
"type": "file",
"is_temp": false
},
{
"id": 9242,
"name": "ELK_70kmph(0.6ms-left)_V1(Left )-80kmph",
"type": "file",
"is_temp": false
},
{
"id": 9243,
"name": "LKA_80kmph-right(0.3ms)-Solid line",
"type": "file",
"is_temp": false
},
{
"id": 9244,
"name": "LKA_80kmph-right(0.5ms)-dashed",
"type": "file",
"is_temp": false
}
],
"is_temp": false
}
],
"is_temp": false
}
],
"message": ""
}
修改于 2024-08-20 08:06:07