123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- #
- # Copyright 2016-present the original author or authors.
- #
- # Licensed under the Apache License, Version 2.0 (the "License");
- # you may not use this file except in compliance with the License.
- # You may obtain a copy of the License at
- #
- # https://www.apache.org/licenses/LICENSE-2.0
- #
- # Unless required by applicable law or agreed to in writing, software
- # distributed under the License is distributed on an "AS IS" BASIS,
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- # See the License for the specific language governing permissions and
- # limitations under the License.
- #
- ### 分页查询 Point Value
- #/data/list
- POST http://{{dc3-data}}/data/point_value/list
- Accept: */*
- Content-Type: application/json
- Cache-Control: no-cache
- {
- "deviceId": "1",
- "pointId": "1",
- "page": {
- "current": 1
- }
- }
- ### 根据 Device ID 查询 最新值
- #/latest/device_id/:deviceId
- GET http://{{dc3-data}}/data/point_value/latest/device_id/1
- Accept: */*
- Cache-Control: no-cache
- ### 根据 Device ID 和 Point ID 查询 最新值
- #/latest/device_id/:deviceId/point_id/:pointId
- GET http://{{dc3-data}}/data/point_value/latest/device_id/1/point_id/1
- Accept: */*
- Cache-Control: no-cache
- ### 根据 Device ID 查询 实时值
- #/realtime/device_id/:deviceId
- GET http://{{dc3-data}}/data/point_value/realtime/device_id/1379432247010025473
- Accept: */*
- Cache-Control: no-cache
- ### 根据 Device ID 和 Point ID 查询 实时值
- #/realtime/device_id/:deviceId/point_id/:pointId
- GET http://{{dc3-data}}/data/point_value/realtime/device_id/1/point_id/1
- Accept: */*
- Cache-Control: no-cache
- ###
|