Changes between Version 30 and Version 31 of DASISH/Scenario
- Timestamp:
- 05/08/13 12:52:03 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DASISH/Scenario
v30 v31 18 18 = Authentication = 19 19 * User logs-in to annotation service, "uid" gets known by the server. See [[SpecificationDocument#Userrealm | DASISH specification: user realm]] and [[XSD and XML#RespondingGETapiuseruid | Example: getting user information, incl. current-user flag]] 20 21 20 22 21 23 = Visiting an annotated web page = … … 73 75 74 76 = Editing an annotation body = 75 '''TODO''' 77 78 PUT 79 80 Response: the envelope {A', R^*}, make a schema for it!! 81 82 The same for posting 76 83 77 84 = Managing readers and writers = 78 85 79 == Adding readers and writers == 80 '''TODO''' 86 ReMOVE readers and writers from the annotations: 81 87 82 == Removing readers and writers == 83 TODO 88 Make list of the users with attribute permissions (add to schema!!) 89 90 Give the list of the users for a given annotation/notebook 91 92 GET api/annotations/<aid>/permissions 93 94 == Adding/Deleting readers and writers == 95 96 GET api/users/info?email=<...> 97 98 Response: UID and the display name 99 100 PUT api/annotations/<aid>/permissions 101 102 body is the list 103 104 Response in the envelope 105 106 == Adding a reader/writer == 107 108 PUT api/annotations/<aid>/permissions/<uid> 109 110 Body contains the access level of this user to this annotation 111 112 No body in in response (no envelope), just an http status code 113 114 == Removing a reader or a writer == 115 116 DELETE api/annotations/<aid>/permissions/<uid> 117 118 No body in the response (no envelope), just an http status code 84 119 85 120 = Managing annotations = 86 121 87 == Deleting an entire annotation == 88 '''TODO''' 122 == Deleting an entire annotation (if <uid> is an owner) == 123 124 DELETE api/annotations/<aid> 125 126 No body in the response (no envelope), just an http status code 89 127 90 128 = Notebooks = 91 129 92 == Retrieving list of annotations in a notebook == 93 '''TODO''' 130 == Retrieve notebooks Info == 131 132 GET api/notebooks 133 134 == Retrieving the list of annotations in a notebook if <uid> has a read access to this notebook == 135 136 GET api/notebooks/<nid>/annotations/ 137 138 Response: XML list of annotation Info. 94 139 95 140 == Adding an annotation to a notebook == 96 '''TODO''' 141 142 PUT api/notebooks/<nid>/<aid> 143 144 Response: status code 145