point_value.http 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. #
  2. # Copyright 2016-present the original author or authors.
  3. #
  4. # Licensed under the Apache License, Version 2.0 (the "License");
  5. # you may not use this file except in compliance with the License.
  6. # You may obtain a copy of the License at
  7. #
  8. # https://www.apache.org/licenses/LICENSE-2.0
  9. #
  10. # Unless required by applicable law or agreed to in writing, software
  11. # distributed under the License is distributed on an "AS IS" BASIS,
  12. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. # See the License for the specific language governing permissions and
  14. # limitations under the License.
  15. #
  16. ### 分页查询 Point Value
  17. #/data/list
  18. POST http://{{dc3-data}}/data/point_value/list
  19. Accept: */*
  20. Content-Type: application/json
  21. Cache-Control: no-cache
  22. {
  23. "deviceId": "1",
  24. "pointId": "1",
  25. "page": {
  26. "current": 1
  27. }
  28. }
  29. ### 根据 Device ID 查询 最新值
  30. #/latest/device_id/:deviceId
  31. GET http://{{dc3-data}}/data/point_value/latest/device_id/1
  32. Accept: */*
  33. Cache-Control: no-cache
  34. ### 根据 Device ID 和 Point ID 查询 最新值
  35. #/latest/device_id/:deviceId/point_id/:pointId
  36. GET http://{{dc3-data}}/data/point_value/latest/device_id/1/point_id/1
  37. Accept: */*
  38. Cache-Control: no-cache
  39. ### 根据 Device ID 查询 实时值
  40. #/realtime/device_id/:deviceId
  41. GET http://{{dc3-data}}/data/point_value/realtime/device_id/1379432247010025473
  42. Accept: */*
  43. Cache-Control: no-cache
  44. ### 根据 Device ID 和 Point ID 查询 实时值
  45. #/realtime/device_id/:deviceId/point_id/:pointId
  46. GET http://{{dc3-data}}/data/point_value/realtime/device_id/1/point_id/1
  47. Accept: */*
  48. Cache-Control: no-cache
  49. ###