Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

LifepoCurrent

Ali Mir edited this page Apr 24, 2018 · 2 revisions

LifePo Current

URL : /equisat/data/lifepo/lifepoCurrent

Method : GET

Retrieves all lifepoCurrent objects

Success Response

Code : 200 OK

Content example

[{
  "id": 1,
  "index": 2,
  "current": 6.2,
  "tid": 1,
  "timestamp": 1
},{
  "id": 2,
  "index": 3,
  "current": 8.6,
  "tid": 2,
  "timestamp": 2
},{
  "id": 3,
  "index": 4,
  "current": 10.0,
  "tid": 3,
  "timestamp": 3
},{
  "id": 4,
  "index": 5,
  "current": 4.3,
  "tid": 4,
  "timestamp": 4
}]

URL : /equisat/data/lifepo/lifepoCurrent/5

Method : GET

Retrieve lifepoCurrent with id 5

Success Response

Code : 200 OK

Content example

{
  "id": 5,
  "index": 3,
  "current": 10.6,
  "tid": 5,
  "timestamp": 5
}