weekly release 2.9dev
[moodle.git] / webservice / upgrade.txt
CommitLineData
106c55fb
DW
1This files describes API changes in /webservice/*
2information provided here is intended especially for developers.
3
4This information is intended for authors of webservices, not people writing webservice clients.
5
e5d48aad
6=== 2.7 ===
7
8* All webservice server.php and simpleserver.php scripts must define('WS_SERVER', true)
9 before including config.php file.
10
11
106c55fb
DW
12=== 2.6 ===
13
14* webservice/upload.php
15Accepts 2 new post parameters to allow uploading of files to a users draft area.
16 - filearea should be either 'private' (default) or 'draft'
17 - itemid unused if the filearea is 'private', for 'draft' it can be the id of a previously
18 created draft area - or 0 which will generate a new draft area for the files.
19