Skip to content

Commit 038721e

Browse files
committed
Redirect Cloud REST API to the newest API on GCk6 docs
1 parent 4e6c71b commit 038721e

File tree

8 files changed

+8
-829
lines changed

8 files changed

+8
-829
lines changed

gatsby-node.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1663,6 +1663,13 @@ const createRedirects = ({ actions }) => {
16631663
isPermanent: true,
16641664
});
16651665

1666+
createRedirect({
1667+
fromPath: '/cloud/cloud-reference/cloud-rest-api/',
1668+
toPath:
1669+
'https://grafana.com/docs/grafana-cloud/k6/reference/cloud-rest-api/',
1670+
isPermanent: true,
1671+
});
1672+
16661673
const redirects = {
16671674
'/javascript-api/k6-http/cookiejar-k6-http/':
16681675
'/javascript-api/k6-http/cookiejar/',

src/data/markdown/docs/03 cloud/07 Cloud reference/800 Cloud REST API.md

Lines changed: 0 additions & 44 deletions
This file was deleted.

src/data/markdown/docs/03 cloud/07 Cloud reference/800 Cloud REST API/03 Organizations.md

Lines changed: 0 additions & 99 deletions
This file was deleted.

src/data/markdown/docs/03 cloud/07 Cloud reference/800 Cloud REST API/04 Tests.md

Lines changed: 0 additions & 135 deletions
This file was deleted.

0 commit comments

Comments
 (0)