VOS.VirtuosoOdsControllersBriefcaseEx15
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.
- Suppose user demo has folder DAV/home/demo/tmp1 that contains a simple file with name test.foaf
- At http://demo.openlinksw.com/ods/oauth_test.vsp enter:
- Server: http://demo.openlinksw.com/ods/api/
- Consumer Key: f3da6bd04ad341f9d79fddc7ea224f50576e74a2
- API method: briefcase.copy
- API parameters: path=from_path=/DAV/home/demo/tmp1/&to_path=/DAV/home/demo/tmp3/
- Query options: Generate URI and Submit
- Log in when prompted as user demo and authorize
- As result the Response Body should be:
<result> <code>1</code> <message>Success</message> </result>