Not logged in : Login |
Manually synchonizes a cluster upstream created with wiki.upstream.new(). This is required if the subscription has been configured to be manually updated. However, it can also be used to force an update on subscriptions with a scheduled update interval.
cluster
The cluster name of the upstream
name
A human-readable name for the upstream.
An error code stating the success of the command execution as detailed in ODS Error Result Codes.
Example:
$ curl -i "http://www.iodbc.org/ods/api/wiki.upstream.sync?cluster=DemoWiki&name=demoUpstream&userName=demo&userPassword=demo&user_name=demo&password_hash=921q783d9e4cbdf5cvs343dafdfvrf6a4fh"
HTTP/1.1 200 OK
Server: Virtuoso/06.02.3129 (Linux) x86_64-generic-linux-glibc25-64 VDB
Connection: Keep-Alive
Date: Tue, 24 May 2011 22:40:59 GMT
Accept-Ranges: bytes
Content-Type: text/xml; charset="UTF-8"
Content-Length: 57
1
Attributes | Values |
---|---|
rdf:type | |
schema:httpMethod |
|
schema:contentType |
|
http://www.openlin...es#isWebServiceOf | |
http://www.openlin...vices#endPointURL | |
schema:shortDescription |
|
http://www.openlin...ices#hasParameter | |
schema:name |
|
schema:description |
An error code stating the success of the command execution as detailed in ODS Error Result Codes. $ curl -i "http://www.iodbc.org/ods/api/wiki.upstream.sync?cluster=DemoWiki&name=demoUpstream&userName=demo&userPassword=demo&user_name=demo&password_hash=921q783d9e4cbdf5cvs343dafdfvrf6a4fh" HTTP/1.1 200 OK Server: Virtuoso/06.02.3129 (Linux) x86_64-generic-linux-glibc25-64 VDB Connection: Keep-Alive Date: Tue, 24 May 2011 22:40:59 GMT Accept-Ranges: bytes Content-Type: text/xml; charset="UTF-8" Content-Length: 57 <result> <code>1</code> <message>Success</message> </result> |
schema:url | |
is schema:target of |