API Study:Upload
From ToxBank API Wiki
(Difference between revisions)
Line 4: | Line 4: | ||
|REST_op_method=POST | |REST_op_method=POST | ||
|REST_op_uri=/investigation/{id} | |REST_op_uri=/investigation/{id} | ||
+ | |REST_header_param=subjectid:SECURITY-TOKEN | ||
|REST_op_mime_input=multipart/form-data | |REST_op_mime_input=multipart/form-data | ||
|REST_op_result=URI(s) of the new resource(s) | |REST_op_result=URI(s) of the new resource(s) |
Revision as of 10:27, 23 March 2012
Description | Add studies, assays or data to an investigation |
---|---|
Resource | Investigation |
Method | POST |
URI | /investigation/{id} |
Parameters | |
Header Parameters | subjectid:SECURITY-TOKEN |
Media Type (input) | multipart/form-data |
Results | URI(s) of the new resource(s) |
Media Type (output) | text/uri-list |
Status code | 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.
Facts about API Study:UploadRDF feed
Acts on | Investigation + |
Has output media type | text/uri-list + |
Has status code | 200,202,400,401,402,403 + |