User Tools

Site Tools


icecondor:api

**This is an old revision of the document!**

web/SVG version

Introduction

input format: HTTP get/post variables
output format: JSON
success/error reporting: HTTP response code

id = Any unique string identifier (usually a URL)
lat = signed float (in degrees)
long = signed float (in degrees)
alt = signed float (in meters)
time = 2008-09-05T22:00Z (ISO8601)
hdop = float (Dilution of Precision)
vdop = float
pdop = float
radius = float (in meters)

Update location

POST /locations
input:
  id=<id> lat=<x> long=<y> alt=<z> time=<w> HDOP=<hdop> VDOP=<vdop> PDOP=<pdop>
  or
  id=<id> next_to=<other id> radius=<in meters>
output:

=== Search ===
GET /locations/<guid>
input:
  search filters:
  radius=<radius> - return the last record for any ids in the radius
   lat=<lat>
   long=<long>
   alt=<alt> (optional)
output:
  returns the most recent post.
  [id,lat,long,alt,time,hdop,vdop,pdop]

GUIDs

icecondor/api.1221422543.txt.gz · Last modified: 2024/01/31 04:08 (external edit)