From 3661cae1984d5e11152c2587e091e4d42bf55eb1 Mon Sep 17 00:00:00 2001 From: Soniya Prasad Date: Tue, 12 Dec 2023 01:04:33 +0530 Subject: [PATCH 1/2] Update public_api.md --- contributor_docs/public_api.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/contributor_docs/public_api.md b/contributor_docs/public_api.md index fd8057ffc2..22dbb58576 100644 --- a/contributor_docs/public_api.md +++ b/contributor_docs/public_api.md @@ -217,3 +217,16 @@ No body |---------------|-------------------------| | 200 OK | Sketch has been deleted | | 404 Not Found | Sketch does not exist | + + +### Enabling Access Token UI in Settings Page + +To enable the Access Token UI in the Settings page, follow these steps: + +1. Navigate to the `.env` file in your project. +2. Locate the line specifying UI_ACCESS_TOKEN_ENABLED. +3. Set the value to `true`, as shown below: + +```bash +UI_ACCESS_TOKEN_ENABLED=true + From 81f1fcad879cdeaeb1c2b14847d336d434f52eb5 Mon Sep 17 00:00:00 2001 From: Soniya Prasad Date: Fri, 15 Dec 2023 17:10:30 +0530 Subject: [PATCH 2/2] Update public_api.md --- contributor_docs/public_api.md | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/contributor_docs/public_api.md b/contributor_docs/public_api.md index 22dbb58576..5d035445f3 100644 --- a/contributor_docs/public_api.md +++ b/contributor_docs/public_api.md @@ -29,6 +29,18 @@ You must provide the version number when accessing the API. The API accepts and returns the following model objects, as JSON. +## Enabling Access Token UI in Settings Page + +To enable the Access Token UI in the Settings page, follow these steps: + +1. Navigate to the `.env` file in your project. +2. Locate the line specifying UI_ACCESS_TOKEN_ENABLED. +3. Set the value to `true`, as shown below: + +```bash +UI_ACCESS_TOKEN_ENABLED=true +``` + ## Sketch | Name | Type | Description | @@ -219,14 +231,3 @@ No body | 404 Not Found | Sketch does not exist | -### Enabling Access Token UI in Settings Page - -To enable the Access Token UI in the Settings page, follow these steps: - -1. Navigate to the `.env` file in your project. -2. Locate the line specifying UI_ACCESS_TOKEN_ENABLED. -3. Set the value to `true`, as shown below: - -```bash -UI_ACCESS_TOKEN_ENABLED=true -