Not logged in : Login |
cluster
The cluster name of the upstream
name
A human-readable name for the new upstream.
url
user
password
An error code stating the success of the command execution as detailed in ODS Error Result Codes. If successful the error code matches the id of the newly created upstream.
Example:
$ curl -i "http://ods.openlinksw.com/ods/api/wiki.upstream.new?cluster=DemoWiki&name=demoUpstream&url=http://ods.openlinksw.com/dataspace/demo/wiki/demoWiki2/atom-pub&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: Fri, 20 May 2011 08:28:58 GMT
Accept-Ranges: bytes
Content-Type: text/plain; charset="UTF-8"
Content-Length: 57
1
Attributes | Values |
---|---|
type | |
schema:url | |
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. If successful the error code matches the id of the newly created upstream. $ curl -i "http://ods.openlinksw.com/ods/api/wiki.upstream.new?cluster=DemoWiki&name=demoUpstream&url=http://ods.openlinksw.com/dataspace/demo/wiki/demoWiki2/atom-pub&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: Fri, 20 May 2011 08:28:58 GMT Accept-Ranges: bytes Content-Type: text/plain; charset="UTF-8" Content-Length: 57 <result> <code>1</code> <message>Success</message> </result> |
is schema:target of |