Changes between Version 62 and Version 63 of DASISH/Scenario


Ignore:
Timestamp:
06/10/13 14:54:21 (11 years ago)
Author:
olhsha
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DASISH/Scenario

    v62 v63  
    7979= Editing an annotation body =
    8080
    81 PUT api/annotations/<aid>
     81{{{PUT api/annotations/<aid>}}}
    8282
    8383Request body: XML new body <annot>, see [[XSD and XML#Request:anupdatedbody | Updated annotation body]].
     
    9191Give the list of the users for  a given annotation/notebook
    9292
    93 GET api/annotations/<aid>/permissions
     93{{{GET api/annotations/<aid>/permissions}}}
    9494
    9595Response: see [[XSD and XML#GETapiannotationsAIDzyypermissions | List of permissions for a given annotation ]].
     
    9898== Adding and deleting users in permission lists ==
    9999
    100 GET api/users/info?email=<...>
     100{{{GET api/users/info?email=<...>}}}
    101101
    102102Response: UID and the display name, see
     
    106106
    107107
    108 PUT api/annotations/<aid>/permissions
     108{{{PUT api/annotations/<aid>/permissions}}}
    109109
    110110Request body contains the list of permissions, see [[XSD and XML#PUTapiannotationsAIDzyypermissions | Update permission list]].
     
    115115== Adding a user with a certain permission ==
    116116
    117 PUT api/annotations/<aid>/permissions/<uid>
     117{{{PUT api/annotations/<aid>/permissions/<uid>}}}
    118118
    119119Request body contains the access level of this user to this annotation, see [[XSD and XML#PUTapiannotationsAIDzyypermissionsUIDagc | Adding a user with a specific permission]].
     
    123123== Removing a reader or a writer ==
    124124
    125 DELETE api/annotations/<aid>/permissions/<uid>
     125{{{DELETE api/annotations/<aid>/permissions/<uid>}}}
    126126
    127127No enveloped response, just an http status code
     
    131131== Deleting an entire annotation (if <uid> is an owner) ==
    132132
    133 DELETE api/annotations/<aid>
     133{{{DELETE api/annotations/<aid>}}}
    134134
    135135No enveloped response, just an http status code.
     
    139139== Retrieve notebooks Info ==
    140140
    141 GET api/notebooks
     141{{{GET api/notebooks}}}
    142142
    143143Response: the list of notebook infos, see  [[XSD and XML#GETapinotebooks | Retrieving notebook info list]].
    144144== Retrieve notebook info
    145145
    146 GET api/notebooks/<nid>
     146{{{GET api/notebooks/<nid>}}}
    147147
    148148Response: Notebook Info, see [[XSD and XML#GETapinotebooksNIDxyxy | Retrieving notebook info]].
     
    150150== Retrieving the list of annotations in a notebook if <uid> has a read access to this notebook ==
    151151
    152 GET api/notebooks/<nid>/annotations/
     152{{{GET api/notebooks/<nid>/annotations/}}}
    153153
    154154Response: the list of annotation Info, see [[XSD and XML#GETapinotebooksNIDxyxyannotations | Retrieving the list of annotations for a notebook]].