Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
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

 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 component = 'webservice_rest'
 
$plugin requires = 2019111200
 
$plugin version = 2019111800
 

Detailed Description

Variable Documentation

◆ $capabilities

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