Changes between Version 62 and Version 63 of DASISH/Scenario
- Timestamp:
- 06/10/13 14:54:21 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DASISH/Scenario
v62 v63 79 79 = Editing an annotation body = 80 80 81 PUT api/annotations/<aid> 81 {{{PUT api/annotations/<aid>}}} 82 82 83 83 Request body: XML new body <annot>, see [[XSD and XML#Request:anupdatedbody | Updated annotation body]]. … … 91 91 Give the list of the users for a given annotation/notebook 92 92 93 GET api/annotations/<aid>/permissions 93 {{{GET api/annotations/<aid>/permissions}}} 94 94 95 95 Response: see [[XSD and XML#GETapiannotationsAIDzyypermissions | List of permissions for a given annotation ]]. … … 98 98 == Adding and deleting users in permission lists == 99 99 100 GET api/users/info?email=<...> 100 {{{GET api/users/info?email=<...>}}} 101 101 102 102 Response: UID and the display name, see … … 106 106 107 107 108 PUT api/annotations/<aid>/permissions 108 {{{PUT api/annotations/<aid>/permissions}}} 109 109 110 110 Request body contains the list of permissions, see [[XSD and XML#PUTapiannotationsAIDzyypermissions | Update permission list]]. … … 115 115 == Adding a user with a certain permission == 116 116 117 PUT api/annotations/<aid>/permissions/<uid> 117 {{{PUT api/annotations/<aid>/permissions/<uid>}}} 118 118 119 119 Request body contains the access level of this user to this annotation, see [[XSD and XML#PUTapiannotationsAIDzyypermissionsUIDagc | Adding a user with a specific permission]]. … … 123 123 == Removing a reader or a writer == 124 124 125 DELETE api/annotations/<aid>/permissions/<uid> 125 {{{DELETE api/annotations/<aid>/permissions/<uid>}}} 126 126 127 127 No enveloped response, just an http status code … … 131 131 == Deleting an entire annotation (if <uid> is an owner) == 132 132 133 DELETE api/annotations/<aid> 133 {{{DELETE api/annotations/<aid>}}} 134 134 135 135 No enveloped response, just an http status code. … … 139 139 == Retrieve notebooks Info == 140 140 141 GET api/notebooks 141 {{{GET api/notebooks}}} 142 142 143 143 Response: the list of notebook infos, see [[XSD and XML#GETapinotebooks | Retrieving notebook info list]]. 144 144 == Retrieve notebook info 145 145 146 GET api/notebooks/<nid> 146 {{{GET api/notebooks/<nid>}}} 147 147 148 148 Response: Notebook Info, see [[XSD and XML#GETapinotebooksNIDxyxy | Retrieving notebook info]]. … … 150 150 == Retrieving the list of annotations in a notebook if <uid> has a read access to this notebook == 151 151 152 GET api/notebooks/<nid>/annotations/ 152 {{{GET api/notebooks/<nid>/annotations/}}} 153 153 154 154 Response: the list of annotation Info, see [[XSD and XML#GETapinotebooksNIDxyxyannotations | Retrieving the list of annotations for a notebook]].