This repository was archived by the owner on Aug 5, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -112,23 +112,23 @@ The available operators are:
112112There 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
118118For 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
126126A 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
134134To get the last revision for a job, you can use the ` last ` keyword.
Original file line number Diff line number Diff 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";
You can’t perform that action at this time.
0 commit comments