Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 576 Bytes

default_hook_actions.rst

File metadata and controls

10 lines (7 loc) · 576 Bytes

Default Hooks Actions

The actions in the hooks configuration could live in any route, but some actions are already available in eox-hooks, and there are:

  • post_to_webhook_url: Send data to a webhook url specified in the hook settings.
  • trigger_enrollments_creation: starts an async task that enrolls a user in a list of courses.
  • trigger_grades_assignment: propagates grades to a course component.

For more information, you can see the code in actions.py.