Uploaded image for project: 'Moodle Community Sites'
  1. Moodle Community Sites
  2. MDLSITE-8097

Plugin Directory API not working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a bug
    • Icon: Low Low
    • moodle.org/plugins
    • None
    • None

      Following the directions here, I created an API token successfully and ran the sample script from the documentation locally. I got an empty response:

      []
      

      I tried the call without the formatting and got:

      $ curl -s https://moodle.org/webservice/rest/server.php --data-urlencode "wstoken=[my API token]" --data-urlencode "wsfunction=local_plugins_get_maintained_plugins"
       
      <?xml version="1.0" encoding="UTF-8" ?>
      <RESPONSE>
      <MULTIPLE>
      </MULTIPLE>
      </RESPONSE> 

      So, it looks like the plugins are not appearing in the API response for some reason. 

            Unassigned Unassigned
            majorrobot Jonathan Bourland
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.