Moodle的 - API的用户注册 [英] Moodle - API for user registration

查看:498
本文介绍了Moodle的 - API的用户注册的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我Magento的整合和Moodle的。请问Moodle的提供API来注册用户,分配用户组,创建/修改/删除课程等?

I am integrating Magento and Moodle. Does moodle provides APIs to register users, assign user groups, create/edit/delete courses etc?

推荐答案

有一个Web服务API - 的 http://docs.moodle.org/20/en/How_to_create_and_enable_a_web_service

There is a web services api - http://docs.moodle.org/20/en/How_to_create_and_enable_a_web_service

在总结:


  1. 打开协议 - 到站点管理员 - >插件 - > Web服务 - >管理协议,并选择所需的协议,如REST

  1. Enable the protocol - go to site admin -> plugins -> web services -> manage protocols and select the protocol required, eg REST.

在同一页检查Web服务文档并保存更改。

On the same page check Web services documentation and save changes.

在通过网站管理员API文档阅读 - >插件 - > Web服务 - > API文档 - 找到所需的功能。

Read through the API documentation at site admin -> plugins -> web services -> api documentation - to find the functions required.

创建外部服务并添加所需的功能,用户注册,创建课程等网站管理 - >插件 - > Web服务 - >外部服务

Create an external service and add the required functions for user registration, create courses etc. site admin -> plugins -> web services -> external service

然后创建一个令牌访问服务网站管理 - >插件 - > Web服务 - >管理标记

Then create a token to access the service site admin -> plugins -> web services -> manage tokens

这篇关于Moodle的 - API的用户注册的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆