Item10526: improve rest script to tell the user what they can do
Priority: Enhancement
Current State: Proposal Required
Released In: n/a
Target Release: n/a
- make the leading
/
optional - its really quite naf that ./rest SomePlugin/func
does not work
- make
./rest
with no params list all the registered resthandlers - on cmdline as a simple txt list, and in a content-type html, something browser appropriate..
- make
./rest SomePlugin
list all the registered handlers for that plugin.
and then consider adding docco to the register method....
--
SvenDowideit - 23 Mar 2011
Good idea.
See
http://cmis.alfresco.com/service/index (user: admin, password: admin). Note that the docu of these webservices are available under a different url than the actual services. Like cmis is at
http://cmis.alfresco.com/service/cmis ... which returns the repository description in atom format whereas service/index is a more human readable docu in html.
(btw. nice rest client plugin for firefox at
https://addons.mozilla.org/en-US/firefox/addon/restclient/ )
--
MichaelDaum - 23 Mar 2011
I think Sven is coming from the CLI POV (ending the need for a
tools/
directory?
An WSDL for Foswiki's various 'rest' handlers, automatically maintained - now that would rock
--
PaulHarvey - 23 Mar 2011
... if only perl had proper wsdl support.
--
MichaelDaum - 24 Mar 2011