Example Usage of ODS Wiki Controller for Create New Upstream

Note: The Consumer key for a given ODS Wiki instance can be obtained following these steps.

  1. See details how to obtain Wiki Upstream URL here.
  2. At http://cname/ods/oauth_test.vsp enter:
    1. Server: http://cname/ods/api/
    2. Consumer Key: 1444fd337e720f2eceb2bf759c57c1648e749110
    3. API method: wiki.upstream.new
    4. API parameters: cluster=demoWiki&name=MyUpstream?&url=http://demo.openlinksw.com/dataspace/test/wiki/TestWiki/atom-pub&user=test&password=test
    5. Query options: Generate URI and Submit
    6. Log in when prompted as user demo and authorize
  3. As result the Response Body should be:

    <result><code>1</code><message>Success</message></result>