Dash Enterprise API Docs
These docs contain the reference DDS GraphQL API (found in the .md files), as well as runnable Python examples for each query and mutation.
Running Python Examples
-
pipenv install --dev -
pipenv shell -
Update the variables at the top of
dds.pyto match your DDS settings.export DDS_DOMAIN_NAME="dash.example.com" export DDS_USERNAME="username" export DDS_API_KEY="api_key"
-
Run
python <path/to/example.py>- Example:
python queries/apps/by_page.py
- Example:
Auto-generating Reference Docs
- Export the
DDS_DOMAIN_NAMEenvironment variable - Run
npm install - Run
npm run generateto automatically generate the markdown reference files
Note: npm run generate will run the genReferenceDocs.js script for you.