Virtuoso Open-Source Edition

VOS.VirtuosoOdsControllersBriefcaseEx15

  • Topic
  • Discussion
  • VOS.VirtuosoOdsControllersBriefcaseEx15(Last) -- DAVWikiAdmin? , 2017-06-13 05:41:29 Edit WebDAV System Administrator 2017-06-13 05:41:29

    Example Usage of ODS Briefcase Controller for Copy Resource(s)

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

    1. Suppose user demo has folder DAV/home/demo/tmp1 that contains a simple file with name test.foaf
    2. At http://demo.openlinksw.com/ods/oauth_test.vsp enter:
      1. Server: http://demo.openlinksw.com/ods/api/
      2. Consumer Key: f3da6bd04ad341f9d79fddc7ea224f50576e74a2
      3. API method: briefcase.copy
      4. API parameters: path=from_path=/DAV/home/demo/tmp1/&to_path=/DAV/home/demo/tmp3/
      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>