I try to use remove function but it not works as expected.
I get annotation id with loadAnnotations method (for example: http://insemtives.science.unitn.it/platform-rest/annotation-service/loadAnnotations?json=%22https://sitid.cpd.hi.inet/index.jsp%22\) with some results (not only one).
Then, I call remove function with parameters specified in wiki page (http://insemtives-wiki.sti2.at/index.php/WP3/Annotation_Service#remove).
http://insemtives.science.unitn.it//platform-rest/annotation-service/remove?json=\{
"resource" : { "uri" : "https://sitid.cpd.hi.inet/index.jsp" },
"id" : 803104723,
"_specializationType":"org.insemtives.platform.annotation.TagAnnotation"
}
Next i call loadAnnotations to check if annotation has been eliminated. It returns a []. I reminder that there are more annotations related to this resource. If we add a new annotation (storeTagAnnotation), loadAnnotations returns all results (except the annotation eliminated).
Some ideas?