REST server

Mailman exposes a REST HTTP server for administrative control.

The server listens for connections on a configurable host name and port. Because the REST server has full administrative access, it should always be run only on localhost, unless you really know what you’re doing. The Mailman major and minor version numbers are in the URL.

System information can be retrieved from the server. By default JSON is returned.

>>> dump_json('http://localhost:8001/3.0/system')
http_etag: "..."
mailman_version: GNU Mailman 3.0... (...)
python_version: ...
self_link: http://localhost:8001/3.0/system

Table Of Contents

Previous topic

The switchboard

Next topic

Mailing list configuration

This Page