- 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
/tasks/{task_id}/sensors/{sensor_id}/datas
请求参数
Path 参数
task_id
integer
必需
示例值:
205
sensor_id
integer
必需
示例值:
0
Header 参数
Authorization
string
必需
示例值:
bearer {{token}}
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 '/tasks/205/sensors/0/datas' \
--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'
返回响应
🟢200成功
application/json
Body
code
integer
必需
result
object
必需
created_at
string
必需
car_sensor_id
integer
必需
company_id
integer
必需
id
integer
必需
modified_at
string
必需
platform
null
必需
data_size
null
必需
system_data
boolean
必需
invalid
integer
必需
cam_url
string
必需
task_id
integer
必需
sensor_type
string
必需
sensor_name
string
必需
data_url
null
必需
message
string
必需
示例
{
"code": 200,
"result": {
"company_id": 1,
"modified_at": "2023-07-18 14:00:47",
"task_id": 205,
"sensor_type": "sensor.camera.rgb",
"id": 3,
"data_size": null,
"created_at": "2023-07-18 14:00:47",
"sensor_name": "record_rgb",
"system_data": false,
"cam_url": null,
"platform": null,
"invalid": 0,
"car_sensor_id": 0,
"data_url": null
},
"message": ""
}
修改于 2024-08-20 07:56:43