Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-29276 META- Web service improvements for 2.2
  3. MDL-29279

Making the REST server return JSON values if the new "alt" param is set to "json".

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0, 2.1, 2.2
    • Fix Version/s: 2.2
    • Component/s: Web Services
    • Labels:
    • Testing Instructions:
      Hide

      Download Moodle web service clients: https://github.com/moodlehq/sample-ws-clients
      Edit the REST client to support json
      Run the REST client

      Note: these test clients are very new. So if anything isn't straight forward, please improve them and add more information in their phpdoc.

      Show
      Download Moodle web service clients: https://github.com/moodlehq/sample-ws-clients Edit the REST client to support json Run the REST client Note: these test clients are very new. So if anything isn't straight forward, please improve them and add more information in their phpdoc.
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_22_STABLE
    • Pull Master Branch:

      Description

      Making the REST server return JSON values if the new "alt" param is set to "json". Otherwise the REST server still keep returning the current XML.

        Attachments

          Activity

            People

            Assignee:
            jerome Jérôme Mouneyrac
            Reporter:
            jerome Jérôme Mouneyrac
            Peer reviewer:
            Dongsheng Cai
            Integrator:
            Eloy Lafuente (stronk7)
            Tester:
            Sam Hemelryk
            Participants:
            Component watchers:
            Juan Leyva, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              5/Dec/11