Not logged in : Login |
Comments can be put in threads, ie. a comment can have a parent comment. In that case it is considered a reply to the parent comment.
cluster
The cluster name of the topic
topic
The topic name
title
The title of the comment.
text
The text body of the comment.
name
The name of the commenter.
email
The email address of the commenter.
url
An optional URL to identify the commenter.
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 comment.
wiki.comment.delete
Example:
$ curl -i "http://ods.openlinksw.com/ods/api/wiki.comment.new?cluster=DemoWiki&topic=Test&title=test&text=simple&name=Kate&email=kate@yahoo.com&url=http://openlinksw.com&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 07:03:15 GMT
Accept-Ranges: bytes
Content-Type: text/xml; charset="UTF-8"
Content-Length: 57
5555
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 comment. $ curl -i "http://ods.openlinksw.com/ods/api/wiki.comment.new?cluster=DemoWiki&topic=Test&title=test&text=simple&name=Kate&email=kate@yahoo.com&url=http://openlinksw.com&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 07:03:15 GMT Accept-Ranges: bytes Content-Type: text/xml; charset="UTF-8" Content-Length: 57 <result> <code>5555</code> <message>Success</message> </result> |
is schema:target of |