Changes between Version 24 and Version 25 of DASISH/SpecificationDocument


Ignore:
Timestamp:
04/11/13 09:32:42 (11 years ago)
Author:
olhsha
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DASISH/SpecificationDocument

    v24 v25  
    240240||=  Resource =||= Description ||
    241241||{{{GET api/annotations/<aid>}}}||Returns the serialized annotation that has this <aid>.||
     242||{{{GET api/annotations/<aid>/body}}}||Returns the body of the <aid>.||
     243||{{{GET api/annotations/<aid>/sources}}}||Returns the list of the <sid>-s of all the target sources of <aid>.||
    242244||{{{DELETE api/annotations/<aid>}}}||Removes <aid> and all its target sources from the database. Returns the serialized representation of the removed <aid> with the message “the following annotation has been removed” or similar.||
    243245||{{{PUT api/annotations/<aid>}}}||Updates the annotation with <aid>. E.g. it is used when <uid> wants to correct typos in the annotation body AND change annotated fragments. (See PUT api/annotations/<aid>/body for correcting body only.) The serialized representation of the updated annotation is given in the request body.||
    244 ||{{{GET api/annotations/<aid>/body}}}||Returns the body of the <aid>.||
    245246||{{{PUT api/annotations/<aid>/body}}}||Updates the body of the annotation <aid>. Used e.g.for correcting typos in the text part. The updated annotation’s body is given in the body of the request.||
    246 ||{{{GET api/annotations/<aid>/sources}}}||Returns the list of the <sid>-s of all the target sources of <aid>.||
    247 
    248 [[Image(https://trac.clarin.eu/raw-attachment/wiki/DASISH/SpecificationDocument/REST2.png)]]
    249247
    250248=== Sources