summaryrefslogtreecommitdiff
path: root/templates/api_documentation.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-01-26 09:59:45 +0100
committerDaniel Friesel <derf@finalrewind.org>2020-01-26 09:59:45 +0100
commitce6237b9fb7f068b2ffaa866a096ffbdc0046870 (patch)
tree339c2f07c7dd3ea3341e98c4ac6ec6998d4b941b /templates/api_documentation.html.ep
parent32733fcd95c7c42b1a1f526adf9a978f8f507305 (diff)
status API: nextStops -> intermediateStops; documentation
Diffstat (limited to 'templates/api_documentation.html.ep')
-rw-r--r--templates/api_documentation.html.ep14
1 files changed, 12 insertions, 2 deletions
diff --git a/templates/api_documentation.html.ep b/templates/api_documentation.html.ep
index 73f02cb..0c8c534 100644
--- a/templates/api_documentation.html.ep
+++ b/templates/api_documentation.html.ep
@@ -39,7 +39,7 @@
"latitude" : 51.451355,<br/>
"longitude" : 7.014793,<br/>
"scheduledTime": 1556083680,<br/>
- "realTime": 1556083680,<br/>
+ "realTime": 1556083680<br/>
},<br/>
"toStation" : { (zugehöriger Checkout. Wenn noch nicht eingetragen, sind alle Felder null)<br/>
"name" : "Essen Stadtwald",<br/>
@@ -48,8 +48,18 @@
"latitude" : 51.422853,<br/>
"longitude" : 7.023296,<br/>
"scheduledTime": 1556083980, (ggf. null)<br/>
- "realTime": 1556083980, (ggf. null)<br/>
+ "realTime": 1556083980 (ggf. null)<br/>
},<br/>
+ "intermediateStops" : [ (Unterwegshalte zwischen fromStation und toStation) <br/>
+ {<br/>
+ "name" : "Essen Süd",<br/>
+ "scheduledArrival" : 1556083800, (ggf. null)<br/>
+ "realArrival" : 1556083800, (ggf. null, nach Ankunft identisch mit scheduledArrival)<br/>
+ "scheduledDeparture" : 1556083860, (ggf. null)<br/>
+ "realDeparture" : 1556083860 (ggf. null, nach Abfahrt identisch mit scheduledDeparture)<br/>
+ },<br/>
+ …<br/>
+ ],<br/>
"train" : {<br/>
"type" : "S", (aktueller / letzter Zugtyp)<br/>
"line" : "6", (Linie als String, nicht immer numerisch, ggf. null)<br/>