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

Photodiode

Ali Mir edited this page Apr 24, 2018 · 1 revision

Photodiode

URL : /equisat/data/photodiode/photodiode

Method : GET

Retrieves all photodiode objects

Success Response

Code : 200 OK

Content example

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

URL : /equisat/data/photodiode/photodiode/5

Method : GET

Retrieve photodiode with id 5

Success Response

Code : 200 OK

Content example

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