Skip to content

Update public_api.md (changes made) #2712

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Dec 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions contributor_docs/public_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down Expand Up @@ -217,3 +229,5 @@ No body
|---------------|-------------------------|
| 200 OK | Sketch has been deleted |
| 404 Not Found | Sketch does not exist |