[Mailman-Developers] REST API documentation (list of all possible parameters)

ML mail mlnospam at yahoo.com
Sat Jul 26 00:22:44 CEST 2014


Thanks for the pointers...

Now in my specific case where I would like to add an owner to my newly created mailing list via the API: if I understand correctly I will have to "PATCH" the configuration of my mailing list using the URL http://localhost:8001/3.0/lists/mailinglist@example.com/config and pass it the owner's e-mail addres in the  "owner_address" parameter?



On Saturday, July 26, 2014 12:07 AM, Barry Warsaw <barry at list.org> wrote:
 


On Jul 25, 2014, at 01:37 PM, 'ML mail' via barry wrote:


>I am trying to find out all possible REST API parameters but can't find any
>documentation listing them all. For example I want to create a new mailing
>list using the following REST API URL:
>
>http://localhost:8001/3.0/list
>
>in the documentation I could only find the "fqdn_listname" parameter but
>there must definitely be more possible parameters such as one for the
>description, etc. Where can I find a list of these parameters?

The list creation options are limited, but you can reconfigure the mailing
list after its been created.  This page describes how to create, delete, and
otherwise manage mailing list life cycles:

http://pythonhosted.org//mailman/src/mailman/rest/docs/lists.html

This page describes how to configure a list once it's created:

http://pythonhosted.org//mailman/src/mailman/rest/docs/configuration.html

When in doubt, UTSL:

http://bazaar.launchpad.net/~mailman-coders/mailman/3.0/view/head:/src/mailman/rest/lists.py#L205

Cheers,
-Barry


More information about the Mailman-Developers mailing list