Skip to content

Commit 4e7a98f

Browse files
author
Rachel Nascimento
committed
Fixed broken links in API documentation
1 parent 46edde4 commit 4e7a98f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

content/api/howto.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ You need to set a callback URL, this is the url your user will be redirected to
5555

5656
#### **Get a request token**
5757

58-
You have to make a `POST`request to get a [request token](/api/v2/#post-/oauth/request_token) to the API.
58+
You have to make a `POST`request to get a [request token](/developers/api/v2/#post-/oauth/request_token) to the API.
5959

6060
#### **Get the authorization URL**
6161

62-
Ask the API for the [authorization URL](/api/v2/#get-/oauth/authorize) and go to this URL with a browser. Log in with your account and it will send you to the callback URL.
62+
Ask the API for the [authorization URL](/developers/api/v2/#get-/oauth/authorize) and go to this URL with a browser. Log in with your account and it will send you to the callback URL.
6363

6464
#### **Get the verifier token**
6565

@@ -71,7 +71,7 @@ Where `<verifierToken>` is your token.
7171

7272
#### **Get the access token**
7373

74-
Make a `POST` request to get the [access token](/api/v2/#post-/oauth/access_token) with your request token and the verifier.
74+
Make a `POST` request to get the [access token](/developers/api/v2/#post-/oauth/access_token) with your request token and the verifier.
7575
You can use this access token to make OAuth1 signed requests.
7676

7777
More information about [OAuth dance](https://oauth.net/core/1.0/#anchor9).
@@ -88,8 +88,8 @@ All the API endpoints are referenced in a swagger documentation. **The base URL
8888

8989
{{< cards >}}
9090

91-
{{< card link="/api/v2" title="Base v2 Endpoints" subtitle="Our base API endpoints with users, organisations, applications, add-ons, etc." icon="endpoints" >}}
92-
{{< card link="/api/v4" title="New v4 Endpoints" subtitle="More recent API endpoints with billing, deployments, load balancers, logs, etc." icon="new" >}}
91+
{{< card link="/developers/api/v2/" title="Base v2 Endpoints" subtitle="Our base API endpoints with users, organisations, applications, add-ons, etc." icon="endpoints" >}}
92+
{{< card link="/developers/api/v4/" title="New v4 Endpoints" subtitle="More recent API endpoints with billing, deployments, load balancers, logs, etc." icon="new" >}}
9393

9494
{{< /cards >}}
9595

content/api/v4.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ keywords:
99
- endpoint
1010
- v4
1111
---
12-
Clever Cloud provides a public REST API used by its own services and customers, known as [`/v2`](/api/v2).
12+
Clever Cloud provides a public REST API used by its own services and customers, known as [`/v2`](/developers/api/v2/).
1313
As our platform evolves, we're progressively moving to `/v4` endpoints, adding functionalities, with a more modern approach:
1414
```
1515
https://api.clever-cloud.com/v4/

0 commit comments

Comments
 (0)