From 24584f71b1c19d16af29b547fe27bae8c8ad5d5c Mon Sep 17 00:00:00 2001 From: Derf Null Date: Mon, 29 May 2023 15:06:28 +0200 Subject: update API documentation --- templates/api_documentation.html.ep | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/templates/api_documentation.html.ep b/templates/api_documentation.html.ep index c9125a2..d2f9261 100644 --- a/templates/api_documentation.html.ep +++ b/templates/api_documentation.html.ep @@ -27,7 +27,9 @@

{
"deprecated" : true / false, (falls true: Diese API-Version wird irgendwann abgeschaltet, bitte auf eine neue umsteigen)
+ "actionTime" : 1234567, (UNIX-Timestamp des letzten Checkin/Checkout)
"checkedIn" : true / false,
+ "comment": "Kommentar",
"fromStation" : { (letzter Checkin)
"name" : "Essen Hbf",
"ds100" : "EE",
@@ -57,12 +59,15 @@ …
],
"train" : {
- "type" : "S", (aktueller / letzter Zugtyp)
- "line" : "6", (Linie als String, nicht immer numerisch, ggf. null)
- "no" : "30634", (Zugnummer als String)
- "id" : "7512500863736016593", (IRIS-spezifische Zug-ID)
+ "type" : "S", (aktueller / letzter Zugtyp)
+ "line" : "6", (Linie als String, nicht immer numerisch, ggf. null)
+ "no" : "30634", (Zugnummer als String)
+ "id" : "7512500863736016593" (IRIS-spezifische Zug-ID)
},
- "actionTime" : 1234567, (UNIX-Timestamp des letzten Checkin/Checkout)
+ "visibility" : {
+ "desc": "private" / "unlisted" / "followers" / "travelynx" / "public",
+ "level": 10 / 30 / 60 / 80 / 100
+ }
}

-- cgit v1.2.3