From be335cef07d0b42874f5fc1de4a1d13396e8e807 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Fri, 26 Jul 2024 18:20:05 +0200 Subject: mention backend selection in API documentation --- templates/api_documentation.html.ep | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/templates/api_documentation.html.ep b/templates/api_documentation.html.ep index 9c9ee1f..d8fc66f 100644 --- a/templates/api_documentation.html.ep +++ b/templates/api_documentation.html.ep @@ -30,6 +30,11 @@ "actionTime" : 1234567, (UNIX-Timestamp des letzten Checkin/Checkout)
"checkedIn" : true / false,
"comment": "Kommentar",
+ "backend": {
+ "id": 1,
+ "name": "DB",
+ "type": "HAFAS",
+ },
"fromStation" : { (letzter Checkin)
"name" : "Essen Hbf",
"ds100" : "EE", (ggf. null)
@@ -122,6 +127,7 @@ {
"token" : "<%= $uid %>-<%= $token->{travel} // 'TOKEN' %>",
"action" : "checkin",
+ "hafas" : "DB", (HAFAS-Instanz – Default: Deutsche Bahn)
"train" : {
"journeyID" : "1|1426396|4|80|19082023",
}
-- cgit v1.2.3