Not logged in : Login |
ODS supports version control for files as discussed in File Version Control in ODS Briefcase. This method allows to retrieve information about the version control status of a resource.
path
Path to the resource in question.
The state of version control for the given file. FIXME: document the XML schema that is used.
Example:
$ curl -i "http://kingsley.idehen.net/ods/api/briefcase.resource.vc.info?path=/DAV/home/demo/demo.xml&user_name=demo&password_hash=5863d9e4cbdf522eaa62e0747fceb1c5b249ba13"
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:53:56 GMT
Accept-Ranges: bytes
Content-Type: text/xml; charset="UTF-8"
Content-Length: 173
Attributes | Values |
---|---|
type | |
Description |
The state of version control for the given file. FIXME: document the XML schema that is used. $ curl -i "http://kingsley.idehen.net/ods/api/briefcase.resource.vc.info?path=/DAV/home/demo/demo.xml&user_name=demo&password_hash=5863d9e4cbdf522eaa62e0747fceb1c5b249ba13" 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:53:56 GMT Accept-Ranges: bytes Content-Type: text/xml; charset="UTF-8" Content-Length: 173 <item path="/DAV/home/demo/demo.xml"> <versionControl> <enabled>ON</enabled> <autoVersioning>OFF</autoVersioning> <state>Check-In</state> <lock>OFF</lock> </versionControl> </item> |
name |
|
url | |
contentType |
|
httpMethod |
|
isWebServiceOf | |
oplwebservices:endPointURL | |
hasParameter | |
schema:shortDescription |
|
is target of |