Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Files | Namespaces | Classes | Variables
webservice_rest

Files

file  access.php
 REST server related capabilities.
 
file  lib.php
 Moodle REST library.
 
file  locallib.php
 REST web service implementation classes and methods.
 
file  provider.php
 Privacy provider implementation for webservice_rest.
 
file  version.php
 Version details.
 

Namespaces

namespace  webservice_rest\privacy
  
 

Classes

class  webservice_rest\privacy\provider
 Privacy provider implementation for webservice_rest. More...
 
class  webservice_rest_client
 Moodle REST client. More...
 
class  webservice_rest_server
 REST service server implementation. More...
 
class  webservice_rest_test_client
 REST test client class. More...
 

Variables

 $capabilities
 
 $plugin = 2020060900
 
$plugin component = 'webservice_rest'
 
$plugin version = 2020061500
 

Detailed Description

Variable Documentation

◆ $capabilities

$capabilities
Initial value:
= array(
'webservice/rest:use' => array(
'captype' => 'read',
'contextlevel' => CONTEXT_COURSE,
'archetypes' => array(
),
),
)
const CONTEXT_COURSE
Course context level - one instances for each course.
Definition: accesslib.php:128