- 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/group_search
locale,国际化支持,中文:zhCN,英文:en
请求参数
Query 参数
parent_id
integer
依赖目录ID,必填
示例值:
9222
pagenum
integer
可选
示例值:
1
pagesize
integer
可选
示例值:
10
locale
string
可选
示例值:
zhCN
content
string
可选
has_temp
integer
可选
示例值:
1
tags
array[string]
场景标签,非必填
示例值:
["测试盲区监控功能","测试车道偏离预警功能","测试自动紧急制动功能"]
last_mod_time
string
必需
示例值:
2024-08-12 15:36:21
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/group_search?parent_id=9222' \
--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
必需
pageinfo
object
必需
datas
array [object {18}]
必需
total_scenario_nums
integer
必需
message
string
必需
示例
{
"code": 200,
"result": {
"pageinfo": {
"total_num": 5,
"total_page_num": 1
},
"datas": [
{
"id": 425,
"name": "GoAlong(HS)_V1(LF)CutIn",
"modified_at": "2023-08-18 11:54:49",
"user_id": 1,
"desc": "",
"name_en": "",
"desc_en": "",
"tags": [
"高速",
"直道",
"车辆侵入"
],
"tags_en": [
"Highway",
"Straight Road",
"Cut In"
],
"type": "file",
"parent_id": 419,
"map_id": "1385909819473243777",
"is_temp": 0,
"system_data": 1,
"criterion_id": 2,
"company_id": 1,
"stop_trigger": "{\"collision\": true, \"sim_timeout\": 180, \"running_timeout\": 300}",
"map_name": "Town05"
},
{
"id": 424,
"name": "GoAlong(HS)_V1(F)StandStill",
"modified_at": "2023-08-18 11:54:49",
"user_id": 1,
"desc": "",
"name_en": "",
"desc_en": "",
"tags": [
"高速",
"直道",
"前方车辆静止"
],
"tags_en": [
"Highway",
"Straight Road",
"Front Vehicle StandStill"
],
"type": "file",
"parent_id": 419,
"map_id": "1385909819473243777",
"is_temp": 0,
"system_data": 1,
"criterion_id": 2,
"company_id": 1,
"stop_trigger": "{\"collision\": true, \"sim_timeout\": 180, \"running_timeout\": 300}",
"map_name": "Town05"
},
{
"id": 423,
"name": "GoAlong(HS)_V1(F)Brake",
"modified_at": "2023-08-18 11:54:49",
"user_id": 1,
"desc": "",
"name_en": "",
"desc_en": "",
"tags": [
"高速",
"直道",
"前方车辆制动"
],
"tags_en": [
"Highway",
"Straight Road",
"Front Vehicle Brake"
],
"type": "file",
"parent_id": 419,
"map_id": "1385909819473243777",
"is_temp": 0,
"system_data": 1,
"criterion_id": 2,
"company_id": 1,
"stop_trigger": "{\"collision\": true, \"sim_timeout\": 180, \"running_timeout\": 300}",
"map_name": "Town05"
},
{
"id": 422,
"name": "GoAlong(HS)_V1(B)Overtake",
"modified_at": "2023-08-18 11:54:49",
"user_id": 1,
"desc": "",
"name_en": "",
"desc_en": "",
"tags": [
"高速",
"直道",
"超车"
],
"tags_en": [
"Highway",
"Straight Road",
"Overtake"
],
"type": "file",
"parent_id": 419,
"map_id": "1385909819473243777",
"is_temp": 0,
"system_data": 1,
"criterion_id": 2,
"company_id": 1,
"stop_trigger": "{\"collision\": true, \"sim_timeout\": 180, \"running_timeout\": 300}",
"map_name": "Town05"
},
{
"id": 420,
"name": "GoAlong(HS)_V1(F)StandStill_V2(LF)StandStill",
"modified_at": "2023-08-18 11:54:49",
"user_id": 1,
"desc": "",
"name_en": "",
"desc_en": "",
"tags": [
"高速",
"直道",
"前方车辆制动"
],
"tags_en": [
"Highway",
"Straight Road",
"Front Vehicle Brake"
],
"type": "file",
"parent_id": 419,
"map_id": "1385909819473243777",
"is_temp": 0,
"system_data": 1,
"criterion_id": 2,
"company_id": 1,
"stop_trigger": "{\"collision\": true, \"sim_timeout\": 180, \"running_timeout\": 300}",
"map_name": "Town05"
}
],
"total_scenario_nums": 5
},
"message": ""
}
修改于 2024-11-07 08:28:53