Changes between Version 4 and Version 5 of NDG3/Vocab/RestfulRoy


Ignore:
Timestamp:
18/11/08 06:19:04 (11 years ago)
Author:
lawrence
Comment:

response code changes and questions

Legend:

Unmodified
Added
Removed
Modified
  • NDG3/Vocab/RestfulRoy

    v4 v5  
    3131       * 401 No user authenticated 
    3232     * POST provides a fresh set of pending updates. Acceptable responses: 
    33        * 200 OK 
     33       * 202 Accepted for processing 
    3434       * 400 Specified update is already pending 
    3535       * 403 Document contains update from a different list 
     
    3737       * 403 Not authorised – user cannot change specified list 
    3838       * 401 No user authenticated 
    39        * 500 Oracle exception on insert 
     39       * ~~500 Oracle exception on insert~~ 
     40         * note change from 200 to 202 ... we can't do a 500 in real time because these are happening later. Recommend that failures on insert get emailed back to change owner. 
    4041     * PUT replaces an existing set of pending updates. Acceptable responses 
    41        * 200 OK 
     42       * 202 Accepted for processing 
    4243       * 400 Specified update not currently pending 
    4344       * 403 Document contains update from a different list 
     
    4546       * 403 Not authorised – user cannot change specified list 
    4647       * 401 No user authenticated 
    47        * 500 Oracle exception on insert 
     48       * ~~500 Oracle exception on insert~~ 
     49         * as above 
    4850     * DELETE cancels members from an existing set of pending updates. Acceptable responses 
    4951       * 200 OK 
     
    5355       * 403 Not authorised – user cannot change specified list 
    5456       * 401 No user authenticated 
    55        * 500 Oracle error 
     57       * ~~500 Oracle error~~ 
     58         * Aren't you simply going to put them in a directory to be processed overnight, and go no where near oracle at this point? 
    5659 
    5760[wiki:Vocab]: [wiki:NDG3/Vocab/HighLevelSpec HighLevelSpec], [wiki:NDG3/Vocab/RestfulAPI RestfulAPI], [wiki:NDG3/Vocab/APIRestIssues APIRestIssues]