[Mailman-Developers] REST API docs?

Barry Warsaw barry at list.org
Sat Jun 19 01:34:05 CEST 2010

On Jun 17, 2010, at 12:03 AM, Fil wrote:

>How would I query members of list A?
>GET 'http://localhost:8001/3.0/members' + A ?

In the Bazaar trunk, r6914 <wink>, for mailing list alpha at example.com, if you
want all the subscribed members, you would request:


If you want the owners of the list:


and if you want the moderators:


>If my mailing-list has thousands of members, how would I paginate the results?
>'http://localhost:8001/3.0/members' + A + page=x ?

Pagination is not yet supported.  One of the deficiencies of restish as
opposed to lazr.restful is that the former does not support collections out of
the box.  I have a CollectionMixin class to handle those, but it doesn't yet
know about batching.  Contributions are welcome!

(The plus side of restish of course is that it only took me about two hours to
add support for rosters, and most of that time was refactoring, writing the
tests, and fixing a regression with the zope.testrunner integration.  Read:
easy peasy!)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/mailman-developers/attachments/20100618/a94db93b/attachment.pgp>

More information about the Mailman-Developers mailing list