mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-11 06:40:53 +00:00
Updated smartphone tracking (markdown)
This commit is contained in:
1 parent
f3b05a96a4
commit
82920ecd94
1 file changed
+15
-4
@@ -80,10 +80,21 @@ The current plan is to use up to three channels for communicating:
|
||||
* `404` Leaderboard/RaceColumn/Fleet not found
|
||||
* `409` Race has already been created, pre-race phase has not been ended
|
||||
|
||||
### `/smartphone/position`
|
||||
* remember to also replicate this
|
||||
* then an incoming fix can be added to the TrackedRace
|
||||
* RaceLogConnector, where mapping etc. is stored should be better!
|
||||
### `/smartphone/addgpsfix`
|
||||
`AddGPSFixPostServlet`
|
||||
**Precondition**
|
||||
* `/smartphone/createRace` has been successfully called before
|
||||
|
||||
**Expects**
|
||||
* POST request: no body
|
||||
|
||||
**Returns**
|
||||
* `200` body: RaceDTO-JSON
|
||||
|
||||
**Throws**
|
||||
* `400` Missing parameter
|
||||
* `404` Leaderboard/RaceColumn/Fleet not found
|
||||
* `409` Race has already been created, pre-race phase has not been ended
|
||||
|
||||
|
||||
## RaceLog Events
|
||||
|
||||
Reference in new issue
Block a user