diff options
| author | Barry Warsaw | 2014-12-26 18:32:30 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2014-12-26 18:32:30 -0500 |
| commit | ee2fdc578b5e0209a9e661cc1455aaff5dc8443a (patch) | |
| tree | 8187b97ef08764aab3bc642e56e6242d7f555354 /src/mailman/rest/docs/basic.rst | |
| parent | cfdc3d9f6a358b76135ea42dbd03f8ed782af9a9 (diff) | |
| download | mailman-ee2fdc578b5e0209a9e661cc1455aaff5dc8443a.tar.gz mailman-ee2fdc578b5e0209a9e661cc1455aaff5dc8443a.tar.zst mailman-ee2fdc578b5e0209a9e661cc1455aaff5dc8443a.zip | |
Diffstat (limited to 'src/mailman/rest/docs/basic.rst')
| -rw-r--r-- | src/mailman/rest/docs/basic.rst | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mailman/rest/docs/basic.rst b/src/mailman/rest/docs/basic.rst index 576aacc2c..7e013f598 100644 --- a/src/mailman/rest/docs/basic.rst +++ b/src/mailman/rest/docs/basic.rst @@ -29,23 +29,23 @@ succeeds. ... 'Content-Type': 'application/x-www-form-urlencode', ... 'Authorization': 'Basic cmVzdGFkbWluOnJlc3RwYXNz', ... } - >>> url = 'http://localhost:9001/3.0/system' + >>> url = 'http://localhost:9001/3.0/system/versions' >>> response, content = Http().request(url, 'GET', None, headers) >>> print(response.status) 200 -Basic information -================= +Version information +=================== -System information can be retrieved from the server, in the form of a JSON -encoded response. +System version information can be retrieved from the server, in the form of a +JSON encoded response. - >>> dump_json('http://localhost:9001/3.0/system') + >>> dump_json('http://localhost:9001/3.0/system/versions') http_etag: "..." mailman_version: GNU Mailman 3.0... (...) python_version: ... - self_link: http://localhost:9001/3.0/system + self_link: http://localhost:9001/3.0/system/versions .. _REST: http://en.wikipedia.org/wiki/REST |
