Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.
/webservice/
FolderUp one level  
Folderclasses/
 
Folderrest/
 
Foldersoap/
 
Foldertests/
 
Folderxmlrpc/
 
Filedraftfile.php   [source] [53 lines]    Entry point for web service via tokens access to draftfile.php.
Fileexternallib.php [source] [289 lines]   external API for mobile web services
Filelib.php         [source] [1844 lines]  Web services utility functions and classes
Filepluginfile.php  [source] [63 lines]    A script to serve files from web service client
Filerecaptcha.php   [source] [89 lines]    A script to display a ReCaptcha for the site.
Filerenderer.php    [source] [828 lines]   
Fileupload.php      [source] [164 lines]   Accept uploading files by web service token to the user draft file area. POST params: token => the web service user token (needed for authentication) filepath => file path (where files will be stored) [_FILES] => for example you can send the files with , or with curl magic: 'file_1' => '@/path/to/file', or ... itemid => The draftid - this can be used to add a list of files to a draft area in separate requests. If it is 0, a new draftid will be generated.
Filewsdoc.php       [source] [91 lines]    Web services auto-generated documentation