Changes between Version 2 and Version 3 of NDG3/Vocab/RestfulRoy


Ignore:
Timestamp:
17/11/08 15:33:14 (11 years ago)
Author:
rkl
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NDG3/Vocab/RestfulRoy

    v2 v3  
    77       * 200 OK 
    88       * 204 No lists for authenticated user 
    9        * ??? No user authenticated 
     9       * 401 No user authenticated 
    1010     * POST, PUT, DELETE not supported.  
    1111       * 405 Method not allowed.  
     
    1414       * 200 OK  
    1515       * 404 Not Found (not a valid list).  
    16        * ??? User not authorised to update the specified list 
    17        * ??? No user authenticated 
     16       * 403 User not authorised to update the specified list 
     17       * 401 No user authenticated 
    1818     * PUT provides a completely new version of the list. (Not to be supported in first version of the software)  
    1919       * At this version: respond with a 405 Method not allowed.  
     
    2424     * GET returns the pending updates for the specified list. Acceptable Responses:  
    2525       * 200 OK  
    26        * 204 No content for that list  
     26       * 204 No updates pending for that list  
    2727       * 404 Not a valid list  
    28        * ??? Not authorised – user cannot change specified list 
    29        * ??? No user authenticated 
     28       * 403 Not authorised – user cannot change specified list 
     29       * 401 No user authenticated 
    3030     * POST provides a fresh set of pending updates. Acceptable responses: 
    3131       * 200 OK 
    32        * ???  change for item included in set already pending 
    33        * ??? Not authorised – user cannot change specified list 
    34        * ??? No user authenticated 
     32       * 400 Specified update is already pending 
     33       * 403 Document contains update from a different list 
     34       * 404 Not a valid list 
     35       * 403 Not authorised – user cannot change specified list 
     36       * 401 No user authenticated 
     37       * 500 Oracle exception on insert 
    3538     * PUT replaces an existing set of pending updates. Acceptable responses 
    3639       * 200 OK 
    37        * ??? no update for specified list pending 
    38        * ??? Not authorised – user cannot change specified list 
    39        * ??? No user authenticated 
    40      * DELETE not allowed, return 405  
     40       * 400 Specified update not currently pending 
     41       * 403 Document contains update from a different list 
     42       * 404 Not a valid list 
     43       * 403 Not authorised – user cannot change specified list 
     44       * 401 No user authenticated 
     45       * 500 Oracle exception on insert 
     46     * DELETE cancels members from an existing set of pending updates. Acceptable responses 
     47       * 200 OK 
     48       * 400 specified update not currently pending 
     49       * 403 document contains updates from a different list 
     50       * 404 Not a valid list 
     51       * 403 Not authorised – user cannot change specified list 
     52       * 401 No user authenticated 
     53       * 500 Oracle error 
     54