API Study:UploadVersion

From ToxBank API Wiki
(Difference between revisions)
Jump to: navigation, search
 
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=Study
+
|REST_resource=Investigation
 
|REST_op_method=POST
 
|REST_op_method=POST
 
|REST_op_uri=/study/{id}/versions
 
|REST_op_uri=/study/{id}/versions

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