-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update API documentation for MOTIS 2
- Loading branch information
1 parent
8f3ec16
commit 8f5a6ef
Showing
4 changed files
with
33 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
title: "API" | ||
omit_header_text: true | ||
featured_image: '' | ||
menu: main | ||
--- | ||
|
||
<h1>MOTIS 2 API</h1> | ||
|
||
<p>Transitous provides the MOTIS 2 API. It is the first stable and versioned MOTIS API, and is incompatible with previous development versions of the API.</p> | ||
|
||
<p>Our API endpoint is located at <code>https://api.transitous.org/api/v1/</code>.</p> | ||
|
||
<a class="btn btn-primary text-black" href="https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/motis-project/motis/refs/heads/master/openapi.yaml">API Documentation</a> | ||
|
||
<h2>Legacy API (MOTIS 0.x)</h1> | ||
|
||
<p>For a few more weeks, the legacy API is available at <code>https://routing.spline.de/api/</code> for compatibility with apps that have not been updated yet.</p> | ||
|
||
<p>It will be shut down 1 month after the deployment of MOTIS 2.</p> | ||
|
||
<p>The data on the legacy server is no longer kept up to date.</p> | ||
|
||
<a class="btn btn-primary text-black" href="https://routing.spline.de/doc/index.html">API Documentation</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,3 +54,11 @@ | |
.text-xs { | ||
font-size: 10px; | ||
} | ||
|
||
h3 { | ||
margin-top: 30px; | ||
} | ||
|
||
h2 { | ||
margin-top: 60px; | ||
} |