Details
-
Type:
Sub-task
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.0
-
Fix Version/s: 2.0
-
Component/s: Web Services
-
Labels:None
-
Affected Branches:MOODLE_20_STABLE
-
Fixed Branches:MOODLE_20_STABLE
Description
Create web services for moodle files, so third party tools can access moodle files by moodle web services API.
When developing files web services, I have got some ideas of web services:
1. Develope pre-defined services sets, so the administrator can click one button, then enabled all files web services.
2. Code generator, it is a bit hard to define the parameters and return value for complicated data structure, we'd better to generate parameters and return values from PHP data structure, we can ignore the data type (int, string etc) during this process, leave this for manual change, this is optional
3. Add a core service to return all active services on moodle, and a service to vefiry user account
4. We'd better to have json format protocal, for Javascript, xml is hard to parse, this will limit the use of moodle web services.