Re: [Mailman-Developers] /3.0/addresses/c...@example.com/user' - multi purpose REST API method

2015-02-19 Thread Andrew Stuart
Is this command meant to create the email address 1...@example.org , create a user and link them? POST http://localhost:8001/3.0/addresses/1...@example.org/user It returns 404 this bit of code in rest/addresses.py appears to be what is being executed and seems to be returning a 404 if the addr

Re: [Mailman-Developers] /3.0/addresses/c...@example.com/user' - multi purpose REST API method

2015-02-09 Thread Barry Warsaw
On Feb 08, 2015, at 12:28 AM, Andrew Stuart wrote: >TLDR - This API methods does multiple things and depends on information apart >from the URL to define its behaviour mode, making it hard to give a clear >authentication scope to. I wonder if it should be broken out into individual >REST API metho

Re: [Mailman-Developers] /3.0/addresses/c...@example.com/user' - multi purpose REST API method

2015-02-07 Thread Andrew Stuart
Actually I meant authorization not authentication. On 8 Feb 2015, at 12:28 am, Andrew Stuart wrote: TLDR - This API methods does multiple things and depends on information apart from the URL to define its behaviour mode, making it hard to give a clear authentication scope to. I wonder if it s

[Mailman-Developers] /3.0/addresses/c...@example.com/user' - multi purpose REST API method

2015-02-07 Thread Andrew Stuart
TLDR - This API methods does multiple things and depends on information apart from the URL to define its behaviour mode, making it hard to give a clear authentication scope to. I wonder if it should be broken out into individual REST API methods, each with a single purpose and a clear authentica