Content authoring
v2.22
What's new
create_h5p— builds an H5P activity from an HTTPS.h5plink. The package is validated before it's used, and the activity ships with tracking on, highest attempt graded and review on completion.create_book— creates a book and its ordered chapters, with HTML content, in a single call. Moodle's core web services can only read books.add_to_content_bank— uploads a file into a course's or the site's content bank. There is no core write service for this either.
Lesson authoring is deliberately left for a later release.
Files always reach Moodle by URL — see Uploading files.