Updated smartphone tracking (markdown)

This commit is contained in:
Fredrik Teschke authored and Wiki User committed 2013-08-05 16:31:06 +02:00
1 parent f3b05a96a4
commit 82920ecd94
1 file changed
+15 -4
+15 -4
View File
@@ -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