API Study:Upload

From ToxBank API Wiki
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
 
{{REST Operations
 
{{REST Operations
|REST_op_description=Add a study, assay or data to an investigation
+
|REST_op_description=Delete a study, assay or data from an investigation
 
|REST_resource=Investigation
 
|REST_resource=Investigation
|REST_op_method=POST
+
|REST_op_method=DELETE
|REST_op_uri=/investigation/{id}
+
|REST_op_uri=/investigation/{id}/{filename}
|REST_op_mime_input=multipart/form-data
+
|REST_op_result=URI of the new study
+
|REST_op_mime_output=text/uri-list
+
 
|REST_op_status=200,202,400,401,402,403
 
|REST_op_status=200,202,400,401,402,403
 
}}
 
}}
Individual ISA-TAB files (text/tab-separated-values) or zip archives of study, assay and data files can be posted as form data to add files to an existing investigation.
 

Revision as of 12:48, 9 December 2011

Description Delete a study, assay or data from an investigation
Resource Investigation
Method DELETE
URI /investigation/{id}/{filename}
Parameters
Header Parameters
Media Type (input)
Results
Media Type (output)
Status code 200,202,400,401,402,403
Personal tools