Skip to content

Example of what the API could be

jburris edited this page Apr 21, 2013 · 4 revisions

Interact with our api by sending the data from your ArduSat, to our endpoint.

Accepted sensors: temperature, inertia, photo

To POST

{
  arduino: '00:B0:D0:86:BB:F7',
  sensor: {[
    { name: 'temperature',
      data: '89',
      unit: 'kelvin',
      capture_time: '2013-04-21T01:58:59Z' }
  ]}
}

To submit a specific kind of sensor data, POST your data to the type of sensor you're looking to store.

/sensor/temperature/

{
  arduino: '00:B0:D0:86:BB:F7',
  sensor: {
    data: '89',
    unit: 'kelvin',
    capture_time: '2013-04-21T01:58:59Z'
  }
}
Clone this wiki locally