Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
the world’s open source
learning platform
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
Badge information (database)
Id,name,description,timecreated,timemodified,usercreated,
usermodified,issuername,issuerurl,i...
curl 'http://localhost/m/stable_master/webservice/rest/server.php?moodlewsrestformat=json' --data
'wsfunction=core_badges_...
●
●
●
●
●
●
●
●
Thank you
Community: moodle.org
Commercial: moodle.com
@moodle
the world’s open source learning platform
Mastering Moodle Web Services development
Mastering Moodle Web Services development
Mastering Moodle Web Services development
Mastering Moodle Web Services development
Mastering Moodle Web Services development
Mastering Moodle Web Services development
Mastering Moodle Web Services development
Mastering Moodle Web Services development
Mastering Moodle Web Services development
Mastering Moodle Web Services development
Mastering Moodle Web Services development
Mastering Moodle Web Services development
Mastering Moodle Web Services development
Mastering Moodle Web Services development
Mastering Moodle Web Services development
Mastering Moodle Web Services development
Mastering Moodle Web Services development
Mastering Moodle Web Services development
Mastering Moodle Web Services development
Mastering Moodle Web Services development
Mastering Moodle Web Services development
Mastering Moodle Web Services development
Mastering Moodle Web Services development
Mastering Moodle Web Services development
Mastering Moodle Web Services development
Mastering Moodle Web Services development
Mastering Moodle Web Services development
Mastering Moodle Web Services development
Mastering Moodle Web Services development
Upcoming SlideShare
Loading in …5
×

Mastering Moodle Web Services development

MoodleMoot Ireland and UK 2016 presentation about developing Web Services

Mastering Moodle Web Services development

  1. 1. the world’s open source learning platform
  2. 2. ● ● ● ● ● ●
  3. 3. ● ● ●
  4. 4. ● ● ● ●
  5. 5. ● ● ● ●
  6. 6. ● ● ● ● ●
  7. 7. ● ● ● ● ●
  8. 8. ● ● ●
  9. 9. Badge information (database) Id,name,description,timecreated,timemodified,usercreated, usermodified,issuername,issuerurl,issuercontact,expiredate, expireperiod,type,courseid,message,messagesubject, attachment,notification,status,nextcron Issued badges information (database) id,badgeid,userid,uniquehash,dateissued,dateexpire,visible, issuernotified
  10. 10. curl 'http://localhost/m/stable_master/webservice/rest/server.php?moodlewsrestformat=json' --data 'wsfunction=core_badges_get_user_badges&wstoken=a70d553bbaf6d9b260a9e5c701b3c46e curl 'http://localhost/m/stable_master/webservice/rest/server.php?moodlewsrestformat=json' --data 'wsfunction=core_badges_get_user_badges&wstoken=a70d553bbaf6d9b260a9e5c701b3c46e | python -m “json.tool” You can test also in the browser (not recommended for real sites, only for localhost): http://localhost/m/stable_master/webservice/rest/server.php? moodlewsrestformat=json&wsfunction=core_badges_get_user_badges&wstoken=a70d553bbaf6d9b260a 9e5c701b3c46e
  11. 11. ● ●
  12. 12. ● ● ● ● ● ●
  13. 13. Thank you Community: moodle.org Commercial: moodle.com @moodle the world’s open source learning platform

×