Project

General

Profile

feature request #8095

Updated by Andreas Kohlbecker about 5 years ago

 
 web service URLs: 

     POST: /registration/ 
     PUT: /registration/{phycobankID-urlencoded} 

 The submission data schema is being discussed in #8085  

 Upon submission the service will respond with one of the following options: 

 1.    A HTTP error code (400) and the response object with a detailed error message in case the submitted data was causing a problem in the phycobank system. 
 2. Response object which also trans ports the preliminary persistent identifier (http://phycobank.org/{integer}) for the nomenclatural act. The identifier is not made public at this point. 


 Model (work in progress) by example 

 ~~~json 

 { 
     "errors": [ 
         "error message 1", 
         "error message 2", 
      ], 
     "identifier": "http://phycobank.org/999999" 
     "status": "PREPARATION" 
 } 

 ~~~ 




 





Back