Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Assignment Web Services: Difference between revisions

From MoodleDocs
 
Line 15: Line 15:
(Full details to come soon - separated by capability)
(Full details to come soon - separated by capability)


* mod_assign_add_instance (- excluded for now because it relies on too much code that would have to be copied from mod_edit - this should be a web service function for the course).
Admin functions (add, update, delete on the assignment instance are left out because they should sit in the course webservice)
* mod_assign_update_instance
* mod_assign_delete_instance
* mod_assign_get_setting_elements


* mod_assign_save_grade
* mod_assign_save_grade

Latest revision as of 08:02, 24 February 2012

Moodle Assignment Web Services
Project state In Progress
Tracker issue http://tracker.moodle.org/browse/MDL-31273
Discussion http://moodle.org/mod/forum/discuss.php?d=192642 https://github.com/netspotau/moodle-mod_assign
Assignee NetSpot)


Introduction

Webservices are required to interact with the new Assignment module for 2.3. Ideally this would include support for all of the features available through the web interface to the assignment.

Note: There are some features that are implemented by core Moodle such as advanced grading and comments that should be supported by a different webservice outside of the assignment module.

Examples

(Full details to come soon - separated by capability)

Admin functions (add, update, delete on the assignment instance are left out because they should sit in the course webservice)

  • mod_assign_save_grade
  • mod_assign_revert_to_draft
  • mod_assign_lock_grade
  • mod_assign_unlock_grade
  • mod_assign_grading_disabled
  • mod_assign_download_submissions
  • mod_assign_upload_grades_and_feedback


  • mod_assign_get_instance
  • mod_assign_get_grading_elements
  • mod_assign_get_submission_elements
  • mod_assign_get_submission_status
  • mod_assign_get_feedback
  • mod_assign_save_submission
  • mod_assign_submit_for_grading

Requirements

Moodle 2.3 required

Community bonding period

Milestones

  1. Refine the project proposal with community feedback
  2. Refine the final list of webservices included in the module

Features

All assignment features available from the web interface to be available via the web service.

The harder parts to determine will be how to work with the plugins and how to accept file uploads for submissions.

Also for consideration would be batch marking.

Coding period

Milestones

  1. MS 1

File structure

Screenshots

Not Applicable