I'd like to create some activities programmatically. In specific I'm looking to be able to create assignments and also file resources.
Development shouldn't be a problem, at the school I work for we have the technical skills and resources to do the required programming. We also have our own information system in which we already have some information we want to put on Moodle.
I'm looking for an API to create the assignments, something like
and via the HTTP POST method send all the required information
'description':'bla bla bla',
'cutoff_date': '2019-12-20 19:00:00',
Does Moodle have an API to create activities such as an assignment? If so, Can you point me out to the documentation? If this exist I only need to create the client, that will be really easy.
If such a feature doesn't exist, Can you point me out to some document, if any, about how to extend Moodle? If I have to do this I'll need to create the API endpoint and the client, harder but still doable.