mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
e5d48aad44
This will help us hack around some nasty webservice problems, such as require_login() and it will be used to set proper 'ws' origin in logged events.
20 lines
704 B
Plaintext
20 lines
704 B
Plaintext
This files describes API changes in /webservice/*
|
|
information provided here is intended especially for developers.
|
|
|
|
This information is intended for authors of webservices, not people writing webservice clients.
|
|
|
|
=== 2.7 ===
|
|
|
|
* All webservice server.php and simpleserver.php scripts must define('WS_SERVER', true)
|
|
before including config.php file.
|
|
|
|
|
|
=== 2.6 ===
|
|
|
|
* webservice/upload.php
|
|
Accepts 2 new post parameters to allow uploading of files to a users draft area.
|
|
- filearea should be either 'private' (default) or 'draft'
|
|
- itemid unused if the filearea is 'private', for 'draft' it can be the id of a previously
|
|
created draft area - or 0 which will generate a new draft area for the files.
|
|
|