I'm using v.3.3.5 and want to add the External Resources activity by API function to a course which been created via
But I faced with 2 issues:
1st: I didn't find suitable API function listed in /admin/webservice/documentation.php to link External Resources activity tool with existing course.
mod_lti_ functions are about creating/updating tool ( which I've already created ) or getting info about already defined LTI. (
but nothing to set up (link) tool to course.
2nd : After the course been successfully created via
core_course_create_courses service with user's token ( retrieved from /login/token.php ),
and unavailability to add External Tool Activity to the course via UI.
course created via API
course created via UI
In comparison with another course all parameters returned from
core_course_get_coursesare pretty the same.
BTW : I already passed through some of the circles of hell:
- Enable web services
- Enable rest protocol
- Add a service
- Add functions to service
- Put all required capabilities to user
Thanks in advance,