- 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
/weathers/
请求参数
Query 参数
pagenum
integer
可选
示例值:
1
pagesize
integer
可选
示例值:
10
content
string
可选
locale
string
可选
示例值:
zhCN
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 '/weathers/?pagenum=1&pagesize=10&content=&locale=zhCN' \
--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
必需
pageinfo
object
必需
datas
array [object {22}]
必需
message
string
必需
示例
{"code":200,"result":{"pageinfo":{"total_num":10,"total_page_num":1},"datas":[{"user_id":1,"precipitation_deposits":0.0,"wind_intensity":10.0,"name_en":"Cloudiness","desc":"初始化场景天气模型,所有参数均使用默认配置,可用于用户初次使用系统体验使用。\n","fog_distance":75.0,"fog_falloff":1.0,"invalid":0,"fog_visualrange":10000.0,"fog_density":10.0,"cloudiness":10.0,"system_data":true,"cloudstate":"free","sky_visibility":true,"wetness":0.0,"created_at":"2022-11-09 08:56:45","company_id":1,"id":10,"modified_at":"2023-03-24 17:01:18","desc_en":"Initialize the weather model with default settings for users to experience the system for the first time.","name":"无云","precipitation":0.0},{"user_id":1,"precipitation_deposits":0.0,"wind_intensity":0.0,"name_en":"Fog Dense","desc":"初始化场景天气模型,所有参数均使用默认配置,可用于用户初次使用系统体验使用。\n","fog_distance":200.0,"fog_falloff":0.5,"invalid":0,"fog_visualrange":50.0,"fog_density":1.0,"cloudiness":80.0,"system_data":true,"cloudstate":"overcast","sky_visibility":true,"wetness":60.0,"created_at":"2022-11-09 08:56:45","company_id":1,"id":9,"modified_at":"2023-03-24 17:01:18","desc_en":"Initialize the weather model with default settings for users to experience the system for the first time.","name":"浓雾","precipitation":0.0},{"user_id":1,"precipitation_deposits":0.0,"wind_intensity":0.0,"name_en":"Mist","desc":"初始化场景天气模型,所有参数均使用默认配置,可用于用户初次使用系统体验使用。\n","fog_distance":200.0,"fog_falloff":0.5,"invalid":0,"fog_visualrange":2000.0,"fog_density":0.1,"cloudiness":80.0,"system_data":true,"cloudstate":"overcast","sky_visibility":true,"wetness":30.0,"created_at":"2022-11-09 08:56:45","company_id":1,"id":8,"modified_at":"2023-03-24 17:01:18","desc_en":"Initialize the weather model with default settings for users to experience the system for the first time.","name":"薄雾","precipitation":0.0},{"user_id":1,"precipitation_deposits":50.0,"wind_intensity":0.35,"name_en":"Ponding","desc":"初始化场景天气模型,所有参数均使用默认配置,可用于用户初次使用系统体验使用。\n","fog_distance":0.0,"fog_falloff":0.0,"invalid":0,"fog_visualrange":10000.0,"fog_density":0.0,"cloudiness":20.0,"system_data":true,"cloudstate":"cloudy","sky_visibility":true,"wetness":0.0,"created_at":"2022-11-09 08:56:45","company_id":1,"id":7,"modified_at":"2023-03-24 17:01:18","desc_en":"Initialize the weather model with default settings for users to experience the system for the first time.","name":"积水","precipitation":0.0},{"user_id":1,"precipitation_deposits":50.0,"wind_intensity":0.35,"name_en":"Ponding after raining","desc":"初始化场景天气模型,所有参数均使用默认配置,可用于用户初次使用系统体验使用。\n","fog_distance":0.0,"fog_falloff":0.0,"invalid":0,"fog_visualrange":10000.0,"fog_density":0.0,"cloudiness":80.0,"system_data":true,"cloudstate":"cloudy","sky_visibility":true,"wetness":0.0,"created_at":"2022-11-09 08:56:45","company_id":1,"id":6,"modified_at":"2023-03-24 17:01:18","desc_en":"Initialize the weather model with default settings for users to experience the system for the first time.","name":"雨后积水","precipitation":0.0},{"user_id":1,"precipitation_deposits":50.0,"wind_intensity":0.35,"name_en":"Light Rain","desc":"初始化场景天气模型,所有参数均使用默认配置,可用于用户初次使用系统体验使用。\n","fog_distance":0.0,"fog_falloff":0.0,"invalid":0,"fog_visualrange":5000.0,"fog_density":0.0,"cloudiness":70.0,"system_data":true,"cloudstate":"overcast","sky_visibility":true,"wetness":0.0,"created_at":"2022-11-09 08:56:45","company_id":1,"id":5,"modified_at":"2023-03-24 17:01:18","desc_en":"Initialize the weather model with default settings for users to experience the system for the first time.","name":"小雨","precipitation":0.15},{"user_id":1,"precipitation_deposits":50.0,"wind_intensity":0.4,"name_en":"Moderate Rain","desc":"初始化场景天气模型,所有参数均使用默认配置,可用于用户初次使用系统体验使用。\n","fog_distance":0.0,"fog_falloff":0.0,"invalid":0,"fog_visualrange":2000.0,"fog_density":0.0,"cloudiness":80.0,"system_data":true,"cloudstate":"overcast","sky_visibility":true,"wetness":0.0,"created_at":"2022-11-09 08:56:45","company_id":1,"id":4,"modified_at":"2023-03-24 17:01:18","desc_en":"Initialize the weather model with default settings for users to experience the system for the first time.","name":"中雨","precipitation":0.3},{"user_id":1,"precipitation_deposits":100.0,"wind_intensity":1.0,"name_en":"Rainstorm","desc":"初始化场景天气模型,所有参数均使用默认配置,可用于用户初次使用系统体验使用。\n","fog_distance":0.0,"fog_falloff":0.0,"invalid":0,"fog_visualrange":1000.0,"fog_density":0.0,"cloudiness":90.0,"system_data":true,"cloudstate":"rainy","sky_visibility":true,"wetness":0.0,"created_at":"2022-11-09 08:56:45","company_id":1,"id":3,"modified_at":"2023-03-24 17:01:18","desc_en":"Initialize the weather model with default settings for users to experience the system for the first time.","name":"暴雨","precipitation":0.6},{"user_id":1,"precipitation_deposits":0.0,"wind_intensity":0.35,"name_en":"Cloudy","desc":"初始化场景天气模型,所有参数均使用默认配置,可用于用户初次使用系统体验使用。\n","fog_distance":0.0,"fog_falloff":0.0,"invalid":0,"fog_visualrange":10000.0,"fog_density":0.0,"cloudiness":80.0,"system_data":true,"cloudstate":"cloudy","sky_visibility":true,"wetness":0.0,"created_at":"2022-11-09 08:56:45","company_id":1,"id":2,"modified_at":"2023-03-24 17:01:18","desc_en":"Initialize the weather model with default settings for users to experience the system for the first time.","name":"多云","precipitation":0.0},{"user_id":1,"precipitation_deposits":0.0,"wind_intensity":0.35,"name_en":"Sunny","desc":"初始化场景天气模型,所有参数均使用默认配置,可用于用户初次使用系统体验使用。\n","fog_distance":0.0,"fog_falloff":0.0,"invalid":0,"fog_visualrange":10000.0,"fog_density":0.0,"cloudiness":15.0,"system_data":true,"cloudstate":"free","sky_visibility":true,"wetness":0.0,"created_at":"2022-11-09 08:56:45","company_id":1,"id":1,"modified_at":"2023-03-24 17:01:18","desc_en":"Initialize the weather model with default settings for users to experience the system for the first time.","name":"晴朗","precipitation":0.0}]},"message":""}
🟢200成功
修改于 2024-11-08 06:58:24