icecondor:api
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| icecondor:api [2008/09/14 20:02] – 192.168.0.3 | icecondor:api [2024/01/31 04:08] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| === web/SVG version === | === web/SVG version === | ||
| - | http:// | + | http:// |
| - | http:// | + | http:// |
| === Introduction === | === Introduction === | ||
| Line 8: | Line 8: | ||
| success/ | success/ | ||
| - | id = Any unique string identifier (usually | + | === IDs/URIs === |
| - | lat = signed float (in degrees) \\ | + | |
| - | long = signed float (in degrees) \\ | + | the id field in icecondor is a URI, with some standard URNs defined. |
| - | alt = signed float (in meters) \\ | + | |
| - | time = 2008-09-05T22:00Z (ISO8601) \\ | + | A person is generally defined by their OpenID |
| - | hdop = float (Dilution | + | < |
| - | vdop = float \\ | + | http:// |
| - | pdop = float \\ | + | </ |
| - | radius = float (in meters) \\ | + | |
| + | If there is no identified URL for the user, a regular uuid can be generated. | ||
| + | < | ||
| + | urn: | ||
| + | </ | ||
| + | |||
| + | |||
| + | The follow URNs are used to build an icecondor id when the MAC address | ||
| + | |||
| + | < | ||
| + | urn: | ||
| + | urn: | ||
| + | </ | ||
| === Update location === | === Update location === | ||
| Line 23: | Line 35: | ||
| POST /locations | POST /locations | ||
| input: | input: | ||
| - | | + | |
| + | location[timestamp]=<2008-09-05T22: | ||
| + | location[guid]=<openid url> | ||
| + | location[latitude]=<float> | ||
| + | location[longitude]=<float> | ||
| + | location[altitude]=<altitude in meters> | ||
| + | location[accuracy]=<horizontal accuracy in meters> | ||
| + | location[velocity]=<speed in meters/s> | ||
| + | location[heading]=<direction in degrees> | ||
| or | or | ||
| - | | + | |
| output: | output: | ||
| + | </ | ||
| === Search === | === Search === | ||
| - | GET /locations/< | + | < |
| + | GET /locations?id=< | ||
| input: | input: | ||
| search filters: | search filters: | ||
| - | | + | |
| - | | + | lat=< |
| - | | + | long=< |
| - | | + | alt=< |
| + | or | ||
| + | id=< | ||
| + | limit=< | ||
| output: | output: | ||
| returns the most recent post. | returns the most recent post. | ||
| - | [id, | + | [id, |
| </ | </ | ||
| - | === GUIDs === | ||
icecondor/api.1221422543.txt.gz · Last modified: 2024/01/31 04:08 (external edit)