MDL-22236 Webservice file upload - Allow webservice file uploads direct to a draft...
[moodle.git] / webservice / upgrade.txt
... / ...
CommitLineData
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
6=== 2.6 ===
7
8* webservice/upload.php
9Accepts 2 new post parameters to allow uploading of files to a users draft area.
10 - filearea should be either 'private' (default) or 'draft'
11 - itemid unused if the filearea is 'private', for 'draft' it can be the id of a previously
12 created draft area - or 0 which will generate a new draft area for the files.
13