- 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
查找指定id天气
GET
/weathers/{weather_id}/details
请求参数
Path 参数
weather_id
string
必需
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//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'
返回响应
🟢200成功
application/json
Body
code
integer
必需
result
object
必需
pageinfo
object
必需
datas
array [object {22}]
必需
message
string
必需
示例
{
"code": 200,
"result": {
"wind_intensity": 1,
"cloudstate": "rainy",
"invalid": 0,
"name_en": "Rainstorm",
"fog_distance": 0,
"company_id": 1,
"desc_en": "Initialize the weather model with default settings for users to experience the system for the first time.",
"created_at": "2022-11-09 08:56:45",
"cloudiness": 90,
"sky_visibility": true,
"fog_density": 0,
"precipitation_deposits": 100,
"user_id": 1,
"modified_at": "2023-03-24 17:01:18",
"precipitation": 0.6,
"name": "暴雨",
"wetness": 0,
"desc": "初始化场景天气模型,所有参数均使用默认配置,可用于用户初次使用系统体验使用。\n",
"fog_falloff": 0,
"system_data": true,
"id": 3,
"fog_visualrange": 1000
},
"message": ""
}
🟢200成功
修改于 2024-11-08 06:58:31