File tree Expand file tree Collapse file tree 3 files changed +17
-26
lines changed
Expand file tree Collapse file tree 3 files changed +17
-26
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -62,10 +62,17 @@ Switch between production and staging environments.
6262### Developer Mode
6363
6464``` bash
65- unraid-api developer
65+ unraid-api developer # Interactive prompt for tools
66+ unraid-api developer --sandbox true # Enable GraphQL sandbox
67+ unraid-api developer --sandbox false # Disable GraphQL sandbox
68+ unraid-api developer --enable-modal # Enable modal testing tool
69+ unraid-api developer --disable-modal # Disable modal testing tool
6670```
6771
68- Configure developer features for the API (e.g., GraphQL sandbox).
72+ Configure developer features for the API:
73+
74+ - ** GraphQL Sandbox** : Enable/disable Apollo GraphQL sandbox at ` /graphql `
75+ - ** Modal Testing Tool** : Enable/disable UI modal testing in the Unraid menu
6976
7077## API Key Management
7178
Original file line number Diff line number Diff line change @@ -4,13 +4,19 @@ The Unraid API provides a GraphQL interface that allows you to interact with you
44
55## Enabling the GraphQL Sandbox
66
7- 1 . First, enable developer mode using the CLI:
7+ 1 . Enable developer mode using the CLI:
88
9+ ``` bash
10+ unraid-api developer --sandbox true
11+ ```
12+
13+ Or use the interactive mode:
14+
915 ` ` ` bash
1016 unraid-api developer
1117 ` ` `
1218
13- 2. Follow the prompts to enable the sandbox. This will allow you to access the Apollo Sandbox interface.
19+ 2. Once enabled, you can access the Apollo Sandbox interface
1420
15213. Access the GraphQL playground by navigating to:
1622
You can’t perform that action at this time.
0 commit comments