Connect to a Moodle instance.

MoodleReader Properties

  • path (Inline Only): The path to the Moodle Connect plugin API resource.
  • rootUrl (Env First): The root URL of the Moodle/Totara instance
  • token (Env First): The API token.
Example with Environment Credentials
-
    name: myConnectorName
    type: MoodleReader
    properties:
      path:  /path/to/api 
    #schemaRef: schemaName # optional from "schemas:"
Example with Inline Credentials
-
    name: myConnectorName
    type: MoodleReader
    properties:
      path: /path/to/api 
      rootUrl: https://moodle.abc.edu// 
      token: xxxx 
    #schemaRef: schemaName # optional from "schemas:"

MoodleWriter Properties

  • path (Inline Only): The path to the Moodle Connect plugin API resource.
  • rootUrl (Env First): The root URL of the Moodle/Totara instance
  • token (Env First): The API token.
Example with Environment Credentials
-
    name: myConnectorName
    type: MoodleWriter
    properties:
      path:  /path/to/api 

Example with Inline Credentials
-
    name: myConnectorName
    type: MoodleWriter
    properties:
      path:  /path/to/api 
      rootUrl:  https://moodle.abc.edu// 
      token:  xxxx