OpenLink DataSpaces

  • Topic
  • Discussion
  • ODS.VirtuosoOdsControllersBriefcaseEx1111(Last) -- DAVWikiAdmin? , 2017-06-13 06:06:39 Edit WebDAV System Administrator 2017-06-13 06:06:39

    Example Usage of ODS Briefcase Controller for Get Resource Versions Details

    $ curl -i "http://demo.openlinksw.com/ods/api/briefcase.resource.vc.versions?path=/DAV/home/demo/demo.xml&user_name=
    demo&password_hash=921q783d9e4cbdf5cvs343dafdfvrf6a4fh"
    HTTP/1.1 200 OK
    Server: Virtuoso/06.02.3129 (Solaris) x86_64-pc-solaris2.10-64  VDB
    Connection: Keep-Alive
    Date: Tue, 10 May 2011 11:59:49 GMT
    Accept-Ranges: bytes
    Content-Type: text/xml; charset="UTF-8"
    Content-Length: 259
    
    <item path="/DAV/home/demo/demo.xml">
      <versions>
        <version path="/DAV/home/demo/VVC/demo.xml/1" number="1" size="2277" modification="2011-05-10" />
        <version path="/DAV/home/demo/VVC/demo.xml/2" number="2" size="2277" modification="2011-05-10" />
      </versions>
    </item>