Rate this page:
The AGGS Playground offers syntax highlighting, intellisense autocompletion, automatic documentation, and much more.
The UI is divided into three pieces:
The left sidebar has a top and bottom section. The top has buttons for the documentation explorer, history, query explorer, and query exporter. The bottom sidebar buttons allow you to re-fetch the schema, see the keyboard shortcuts, and change settings.
Once you have created a BasicAuth header using your API token or an Org API key header, you can add the header below in JSON format which will be added to the request to PAPI.
1 2{ "Authorization": "Basic ZW1haWw6YXBpX3Rva2Vu" }
The Documentation Explorer provides context when it comes to what fields are available to fetch and which queries or mutations are available. Additional comments may also be provided in some instances down to the field level. The Documentation Explorer icon is located at the top left of the UI - it opens an interactive side pane where you can drill into certain types or search globally.
Search schemas globally
Explore and drill into query response or input filter types
The query editor allows you manually type out a query and provides autocompletion - making quick work of creating queries. In the query editor, begin typing:
1 2query fetchCatalog { }
Now, inside the curly braces, Ctrl + Space (or use Shift + Space as an alternate keyboard shortcut) to bring up the autocomplete window:
From there, build out a query and execute by clicking the play button. Query results will be displayed on the right side.
The GraphQL Explorer can also be used to quickly build a query by selecting the fields to return
Rate this page: