Mailman3 People --
I am trying to manage subscriptions via the REST API. Most of my attempts at using the API work. For example, I can get the list of users: For example:
http GET request "http://localhost:8001/3.1/users" returns 200
However, attempting to get the "members" collection fails.
http GET request "http://localhost:8001/3.1/members" returns 400
The documentation here <https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/rest/docs/membership.html> suggests this should work. Any thoughts? Am I using the wrong URL to get the "members" collection?
I also tried using the domain URL/members, but that returned a 404 error code.
I've also tried posting a structure like this:
{ "list_id": "LISTNAME", "subscriber": "swd@pobox.com", "pre_verified": true, "pre_confirmed": true, "pre_Approved": true, "send_welcome_message": false, "delivery_mode": "regular", "delivery_status": "by_user" }
to the members collection, in an attempt to create a subscription. That got an error code 500
Thanks!
-- Stephen