Open nguyenloki258 opened 1 month ago
Thanks for trying GitSync. There is a great deal of documentation in the docs folder. Your best bet would be to work through the SetUp and Usage sections at the end of the ReadMe - https://github.com/maths/moodle-qbank_gitsync/blob/main/README.md - following the links from there. I'm happy to answer any specific questions you have from that.
If you really want to just use the webservice and not the cli scripts included with GitSync which call the webservice, look in https://github.com/maths/moodle-qbank_gitsync/tree/main/classes/external. The execute_parameters function for each class lists the Query Params you'll need for Postman. You always also need wstoken
, wsfunction
and moodlewsrestformat
as in the export_question example in webservicesetup.md. I would try the scripts first, though - https://github.com/maths/moodle-qbank_gitsync/blob/main/doc/usinggit.md
Hello, could you please provide me with detailed instructions on how to use the web service? I have tried the export_question function already. I also need guidance on import, delete, and getlist. If possible, using Postman would be great. Thank you.