create new tag
, view all tags

ConnectByRestPluginDev Discussion: Page for developer collaboration, enhancement requests, patches and improved versions on ConnectByRestPlugin contributed by the TWikiCommunity.
• Please let us know what you think of this extension.
• For support, check the existing questions, or ask a new support question in the Support web!
• Please report bugs below

ConnectByRestPlugin Feedback and Development

-- MichaelGulitz - 2012-05-14

Thank you Michael for contributing this plugin! This is very much in line with the TWikiMission, where content residing in TWiki and other enterprise systems can be connected.

-- PeterThoeny - 2012-05-14

Hi Michael,

I love the plugin. It will be very useful in my automation efforts. I have a question regarding security. Do you know how I can use this plugin without exposing the user password? I am currently looking at calling it using a wget command in a jenkins job. It is working find, I just don't like having the password exposed like that as a GET parameter. Please let me know if you have any suggestions.

Cheers, Rob

-- RobMulholland - 2012-07-17

Hi Rob,

the only option for obscuring the password would be to use HTTPS for connecting to TWiki. Authentication is handled by TWiki REST Interface and not the plugin itself.

-- MichaelGulitz - 2012-07-25

Hi Michael, I wrote a shell script that allows command line access to twiki retrieving and saving twiki pages. Currently it simply mimics what the user does via the web page by doing GET / POST to the same URLs via curl.

This works reasonably well, but is a bit hacky, as getting the current revision number requires parsing the HTML output. Peter suggeted I take I look at using the REST interface and pointed me at your plugin.

It's not clear to me precisely how to use it -- the examples section links to a test page, but that test page is empty.

Can you provide more detail on how to use the REST interface and/or your REST Plugin?

-- ChristopherWhite - 2012-08-08

FYI, once you install the plugin you will see the test page.

-- PeterThoeny - 2012-08-08

Support.SID-02020 has an example in Java on how to use this plugin.

-- Peter Thoeny - 2015-02-22

Hi Michael,

Our admin team set up the plugin on our DEV server and when I try to access it I get a response:


ERROR: (404) Invalid REST invocation (readtopic on ConnectByRestPlugin)

What is the general meaning of this error? I'm guessing that the plugin isn't set up correctly?

Thanks in advance

-- Mark Hammontree - 2015-06-18

Hi Mark!

Did you check if the plugin is correctly activated? Does it show up in the "Installed Plugins List" ? There is no further setup necessary but to activate the plugin.

Please also check if the scripturl is correct. Check what is returned by the twiki variable %SCRIPTURL{"rest"}%

-- Michael Gulitz - 2015-06-19

Hi Michael,

is there any way to get the value of a single form field (instead of the whole dump you get with getmetastring ) ?

If not, any enhancement foreseen to implement this?


-- Thomas Fozzi - 2015-08-24


it's working in my case, specifying ?topic=WebName.TopicName

-- Thomas Fozzi - 2015-08-24

Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r9 - 2015-08-24 - ThomasFozzi
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.