Note: You are currently viewing documentation for Moodle 3.6. Up-to-date documentation for the latest stable version of Moodle is likely available here: Web services FAQ.

Web services FAQ: Difference between revisions

From MoodleDocs
Line 5: Line 5:




== How to add my own web service functions easily ==
== The web service API is to short, how to add some new functions? ==
The easiest way and recommended way to add web service is to write a new Moodle local plugin and create the web service functions there. The Moodle administrator will just need to add the plugin in Moodle (copy the files in /local/), the web service functions will be automatically added. Please read the readme file in /local/readme.txt for more information. You can also look at the Moodle Hub server plugin as example.  
The easiest way and recommended way to add web service is to write a new Moodle local plugin and create the web service functions there. The Moodle administrator will just need to add the plugin in Moodle (copy the files in /local/), the web service functions will be automatically added. Please read the readme file in /local/readme.txt for more information. You can also look at the Moodle Hub server plugin as example.
 
== Is there a roadmap for the web service API? ==
Currently the web service API task is closed. If you required some new web service functions you can add a issue on [http://tracker.moodle.org/ the tracker], the most voted issues are generally resolved.


== How can I set up web service for my use case ==
== How can I set up web service for my use case ==

Revision as of 02:34, 24 November 2010

This document lists some popular questions from the Web Services forum.

What is the difference between web services and Mnet

The web service API is to short, how to add some new functions?

The easiest way and recommended way to add web service is to write a new Moodle local plugin and create the web service functions there. The Moodle administrator will just need to add the plugin in Moodle (copy the files in /local/), the web service functions will be automatically added. Please read the readme file in /local/readme.txt for more information. You can also look at the Moodle Hub server plugin as example.

Is there a roadmap for the web service API?

Currently the web service API task is closed. If you required some new web service functions you can add a issue on the tracker, the most voted issues are generally resolved.

How can I set up web service for my use case

  • It exists many document that have been written in the web service category.
  • In Moodle > Site administration > plugins > Web services > Overview, two use cases are described.
  • Finally you can go ask question on the Web Services forum