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

EventHistory

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

Event history

URL : /equisat/data/eventHistory

Method : GET

Retrieves all eventHistory objects

Success Response

Code : 200 OK

Content example

[{
  "id": 1,
  "index": "3",
  "event": 12.1,
  "timestamp": 1,
  "tid": 1
},{
  "id": 2,
  "index": "4",
  "event": 19.1,
  "timestamp": 2,
  "tid": 2
},{
  "id": 3,
  "index": "5",
  "event": 10.3,
  "timestamp": 3,
  "tid": 1
},{
  "id": 4,
  "index": "5",
  "event": 10.0,
  "timestamp": 4,
  "tid": 1
}]

URL : /equisat/data/eventHistory/5

Method : GET

Retrieve eventHistory with id 5

Success Response

Code : 200 OK

Content example

{
  "id": 5,
  "index": "3",
  "event": 10.1,
  "timestamp": 1,
  "tid": 1
}