API Study:Upload
From ToxBank API Wiki
(Difference between revisions)
m |
m |
||
Line 7: | Line 7: | ||
|REST_op_result=Task URI, when complete - URI of the new study , e.g. /study/S123 | |REST_op_result=Task URI, when complete - URI of the new study , e.g. /study/S123 | ||
|REST_op_mime_output=text/uri-list | |REST_op_mime_output=text/uri-list | ||
− | |REST_op_status=200,400,401,402,403 | + | |REST_op_status=200,202,400,401,402,403 |
}} | }} | ||
[[http://api.toxbank.net/index.php/Special:FormEdit/REST_OperationsForm/API_Study:Upload Edit ]] | [[http://api.toxbank.net/index.php/Special:FormEdit/REST_OperationsForm/API_Study:Upload Edit ]] |
Revision as of 19:12, 15 September 2011
Description | Creates a study |
---|---|
Resource | [[]] |
Method | POST |
URI | /study |
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,202,400,401,402,403 |
Facts about API Study:UploadRDF feed
Acts on | |
Has output media type | text/uri-list + |
Has status code | 200,202,400,401,402,403 + |