Tag: totara
-
Totara GraphQL API Add New Query
0 I’m trying to add a new query to the Totara External GraphQL API available on Totara v17. Following the docs I’ve created the following structure: local/plugin/webapi/external/get_completions.graphql query local_plugin_get_completions{ local_plugin_get_completions{ id } } local/plugin/webapi/external/schema.graphqls extend type Query { local_plugin_get_completions: [local_plugin_get_completions!]! } type local_plugin_get_completions{ id: core_id, } local/plugin/classes/webapi/resolver/query class get_completions extends corewebapiquery_resolver { public static function…