Not logged in : Login |
An annotation claim is a triple which makes a statement over the annotation.FIXME: why do we only have a claim method for annotations and not one for any resource?
annotation_id
The id of the annotation as returned by annotation.new().
claimIri
The IRI of the annotation. FIXME: this seems redundant seeing that we also put in the id
claimRelation
The property to be stored.
claimValue
The value of the property.
An error code stating the success of the command execution as detailed in ODS Error Result Codes.
Example:
$ curl -i "http://kingsley.idehen.net/ods/api/calendar.annotation.claim?annotation_id=2&claimIri=http://mytest.com&claimRelation=test&claimValue=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 07:00:18 GMT
Accept-Ranges: bytes
Content-Type: text/xml; charset="UTF-8"
Content-Length: 57
1
Attributes | Values |
---|---|
type | |
Description |
An error code stating the success of the command execution as detailed in ODS Error Result Codes. $ curl -i "http://kingsley.idehen.net/ods/api/calendar.annotation.claim?annotation_id=2&claimIri=http://mytest.com&claimRelation=test&claimValue=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 07:00:18 GMT Accept-Ranges: bytes Content-Type: text/xml; charset="UTF-8" Content-Length: 57 <result> <code>1</code> <message>Success</message> </result> |
name |
|
url | |
contentType |
|
httpMethod |
|
isWebServiceOf | |
oplwebservices:endPointURL | |
hasParameter | |
schema:shortDescription |
|
is target of |