From 82920ecd942a2eef12a68c19fc4759f8aebf0e97 Mon Sep 17 00:00:00 2001 From: Fredrik Teschke Date: Thu, 11 Jul 2013 17:50:36 +0200 Subject: [PATCH] Updated smartphone tracking (markdown) --- wiki/smartphone-tracking.md | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) 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