The developer GraphQL API provides a convenient way to access the API for developers who are developing for Totara. It is not designed to be used for production, and should be disabled on production sites.
Enabling the developer API
It is not necessary to enable the developer API for the other GraphQL endpoints to work.
The developer API is disabled by default. To enable it, you must add the following into your site's config.php file (anywhere above the final line that includes setuplib.php):
When the developer API is disabled you will receive blank responses from requests to the developer API endpoint.
The developer API is unique from other APIs in that its schema is the amalgamation of all the other GraphQL schemas. Therefore, any service that is available in any of the other endpoints will be available in the developer schema. This allows you to test any functionality in one place.
The developer schema can be accessed as a raw file at the following URL (if the developer API has been enabled):