diff options
author | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-07-26 18:20:05 +0200 |
---|---|---|
committer | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-07-26 18:20:05 +0200 |
commit | be335cef07d0b42874f5fc1de4a1d13396e8e807 (patch) | |
tree | 1d436a5f6e384a6d7947b7d4093e265b5f7ee427 | |
parent | 9f41828fb4f18fd707e0087def3032e8d4c8d7d8 (diff) |
mention backend selection in API documentation
-rw-r--r-- | templates/api_documentation.html.ep | 6 |
1 files changed, 6 insertions, 0 deletions
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)<br/> "checkedIn" : true / false,<br/> "comment": "Kommentar",<br/> + "backend": {<br/> + "id": 1,<br/> + "name": "DB",<br/> + "type": "HAFAS",<br/> + },<br/> "fromStation" : { (letzter Checkin)<br/> "name" : "Essen Hbf",<br/> "ds100" : "EE", (ggf. null)<br/> @@ -122,6 +127,7 @@ {<br/> "token" : "<%= $uid %>-<%= $token->{travel} // 'TOKEN' %>",<br/> "action" : "checkin",<br/> + "hafas" : "DB", (HAFAS-Instanz – Default: Deutsche Bahn)<br/> "train" : {<br/> "journeyID" : "1|1426396|4|80|19082023",<br/> }<br/> |