diff --git a/wiki/smartphone-tracking.md b/wiki/smartphone-tracking.md index fb62a3b9861..27fce5095b5 100644 --- a/wiki/smartphone-tracking.md +++ b/wiki/smartphone-tracking.md @@ -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