-
Bug
-
Resolution: Not a bug
-
Low
-
None
-
MacOS 13.7.1
curl 8.11.1 (x86_64-apple-darwin22.6.0) libcurl/8.11.1 OpenSSL/3.4.0 (SecureTransport) zlib/1.2.11 brotli/1.1.0 zstd/1.5.6 AppleIDN libssh2/1.11.1 nghttp2/1.64.0 librtmp/2.3
Release-Date: 2024-12-11
Protocols: dict file ftp ftps gopher gophers http https imap imaps ipfs ipns ldap ldaps mqtt pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp ws wss
Features: alt-svc AsynchDNS brotli GSS-API HSTS HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz MultiSSL NTLM SPNEGO SSL threadsafe TLS-SRP UnixSockets zstdMacOS 13.7.1 curl 8.11.1 (x86_64-apple-darwin22.6.0) libcurl/8.11.1 OpenSSL/3.4.0 (SecureTransport) zlib/1.2.11 brotli/1.1.0 zstd/1.5.6 AppleIDN libssh2/1.11.1 nghttp2/1.64.0 librtmp/2.3 Release-Date: 2024-12-11 Protocols: dict file ftp ftps gopher gophers http https imap imaps ipfs ipns ldap ldaps mqtt pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp ws wss Features: alt-svc AsynchDNS brotli GSS-API HSTS HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz MultiSSL NTLM SPNEGO SSL threadsafe TLS-SRP UnixSockets zstd
-
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.