Skip to content
This repository was archived by the owner on Aug 5, 2021. It is now read-only.

Commit 3d7651d

Browse files
author
Kevin Richter
committed
Change docs to use ones included here
1 parent 1d08651 commit 3d7651d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

source/v1/api/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
<head>
55
<meta charset="UTF-8">
66
<!-- TODO Remove -->
7-
<meta http-equiv="refresh" content="0;url=https://api.beta.maps4news.com/docs" />
87
<title>Maps4News Api OpenAPI Definition</title>
98
<link
109
href="https://fonts.googleapis.com/css?family=Open+Sans:400,700|Source+Code+Pro:300,600|Titillium+Web:400,600,700"
@@ -37,7 +36,7 @@
3736
window.onload = function () {
3837
// Build a system
3938
const ui = SwaggerUIBundle({
40-
url: "https://api.beta.maps4news.com/docs/assets/api-docs.json", // TODO change to live
39+
url: "https://api.beta.maps4news.com/docs", // TODO change to live
4140
dom_id: '#swagger-ui',
4241
oauth2RedirectUrl: `${document.location.origin}/v1/api/oauth2-redirect.html`,
4342
presets: [

source/v1/index.html.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ The Maps4News API is an OAuth2 API. We support implicit and password flows.
103103

104104
To register an OAuth Client or Personal Access Token, please [log into the API](https://api.beta.maps4news.com) register one via your account settings.
105105

106-
Have a look at our [OpenAPI spec](https://api.beta.maps4news.com/docs), the spec contains all the endpoints, info about how resources look and what each endpoint requires you to submit.
106+
Have a look at our [OpenAPI spec](/v1/api), the spec contains all the endpoints, info about how resources look and what each endpoint requires you to submit.
107107

108108
To Log in and try it out hit the "Try out" button and use `client_id` **2**.
109109

0 commit comments

Comments
 (0)