VOS.VirtuosoOdsControllersWikiEx12

  • Topic
  • Discussion
  • VOS.VirtuosoOdsControllersWikiEx12(Last) -- DAVWikiAdmin? , 2017-06-13 05:46:19 Edit WebDAV System Administrator 2017-06-13 01:46:19

    Example Usage of ODS Wiki Controller for Create Topic Comment

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

    1. At http://cname/ods/oauth_test.vsp enter:
      1. Server: http://cname/ods/api/
      2. Consumer Key: 1444fd337e720f2eceb2bf759c57c1648e749110
      3. API method: wiki.comment.new
      4. API parameters: cluster=demoWiki&topic=DemoTest?&title=test&text=simple&name=john&email=john@gmail.com&url=http://yahoo.com
      5. Query options: Generate URI and Submit
      6. Log in when prompted as user demo and authorize
      7. As result the Response Body should be:

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

      8. Create a new comment: cluster=demoWiki&topic=DemoTest?&title=test2&text=simple&name=john&email=<none>&url=http://yahoo.com
    2. As result the Response Body should be:

      <result><code>2</code><message>Success</message></result>