• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

A new script in bin called rest that can be invoked via http in a similar way as the view script (see Examples, bellow) to execute a plugin method. It'll print the result directly to the stream unless the endPoint parameter is supplied, in which case the control is redirected to the given topic.

This item is reopened because the rest was removed from the repository because it was inherently "unsafe".

I did some changes to the REST mechanism to make it safer, following the Pth suggestion that plugins should register their allowed rest handers.

Attached is the patch with this change to be reviewed by the board.



  • Looks OK, but there is not enough documentation for someone to make use of it. Fix the docs, and it can go in, IMHO. CC
  • I'm fine with it if there is low risk of disrupting other aspects of code. I also agree that it shouldn't go in until the docs are also included. LB
  • as I use rest_cgi quite a bit - i'm all for it, but i agree - more docco is needed -- SD

svn:7881 -- SD

Summary TWiki::RESTfulPluginInterface
ReportedBy TWiki:Main.RafaelAlvarez

SVN Range

AppliesTo Engine

Priority Normal
CurrentState Closed

Checkins 7881
Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatpatch rest.patch r1 manage 10.8 K 2005-11-30 - 17:20 RafaelAlvarez Patch against r7686
Edit | Attach | Watch | Print version | History: r10 < r9 < r8 < r7 < r6 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r10 - 2005-12-19 - SvenDowideit
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback