Barry Warsaw writes:
 > On Mar 29, 2017, at 02:07 PM, Stephen J. Turnbull wrote:
 > 
 > >Would it be possible to automate this?  I haven't thought carefully
 > >about it, specifically security issues.  However, there could (in
 > >theory) be an automated export of "all parameters" in "expert mode" or
 > >"site/list initialization mode".
 > 
 > It's probably near impossible to automate, because the Core's REST
 > API isn't programmatically discoverable.

Right (I did know that).  I was thinking "decorator".

 > As a counter-example, Launchpqad's REST API provides a WADL[1] description
 > extracted from the code, but this makes it way too heavyweight for my tastes.

You have good taste, I'll grant that. ;-)

 > And because the Core uses a dynamic object-based traversal system
 > (inherited from restish and ported to falcon) it would make any
 > kind of static REST API description pretty difficult to generate.

OK.

Would you recommend against even exploring for a lightweight approach
for some reason?  Ie, the idea is bad according to some principle?



_______________________________________________
Mailman-Developers mailing list
Mailman-Developers@python.org
https://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9

Reply via email to