Unverified Commit 26ebd3d6 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

API: Expose HAFAS JourneyID, if available (#85)

parent 155ac555
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -1856,6 +1856,7 @@ sub startup {
					line    => $status->{train_line},
					no      => $status->{train_no},
					id      => $status->{train_id},
					hafasId => $status->{extra_data}{trip_id},
				},
				intermediateStops => [],
				visibility        => {
+1 −0
Original line number Diff line number Diff line
@@ -63,6 +63,7 @@
				"line" : "6", (Linie als String, nicht immer numerisch, ggf. null)<br/>
				"no" : "30634", (Fahrtnummer als String, ggf. null oder leer)<br/>
				"id" : "7512500863736016593" (IRIS- oder HAFAS-spezifische Fahrt-ID)<br/>
				"hafasId" : "1|224479|0|80|30082023" (HAFAS-spezifische Fahrt-ID falls bekannt, ggf. null)<br/>
			},<br/>
			"visibility" : {<br/>
				"desc": "private" / "unlisted" / "followers" / "travelynx" / "public",<br/>