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

Commit 5e17062

Browse files
author
Kevin Richter
committed
Add v1 to docs
1 parent e0b4d71 commit 5e17062

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

source/v1/api.html.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,23 +112,23 @@ The available operators are:
112112
There are a few keywords throughout the API that you can use in the url as shortcuts to certain resources.
113113

114114
```
115-
GET /users/me
115+
GET /v1/users/me
116116
```
117117

118118
For example, you can use `me` as an keyword for a user. This will return the resource of the logged in user.
119119

120120
<br/>
121121

122122
```
123-
GET /organisations/mine
123+
GET /v1/organisations/mine
124124
```
125125

126126
A manager can use the `mine` keyword to get a list of organisations he/she manages.
127127

128128
<br/>
129129

130130
```
131-
GET /jobs/1/revisions/last
131+
GET /v1/jobs/1/revisions/last
132132
```
133133

134134
To get the last revision for a job, you can use the `last` keyword.

source/v1/index.html.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ This example uses the guzzlehttp package from composer.
6262

6363
<?php
6464

65-
$host = "https://api.maps4news.com";
65+
$host = "https://api.maps4news.com/v1";
6666
$client_id = 0;
6767
$secret = "secret";
6868
$redirect_url = "http://localhost/callback";

0 commit comments

Comments
 (0)