These docs contain the reference DDS GraphQL API (found in the .md
files), as well as runnable Python examples for each query and mutation.
-
pipenv install --dev
-
pipenv shell
-
Update the variables at the top of
dds.py
to 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:
- Export the
DDS_DOMAIN_NAME
environment variable - Run
npm install
- Run
npm run generate
to automatically generate the markdown reference files
Note: npm run generate
will run the genReferenceDocs.js
script for you.