Skip to content

Latest commit

 

History

History
31 lines (28 loc) · 413 Bytes

API.md

File metadata and controls

31 lines (28 loc) · 413 Bytes

API

Here is APIs what we need to implement:

  • Renew GPS location
{
  type: 'endpoint',
  endpointId: '<Unique ID of Endpoint>'
  online: true,
  lat: <GPS Location>,
  lon: <GPS Location>
}
  • Start Receiving GPS location
{
  type: 'action',
  action: 'hookEndpoint',
  enabled: true
}
  • Stop Receive GPS location
{
  type: 'action',
  action: 'hookEndpoint',
  enabled: false
}