Re: [Mailman-Developers] REST API docs?

2010-06-18 Thread Barry Warsaw
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 , for mailing list al...@example.com, if you want all the subscribed members, you would request: http://localhost:8001/3.0/lists/al...@exam

Re: [Mailman-Developers] REST API docs?

2010-06-16 Thread Fil
How would I query members of list A? GET 'http://localhost:8001/3.0/members' + A ? If my mailing-list has thousands of members, how would I paginate the results? 'http://localhost:8001/3.0/members' + A + page=x ? -- Fil ___ Mailman-Developers mailing li

Re: [Mailman-Developers] REST API docs?

2010-06-16 Thread Barry Warsaw
On Jun 16, 2010, at 09:56 PM, Fil wrote: >> The way I've been thinking about it has been that the REST interface >> currently >> in the core engine is essentially an unprotected administrative interface. > >I see... > >Another (interesting?) question is how do you encode data esp. if an >email ad

Re: [Mailman-Developers] REST API docs?

2010-06-16 Thread Fil
> The way I've been thinking about it has been that the REST interface currently > in the core engine is essentially an unprotected administrative interface. I see... Another (interesting?) question is how do you encode data esp. if an email address or username contains a slash (/) character. --

Re: [Mailman-Developers] REST API docs?

2010-06-16 Thread Barry Warsaw
On Jun 16, 2010, at 09:31 PM, Fil wrote: >I see no mention of access control. Will we use OAuth or something? Well, this is an interesting question . The way I've been thinking about it has been that the REST interface currently in the core engine is essentially an unprotected administrative int

Re: [Mailman-Developers] REST API docs?

2010-06-16 Thread Fil
> For now, the current bzr > head is the best place to start: > http://bazaar.launchpad.net/~mailman-coders/mailman/3.0/files/head:/src/mailman/rest/docs/ > > This is unformatted, but should be easy to read. yes that's perfect, thanks a lot. I see no mention of access control. Will we use OAuth o

Re: [Mailman-Developers] REST API docs?

2010-06-15 Thread Barry Warsaw
On Jun 13, 2010, at 09:42 PM, Fil wrote: >I've been looking around for a description of the REST API in >Mailman3. Fact is I couldn't wait more and started a REST API for >Mailman2. So, I would like it to be as close as possible to the final >stuff. The documentation on http://packages.python.org

[Mailman-Developers] REST API docs?

2010-06-13 Thread Fil
Hi all, I've been looking around for a description of the REST API in Mailman3. Fact is I couldn't wait more and started a REST API for Mailman2. So, I would like it to be as close as possible to the final stuff. -- Fil ___ Mailman-Developers mailing li