将moodle升级到2.5dev版本后,我试图在url中使用core_calendar_get_calendar_events函数获取日历事件:
http://localhost/moodle-2.5dev/webservice/rest/server.php?wstoken=token_here&wsfunction=core_calendar_get_calendar_events
结果只是一个空的 xml 文件,其中包含元素KEY name="events"
和KEY name="warnings"
. 从 Documents API 我得到它需要参数events,但不知道如何使用它,因为该函数本身是新的。任何帮助,将不胜感激。