Skip to content

Commit 532da6d

Browse files
authored
Merge pull request #379 from ynput/378-use-the-injected-rest-api-docs-instead-of-redirecting-to-the-playgound-app
Use the injected REST API docs instead of redirecting to the playgound app
2 parents 42f7737 + 0777873 commit 532da6d

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

website/docs/dev_api_rest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ You access the REST API Docs via `<your-ayon-server-url>/api` or via help icon.
2424

2525
![](assets/apis_and_resources/rest_api_docs.png)
2626

27-
For instance, you can check the REST API Docs for our Public AYON Server here at [AYON REST API Docs](https://playground.ayon.app/doc/api).
27+
For instance, you can check the REST API Docs for our Public AYON Server here at [AYON REST API Docs](/api).
2828

2929
## Your First AYON API Calls
3030

website/docusaurus.config.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,7 @@ const config = {
104104
items: [
105105
{
106106
label: "REST API Docs",
107-
href: "https://playground.ayon.app/doc/api",
108-
target: "_blank",
109-
rel: null,
107+
to: "/api",
110108
},
111109
{
112110
label: "GraphQL API Explorer",
@@ -453,6 +451,11 @@ const config = {
453451
rel: null,
454452
position: "left",
455453
},
454+
{
455+
label: "REST API Docs",
456+
position: "right",
457+
to: "/api",
458+
},
456459
{
457460
label: "Addons",
458461
position: "right",

0 commit comments

Comments
 (0)