Changes between Version 10 and Version 11 of DASISH/SpecificationDocument
- Timestamp:
- 04/04/13 15:37:37 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DASISH/SpecificationDocument
v10 v11 98 98 === api/annotations 99 99 100 [[Image( )]]100 [[Image(https://trac.clarin.eu/raw-attachment/wiki/DASISH/SpecificationDocument/REST1.png)]] 101 101 102 api/annotations/<aid> 102 === api/annotations/<aid> 103 103 104 It is assumed, that if the logged-in user <uid> has no “read” access to <aid> then GET methods over URI-s of the form api/annotations/<aid>[/…] will return error status Unauhtorized access 401, or similar. The same happens if the logged-in user <uid> has no “write” access to <aid> with PUT, POST and DELETE methods over the URI-s of the form api/annotations/<aid>[/…] . 104 105 105 106 The table below describes the behavior of the pair (method, URI), when user <uid> has authorized access to <aid>. Here “authorized access “ means that <uid> has “read” access for GET-methods, and “write” access for PUT, POST, and DELETE methods. 106 107 107 TABLE6 108 [[Image(https://trac.clarin.eu/raw-attachment/wiki/DASISH/SpecificationDocument/REST2.png)]] 108 109 109 Sources110 === Sources 110 111 111 112 A source represents (a specific fragment of) a specific version of an annotatable object. For instance, if an annotatable object is a web-page that has 3 versions and users have annotated versions 1 and 3, then there are 2 sources in the Data Base that correspond to the “web-page”. Naturally, these sources represent versions 1 and 3. … … 119 120 Cached representations are managed by the client, therefore creation and deletion API is necessary. It is possible to store the cashed representation not only of the fragment precisely corresponding to an annotation target source, but of a larger fragment and even of the entire annotatable object. 120 121 121 api/sources122 === api/sources 122 123 124 [[Image(https://trac.clarin.eu/raw-attachment/wiki/DASISH/SpecificationDocument/REST3.png)]] 125 126 3 - not to be implemented in the first prototype. 127 128 === api/notebooks 129 130 [[Image(https://trac.clarin.eu/raw-attachment/wiki/DASISH/SpecificationDocument/REST4.png)]] 123 131 124 132