icecondor:api
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
icecondor:api [2008/09/14 20:41] – 192.168.0.3 | icecondor:api [2009/01/11 23:00] – 64.122.198.69 | ||
---|---|---|---|
Line 1: | Line 1: | ||
=== web/SVG version === | === web/SVG version === | ||
- | http:// | + | http:// |
- | http:// | + | http:// |
=== Introduction === | === Introduction === | ||
Line 7: | Line 7: | ||
output format: JSON \\ | output format: JSON \\ | ||
success/ | success/ | ||
- | |||
- | id = Any unique string identifier (usually a URI) \\ | ||
- | lat = signed float (in degrees) \\ | ||
- | long = signed float (in degrees) \\ | ||
- | alt = signed float (in meters) \\ | ||
- | time = 2008-09-05T22: | ||
- | hdop = float (Dilution of Precision) \\ | ||
- | vdop = float \\ | ||
- | pdop = float \\ | ||
- | radius = error estimate (in meters) \\ | ||
=== IDs/URIs === | === IDs/URIs === | ||
Line 27: | Line 17: | ||
</ | </ | ||
- | If there is no identified URL for the user, a regular | + | If there is no identified URL for the user, a regular |
< | < | ||
- | 7a13feb0-829d-11dd-ad8b-0800200c9a66 | + | urn:uuid:7a13feb0-829d-11dd-ad8b-0800200c9a66 |
</ | </ | ||
Line 45: | 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: | ||
</ | </ | ||
Line 57: | Line 55: | ||
search filters: | search filters: | ||
radius=< | radius=< | ||
- | | + | |
| | ||
| | ||
+ | or | ||
+ | | ||
output: | output: | ||
returns the most recent post. | returns the most recent post. | ||
- | [id, | + | [id, |
</ | </ |
icecondor/api.txt · Last modified: 2024/01/31 04:08 by 127.0.0.1