I have a question: I'm trying to connect interrelated elements between two courses (calculus and physics) for students, and first step I'm going to do is to add custom fields for course materials and assignments, on which I'm going to keep id's for the elements of the correlated course element.
For example: student fails the test on Classical Mechanics and he's redirected on materials about derivatives on Calculus.
So, two questions here:
1) how to add custom fields in Moodle.
2) how to request them via REST API in Moodle?