You are here: Foswiki>Tasks Web>Item10526 (11 Apr 2011, GeorgeClark)Edit Attach

Item10526: improve rest script to tell the user what they can do

pencil
Priority: Enhancement
Current State: Proposal Required
Released In: n/a
Target Release: n/a
Applies To: Engine
Component: FoswikiUIRest
Branches:
Reported By: SvenDowideit
Waiting For:
Last Change By: GeorgeClark
  1. make the leading / optional - its really quite naf that ./rest SomePlugin/func does not work
  2. 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..
  3. 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? smile

An WSDL for Foswiki's various 'rest' handlers, automatically maintained - now that would rock smile

-- PaulHarvey - 23 Mar 2011

... if only perl had proper wsdl support.

-- MichaelDaum - 24 Mar 2011
 

ItemTemplate edit

Summary improve rest script to tell the user what they can do
ReportedBy SvenDowideit
Codebase trunk
SVN Range
AppliesTo Engine
Component FoswikiUIRest
Priority Enhancement
CurrentState Proposal Required
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
Topic revision: r5 - 11 Apr 2011, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy