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:43] – 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 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 |
| < | < | ||
| urn: | urn: | ||
| 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 53: | Line 51: | ||
| === 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, |
| </ | </ | ||
icecondor/api.1221425031.txt.gz · Last modified: 2024/01/31 04:08 (external edit)