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


Ignore:
Timestamp:
13/11/08 06:50:40 (11 years ago)
Author:
lawrence
Comment:

yet another paranoid interim

Legend:

Unmodified
Added
Removed
Modified
  • NDG3/Vocab/RestfulAPI

    v2 v3  
    4141        * At this version: respond with a 405 Method not allowed. 
    4242     * DELETE not supported. 
    43         * At this version:  
     43        * 405 Method not allowed. 
    4444   * Note primary assumption. We cannot create a completely new list using these methods. The list denoted by listID has to exist a priori! (We might  imagine at some future time support for a new path something like: vocab.ndg.nerc.ac.uk/create/listID ... which supports POST, but that is not anticipated any time soon). In the mean time, list creation to be carried out by direct negotiation with BODC. 
    4545   * {{{vocab.ndg.nerc.ac.uk/updates/listID}}} returns a complete set of pending updates on listID. 
     
    5252 0 Items 
    5353   * {{{vocab.ndg.nerc.ac.uk/items/listID/memberID/versionNo}}} 
     54      * GET Acceptable responses: 
     55         * 200 OK 
     56         * 404 Not Found (not a valid member or list). 
     57         * 406 Not Acceptable (not a valid version) 
     58      * PUT, POST, UPDATE, DELETE, 405 Not allowed.  
    5459   * {{{vocab.ndg.nerc.ac.uk/items/listID/memberID defaults}}} to current version 
     60       * GET (download memberID) Acceptable responses: 
     61         * 200 OK 
     62         * 404 Not Found (not a valid member or list). 
     63       * PUT (modify the entry at memberID) Acceptable responses: 
     64         * 202 Accepted for processing 
     65         * 404 Not Found (not a valid list or member) 
     66         * 406 Not Acceptable (syntax of update is broken) 
     67       * POST creates a new member of the list. Acceptable responses: 
     68         * 202 
     69         * 404 
     70         * 406  
     71       * DELETE deprecate the memberID. 
     72         * 202 
     73         * 404 
     74         * 406 
     75 
    5576 0 Querys 
    5677   * {{{vocab.ndg.nerc.ac.uk/query?find=string}}}  
    5778     * GET should return the URIs of matches as an atom collection, and provide paging should the result set be large.  
    58      * No other operation permitted. 
     79 
     80  
    5981    
    6082==== Hanging Issues =====