Hi guys, I am currently working on an LTI on moodle. I am writing API calls for one button. If the button is clicked, the written API calls create a new practice quiz with example questions.
The order I plan to go with is: get authentication/token, create quiz, create question under the quiz.
For now, I have used mysite/login/token.php?username=******&password=*****&service=verity_lti_create_quiz to get the token, and then I plan to use that token to create quiz and questions, but somehow I am not able to find the right api to use not the parameters to include. I only find "core_course_get_courses". Noted, I will not be able to use php code to make the call, only pure URL.
Also, I was writing the same API thing for canvas and blackboard LTI. For those two, the token needs to be refreshed when expired, do Moodle token expire?
Many thanks
by Michelin Lin.