文档
测试

查询自动站分钟数据(降水要素)

POST
http://10.23.100.169/apis/awsminute_rain/list

接口描述

查询自动站分钟数据(降水要素)

请求头

参数名
类型
描述
必填
apikey
string
您的授权密钥
必填
content-type
string
application/json
必填

请求参数

参数名
类型
描述
必填
id
string
必须为 Statin_minute_rain_data
必填
params
object
数据字典
必填
from
number
开始请求的序号,默认为0
必填
size
number
一次性请求的最多的站点数量,默认为200
必填

响应参数

参数名
类型
描述
必填
took
int
示例:16
必填
timed_out
boolean
示例:false
必填
_shards
object
数据字典
必填
total
int
示例:5
必填
successful
int
示例:5
必填
skipped
int
示例:0
必填
failed
int
示例:0
必填
hits
object
数据字典
必填
total
int
示例:95
必填
max_score
float
示例:8.339246
必填
hits
array
数据列表
必填
_index
string
示例:rpms_minute_precipitation_data_idx
必填
_type
string
示例:MinutePrecipitationData
必填
_id
string
示例:-1389082096
必填
_score
float
示例:8.339246
必填
_source
object
数据字典
必填
id
string
示例:-1389082096
必填
observeTime
string
示例:2022-09-07 03:58:00
必填
timeScale
string
示例:five_minute
必填
pre
int
示例:0
必填
pre1h
int
示例:0
必填
pre2h
int
示例:0
必填
pre3h
int
示例:0
必填
pre1hDataMissed
int
示例:0
必填
pre2hDataMissed
int
示例:0
必填
pre3hDataMissed
int
示例:0
必填
createAt
string
示例:2022-09-07 20:22:07
必填
dataSource
string
示例:sqlserver
必填
staId
string
示例:F2329
必填
stationType
int
示例:0
必填
day
int
示例:7
必填
hour
int
示例:3
必填
minute
int
示例:58
必填
year
int
示例:2022
必填
month
int
示例:9
必填

说明 / 示例

## 自动站数据的时间说明 涉及自动站的所有接口中的时间均为世界时,即比北京时间少8小时,在展示时需要进行相应处理,如: ```js var realDate=new Date(new Date(utc).getTime()+8*3600*1000) ``` ## 请求参数说明 请求body中的id参数必须为"Statin_minute_rain_data"(不含引号) 请求body参数为json格式,一个正常的请求body如下: ```json { "id":"Statin_minute_rain_data", "params":{ "*":"*" } } ``` ### 返回结果字段 >要素代码 要素名称 单位 timeScale pre 降水量 毫米 pre1h 滑动累计降水量(1h) 毫米 pre2h 滑动累计降水量(2h) 毫米 pre3h 滑动累计降水量(3h) 毫米 pre1hDataMissed pre2hDataMissed pre3hDataMissed observeTime 观测时间 createAt 创建时间 dataSource staId 区站号 stationType 测站类型 year 年 年 month 月 月 day 日 日 hour 时 时 minute 分 分钟