Details

    • Type: Task Task
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.1.2, Future Dev
    • Fix Version/s: DEV backlog
    • Component/s: Web Services
    • Labels:
    • Affected Branches:
      MOODLE_21_STABLE
    • Rank:
      19473

      Description

      How to add a web service function into core

      if you want to suggest or implement a web service function, read the Moodledocs.

      Integration priority

      1. the ones required for the official Mobile app (generally very few)
      2. the ones for which a git patch has been submitted.
      3. the most voted ones
      4. the other ones

        Issue Links

        Progress
        Resolved Sub-Tasks Unresolved Sub-Tasks

        Sub-Tasks

        1.
        core_user_get_users() Sub-task Closed Jérôme Mouneyrac
         
        2.
        core_course_delete_courses Sub-task Closed Juan Leyva
         
        3.
        core_course_get_recent_activity() Sub-task Closed Unassigned
         
        4.
        core_course_get_contents() Sub-task Closed Jérôme Mouneyrac
         
        5.
        core_course_update_courses() Sub-task Closed Rajesh Taneja
         
        6.
        core_cohort_xxxx_cohorts() Sub-task Closed Andrea Bicciolo
         
        7. enrol_manual_unenrol_users() Sub-task Development in progress Unassigned
         
        8. enrol_ manual_update_enrolments() Sub-task Development in progress Unassigned
         
        9. core_message_xxx_instant_messages() Sub-task Development in progress Adrian Greeve
         
        10.
        core_message_xxx_contacts() Sub-task Closed Frédéric Massart
         
        11.
        core_notes_xxx_notes() Sub-task Closed Jason Fowler
         
        12.
        core_event_trigger_event() Sub-task Closed Frédéric Massart
         
        13. core_calendar_update_calendar_events() Sub-task Development in progress Unassigned
         
        14.
        core_files_xxx_files() Sub-task Closed Unassigned
         
        15.
        core_grade_xxx_grades() Sub-task Closed Juan Leyva
         
        16.
        core_grade_xxx_scales() Sub-task Closed Unassigned
         
        17.
        core_grade_get_outcomes() Sub-task Closed Unassigned
         
        18.
        core_rating_xxxx_ratings() Sub-task Closed Unassigned
         
        19.
        core_comment_xxx_comments() Sub-task Closed Unassigned
         
        20.
        core_course_delete_modules() Sub-task Closed Mark Nelson
         
        21.
        mod_forum_get_discussions() Sub-task Closed Mark Nelson
         
        22. mod_forum_get_forum_posts() Sub-task Reopened Juan Leyva
         
        23.
        core_grade_get_definitions Sub-task Closed Paul Charsley
         
        24.
        mod_assign_get_submissions Sub-task Closed Paul Charsley
         
        25.
        mod_assign_get_assignments Sub-task Closed Paul Charsley
         
        26.
        core_users_get_users_with_capability Sub-task Closed Paul Charsley
         
        27. core_gradingform_update_definitions Sub-task Open Paul Charsley
         
        28.
        mod_assign_get_grades Sub-task Closed Paul Charsley
         
        29. mod_assign_set_grades Sub-task Open Paul Charsley
         
        30.
        core_course_duplicate_course Sub-task Closed Juan Leyva
         
        31.
        core_group_xxx_groupings Sub-task Closed Juan Leyva
         
        32.
        core_course_xxx_categories() Sub-task Closed Jérôme Mouneyrac
         
        33.
        core_course_import_course Sub-task Closed Juan Leyva
         
        34. enrol_cohort_xxx() Sub-task Open moodle.com
         
        35. core_course_create_backups Sub-task Development in progress Juan Leyva
         
        36.
        core_group_[assign|unassign]_module_grouping Sub-task Closed Ankit Agarwal
         
        37.
        core_user_get_users_by_field() Sub-task Closed Jérôme Mouneyrac
         
        38.
        Core lib: get_module Sub-task Closed Mark Nelson
         
        39. mod_forum_create/update_forums Sub-task Open Unassigned
         
        40.
        Core lib: create/update module Sub-task Closed Jérôme Mouneyrac
         
        41.
        mod_forum_get_forum() Sub-task Closed Mark Nelson
         
        42.
        core_calendar_delete_calendar_events() Sub-task Closed Ankit Agarwal
         
        43.
        core_calendar_get_calendar_events() Sub-task Closed Ankit Agarwal
         
        44.
        core_calendar_create_calendar_events() Sub-task Closed Ankit Agarwal
         
        45. core_calendar_update_calendar_events() Sub-task Open moodle.com
         
        46. mod_forum_xxx_discussions() Sub-task Open moodle.com
         
        47. core_enrol_get_instances() Sub-task Open Unassigned
         
        48.
        mod_assign_get_user_xx Sub-task Closed Paul Charsley
         
        49. core_course_create_sections Sub-task Open Unassigned
         
        50. core_course_create_modules Sub-task Open Unassigned
         
        51.
        mod_assign_set_user_flags Sub-task Closed Paul Charsley
         
        52.
        core_user_add_user_device Sub-task Closed Juan Leyva
         

          Activity

          Hide
          Andrea Bicciolo added a comment -

          Hello Jerome,

          there are tentative dates to better understand when the listed web services are planned to be implemented ?

          Show
          Andrea Bicciolo added a comment - Hello Jerome, there are tentative dates to better understand when the listed web services are planned to be implemented ?
          Hide
          Jérôme Mouneyrac added a comment - - edited

          Hi Andrea,
          I will implement this API starting next week or the week after.

          I'll be working on the sub-tasks in this order:
          1) the ones we require for the official Mobile app
          2) the ones for which a patch has been submitted. I'll go through all of the patches. If there is no major changes required, I or the contributor will make the minor changes and we'll submit them for integration.
          3) the most voted ones
          4) the other ones ... but hopefully we will be stuck in 2) or 3).

          Previously, I had time to successfully submit to integration 1 to 2 web services functions per week. I can see at least half of this list (51 subtasks) implemented for 2.3, the 1st of June.

          Edit (24/04/12): this obviously will not happen for 2.3

          Show
          Jérôme Mouneyrac added a comment - - edited Hi Andrea, I will implement this API starting next week or the week after. I'll be working on the sub-tasks in this order: 1) the ones we require for the official Mobile app 2) the ones for which a patch has been submitted. I'll go through all of the patches. If there is no major changes required, I or the contributor will make the minor changes and we'll submit them for integration. 3) the most voted ones 4) the other ones ... but hopefully we will be stuck in 2) or 3). Previously, I had time to successfully submit to integration 1 to 2 web services functions per week. I can see at least half of this list (51 subtasks) implemented for 2.3, the 1st of June. Edit (24/04/12): this obviously will not happen for 2.3
          Hide
          Andrea Bicciolo added a comment -

          Hi Jerome.

          thanks for the clarification, I must vote here an there then

          Show
          Andrea Bicciolo added a comment - Hi Jerome. thanks for the clarification, I must vote here an there then
          Hide
          Jérôme Mouneyrac added a comment -

          I linked few issues because they have contributed patches (so we remember of them easily and why not integrate them if possible )

          Show
          Jérôme Mouneyrac added a comment - I linked few issues because they have contributed patches (so we remember of them easily and why not integrate them if possible )
          Hide
          Luis de Vasconcelos added a comment -

          Are there any plans to update the Web service test client under Site administration / Development? In 2.2.1+ (Build: 20120112) the new core_* functions are not available - only the moodle_* functions are available.

          Show
          Luis de Vasconcelos added a comment - Are there any plans to update the Web service test client under Site administration / Development? In 2.2.1+ (Build: 20120112) the new core_* functions are not available - only the moodle_* functions are available.
          Hide
          Chris Fryer added a comment -

          I see the Web Services Roadmap (http://docs.moodle.org/dev/Web_services_Roadmap) was trimmed significantly on March 9th 2012. Can you point me to the discussion where this was decided, please? A lot of functionality we were looking forward to has now gone.

          Show
          Chris Fryer added a comment - I see the Web Services Roadmap ( http://docs.moodle.org/dev/Web_services_Roadmap ) was trimmed significantly on March 9th 2012. Can you point me to the discussion where this was decided, please? A lot of functionality we were looking forward to has now gone.
          Hide
          Jérôme Mouneyrac added a comment -

          Hi Chris, I just kept the already integrated web service core function in the Moodledocs. The Roadmap is in this issue The reason of this change is that I'm the one updating it and I don't want to update it in two different places. I'll mention it more clearly on the Moodledocs.

          Show
          Jérôme Mouneyrac added a comment - Hi Chris, I just kept the already integrated web service core function in the Moodledocs. The Roadmap is in this issue The reason of this change is that I'm the one updating it and I don't want to update it in two different places. I'll mention it more clearly on the Moodledocs.
          Hide
          Bayard Randel added a comment -

          Web service functions relating to blogs.

          Show
          Bayard Randel added a comment - Web service functions relating to blogs.

            People

            • Votes:
              13 Vote for this issue
              Watchers:
              17 Start watching this issue

              Dates

              • Created:
                Updated: