API Study:UploadVersion

From ToxBank API Wiki
(Difference between revisions)
Jump to: navigation, search
m
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
 
{{REST Operations
 
{{REST Operations
 
|REST_op_description=Creates a new study version
 
|REST_op_description=Creates a new study version
 +
|REST_resource=Investigation
 
|REST_op_method=POST
 
|REST_op_method=POST
 
|REST_op_uri=/study/{id}/versions
 
|REST_op_uri=/study/{id}/versions
Line 9: Line 10:
 
|REST_op_status=200,400,401,402,403
 
|REST_op_status=200,400,401,402,403
 
}}
 
}}
[[http://api.toxbank.net/index.php/Special:FormEdit/REST_OperationsForm/API_Study:UploadVersion Edit ]]
 

Latest revision as of 15:56, 6 December 2011

Description Creates a new study version
Resource Investigation
Method POST
URI /study/{id}/versions
Parameters TBD, file content in multipart web form, with predefined metadata, or any supported representation
Header Parameters
Media Type (input) multipart web form - application/x-www-form-urlencoded, RDF, JSON
Results Task URI, when complete - URI of the new study , e.g. /study/S123
Media Type (output) text/uri-list
Status code 200,400,401,402,403
Personal tools