diff options
| author | Birte Kristina Friesel <derf@finalrewind.org> | 2023-08-14 12:26:45 +0200 | 
|---|---|---|
| committer | Birte Kristina Friesel <derf@finalrewind.org> | 2023-08-14 12:26:45 +0200 | 
| commit | caf1afa61085ef4d252138b2c8d3fb64e79e2fa9 (patch) | |
| tree | 6f0c430aa3f3acaa8a6dae373d57951345b52df5 | |
| parent | 61b33446cd255235b6ae19823461322d7607ab59 (diff) | |
API: Note that ds100 may be null
| -rw-r--r-- | templates/api_documentation.html.ep | 10 | ||||
| -rw-r--r-- | templates/changelog.html.ep | 4 | 
2 files changed, 6 insertions, 8 deletions
diff --git a/templates/api_documentation.html.ep b/templates/api_documentation.html.ep index d2f9261..1874f5d 100644 --- a/templates/api_documentation.html.ep +++ b/templates/api_documentation.html.ep @@ -32,7 +32,7 @@  			"comment": "Kommentar",<br/>  			"fromStation" : { (letzter Checkin)<br/>  				"name" : "Essen Hbf",<br/> -				"ds100" : "EE",<br/> +				"ds100" : "EE", (ggf. null)<br/>  				"uic" : 8000098,<br/>  				"latitude" : 51.451355,<br/>  				"longitude" : 7.014793,<br/> @@ -41,7 +41,7 @@  			},<br/>  			"toStation" : { (zugehöriger Checkout. Wenn noch nicht eingetragen, sind alle Felder null)<br/>  				"name" : "Essen Stadtwald",<br/> -				"ds100" : "EESA",<br/> +				"ds100" : "EESA", (ggf. null)<br/>  				"uic" : 8001896,<br/>  				"latitude" : 51.422853,<br/>  				"longitude" : 7.023296,<br/> @@ -188,9 +188,9 @@  			"no" : "30634", (Zugnummer als String)<br/>  			},<br/>  			"fromStation" : { (Start / Checkin)<br/> -			"name" : "Essen Hbf", (Name oder DS100)<br/> -			"scheduledTime": 1556083680, (UNIX-Timestamp)<br/> -			"realTime": 1556083680, (UNIX-Timestamp, optional, default == scheduledTime)<br/> +				"name" : "Essen Hbf", (Name oder DS100)<br/> +				"scheduledTime": 1556083680, (UNIX-Timestamp)<br/> +				"realTime": 1556083680, (UNIX-Timestamp, optional, default == scheduledTime)<br/>  			},<br/>  			"toStation" : { (Ziel / Checkout)<br/>  				"name" : "Essen Stadtwald", (Name oder DS100)<br/> diff --git a/templates/changelog.html.ep b/templates/changelog.html.ep index 7e499dd..59b2cfa 100644 --- a/templates/changelog.html.ep +++ b/templates/changelog.html.ep @@ -24,9 +24,7 @@  			<i class="material-icons left" aria-label="Ankündigung">announcement</i>  			Derzeit unterstützt travelynx neben Bahnhofsnamen auch EVA-IDs und  			DS100/Ril100-Codes. In Zukunft werden in einzelnen Fällen nur noch -			Bahnhofsnamen und EVA-IDs unterstützt. Im Zuge dessen wird in einem -			zukünftigen Release eine neue API-Version (v2) mit optionalem -			statt garantiert befülltem "ds100"-Feld etabliert werden. +			Bahnhofsnamen und EVA-IDs unterstützt.  		</p>  	</div>  </div>  | 
