From 64fc5fa84a5671c2dab71b1eef2b3160aa2a528f Mon Sep 17 00:00:00 2001 From: sanjam chhatwal Date: Mon, 15 May 2023 12:22:30 +0400 Subject: [PATCH 1/5] chore: route change --- docusaurus.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 30f28a68..5186b780 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -65,7 +65,7 @@ const config = { }, { to: 'dashboard', label: 'Dashboard', position: 'left' }, { - to: 'apiexplorer', + to: 'api-explorer', position: 'left', label: 'API Explorer', }, From ffdf98200a7918e10bb3ebc67ab97449add23cf5 Mon Sep 17 00:00:00 2001 From: sanjam chhatwal Date: Mon, 15 May 2023 12:48:55 +0400 Subject: [PATCH 2/5] chore: route change --- docusaurus.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 5186b780..30f28a68 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -65,7 +65,7 @@ const config = { }, { to: 'dashboard', label: 'Dashboard', position: 'left' }, { - to: 'api-explorer', + to: 'apiexplorer', position: 'left', label: 'API Explorer', }, From 5fd68cd11f9767fda1215f6ee288e531128e22bd Mon Sep 17 00:00:00 2001 From: sanjam chhatwal Date: Mon, 15 May 2023 16:07:48 +0400 Subject: [PATCH 3/5] chore: route change --- docusaurus.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 30f28a68..5186b780 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -65,7 +65,7 @@ const config = { }, { to: 'dashboard', label: 'Dashboard', position: 'left' }, { - to: 'apiexplorer', + to: 'api-explorer', position: 'left', label: 'API Explorer', }, From 86565ee6b75b0290a241f5a43250f318e2799db5 Mon Sep 17 00:00:00 2001 From: Michio Date: Tue, 16 May 2023 12:59:20 +0330 Subject: [PATCH 4/5] chore: update route for api explorere --- docs/code-examples/javascript/ticks/index.mdx | 2 +- src/pages/{apiexplorer.tsx => api-explorer.tsx} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename src/pages/{apiexplorer.tsx => api-explorer.tsx} (100%) diff --git a/docs/code-examples/javascript/ticks/index.mdx b/docs/code-examples/javascript/ticks/index.mdx index 7e0e05a6..163b8532 100644 --- a/docs/code-examples/javascript/ticks/index.mdx +++ b/docs/code-examples/javascript/ticks/index.mdx @@ -25,4 +25,4 @@ We'll start with the ticks example because it's a pretty simple block of code to A tick is a measure of minimum upward or downward movement in the price of a trading commodity. We subscribe to the ticks functionality from the Deriv API websocket, which will return new tick data every second. As an example you could create an interactive tick graph with this data. -You can find other available calls in the the [API Explorer](/apiexplorer). +You can find other available calls in the the [API Explorer](/api-explorer). diff --git a/src/pages/apiexplorer.tsx b/src/pages/api-explorer.tsx similarity index 100% rename from src/pages/apiexplorer.tsx rename to src/pages/api-explorer.tsx From 3b51782ad6051cd96e81a11e99758ebd444d9c78 Mon Sep 17 00:00:00 2001 From: Michio Date: Tue, 16 May 2023 13:57:10 +0330 Subject: [PATCH 5/5] chore: merged master --- docs/setting-up-a-deriv-application.md | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/docs/setting-up-a-deriv-application.md b/docs/setting-up-a-deriv-application.md index 3ea2be62..6c5bef58 100644 --- a/docs/setting-up-a-deriv-application.md +++ b/docs/setting-up-a-deriv-application.md @@ -12,15 +12,16 @@ keywords: - setup description: How to setup Deriv application --- + :::danger For the reviewer, Links in this section will be provided in the future. ::: #### Deriv account -If you don't have a Deriv account yet, you can easily create one by visiting our signup page or using the [new_account_virtual](/apiexplorer#new_account_virtual) API call. It's completely free. And if you have an account already, please log in using your account details. To avoid any accidental loss of funds during testing, we recommend using your demo account instead of a real account. +If you don't have a Deriv account yet, you can easily create one by visiting our signup page or using the [new_account_virtual](/api-explorer#new_account_virtual) API call. It's completely free. And if you have an account already, please log in using your account details. To avoid any accidental loss of funds during testing, we recommend using your demo account instead of a real account. -To earn markup, get a Deriv real account to receive your monthly earnings. You can also create a real account using [new_account_real](/apiexplorer#new_account_real) or [new_account_maltainvest](/apiexplorer#new_account_maltainvest) API calls. +To earn markup, get a Deriv real account to receive your monthly earnings. You can also create a real account using [new_account_real](/api-explorer#new_account_real) or [new_account_maltainvest](/api-explorer#new_account_maltainvest) API calls. :::caution To create Deriv applications, you'll need an API token with the Admin scope for the account you wish to use for your application. @@ -36,7 +37,7 @@ To create a new API token, follow these steps: 2. Provide a name for your token 3. Click **Create** -Alternatively, you can create an API token via the [api_token](/apiexplorer#api_token) API call. +Alternatively, you can create an API token via the [api_token](/api-explorer#api_token) API call. :::caution You need a token with the `Admin` scope to create an application. @@ -46,14 +47,14 @@ You need a token with the `Admin` scope to create an application. To create your application with the appropriate configuration options, select the **Register Application** tab in the Dashboard. You can make changes to your application's configuration at anytime in the **Manage Applications** tab. -| App information field | Description | -| --------------------- | ----------------------------------------------------------------------------------------- | -| Account | The account you want to create the application with | -| API Token | The API token you want to create the application with | -| App Name | Application name | -| Markup | The commission added to the trade price to earn additional income | +| App information field | Description | +| --------------------- | -------------------------------------------------------------------------------------------------- | +| Account | The account you want to create the application with | +| API Token | The API token you want to create the application with | +| App Name | Application name | +| Markup | The commission added to the trade price to earn additional income | | Authorisation URL | The URL that enables clients to log in to your app using their Deriv accounts without an API token | -| Verification URL | The OAuth redirect URL for the OAuth authorisation | +| Verification URL | The OAuth redirect URL for the OAuth authorisation | **To create an application, follow these steps:** @@ -68,4 +69,4 @@ Make sure the **Authorisation** and **Verification** URLs are correct based on y For example, if your domain is **`https://example.com`** and your **authorisation and authentication are handled by** `verfiy`, your URLs will be: -**`https://example.com/verify`** \ No newline at end of file +**`https://example.com/verify`**