API Study:Upload
From ToxBank API Wiki
(Difference between revisions)
Line 3: | Line 3: | ||
|REST_resource=Investigation | |REST_resource=Investigation | ||
|REST_op_method=POST | |REST_op_method=POST | ||
− | |REST_op_uri=/investigation/{id} | + | |REST_op_uri=/investigation/{id} |
|REST_op_mime_input=multipart/form-data | |REST_op_mime_input=multipart/form-data | ||
|REST_op_result=URI of the new study | |REST_op_result=URI of the new study | ||
Line 9: | Line 9: | ||
|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) can be posted as form data to add studies to an existing investigation. | + | 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 studies to an existing investigation. |
Revision as of 12:34, 9 December 2011
Description | Add a study to an investigation |
---|---|
Resource | Investigation |
Method | POST |
URI | /investigation/{id} |
Parameters | |
Header Parameters | |
Media Type (input) | multipart/form-data |
Results | URI of the new study |
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 studies 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 + |