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.
bookmark_id
The id of the bookmark to comment on.
parent_id
The optional id of the comment the new comment should reply to.
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.
bookmark.comment.delete
Example:
$ curl -i "http://kingsley.idehen.net/ods/api/bookmark.comment.new?bookmark_id=1111&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 | |
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://kingsley.idehen.net/ods/api/bookmark.comment.new?bookmark_id=1111&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> |
name |
|
url | |
contentType |
|
httpMethod |
|
isWebServiceOf | |
oplwebservices:endPointURL | |
hasParameter | |
schema:shortDescription |
|
is target of |