Updated tracking app api v1 draft (markdown)

This commit is contained in:
Samuel Oey committed 2014-10-30 18:30:28 +00:00
1 parent ac6bb2e755
commit 69acd47267
1 file changed
+4 -4
+4 -4
View File
@@ -128,17 +128,17 @@ As general information, the tracking status of the smartphone is sent.
**status** Either `start` or `stop`.
## Send Locations
## Send Measurements
The main data sent by the app.
Locations should be sent live during an event. In case of missing network, locations are stored to the device and uploaded in a FIFO order as soon as a connection is available.
Measurements should be sent live during an event. In case of missing network, measurements are stored to the device and uploaded in a FIFO order as soon as a connection is available.
GZIP compression is a must. Bulk uploads should be chunked, e.g. per 1,000 locations.
### Path
/event/{event_id}/competitor/{competitor_id}/locations
/event/{event_id}/competitor/{competitor_id}/measurements
### Verb
@@ -147,7 +147,7 @@ GZIP compression is a must. Bulk uploads should be chunked, e.g. per 1,000 locat
### Request
{
"locations" : [
"measurements" : [
{
"timestamp" : 14144160080000,
"latitude" : 54.325246,