mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-08 21:30:57 +00:00
Updated tracking app api v1 draft (markdown)
This commit is contained in:
1 parent
ac6bb2e755
commit
69acd47267
1 file changed
+4
-4
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user