API Study:UploadVersion
From ToxBank API Wiki
(Difference between revisions)
m |
Mrautenberg (Talk | contribs) |
||
(2 intermediate revisions by 2 users not shown) | |||
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=Investigation | ||
|REST_op_method=POST | |REST_op_method=POST | ||
|REST_op_uri=/study/{id}/versions | |REST_op_uri=/study/{id}/versions | ||
|REST_op_params=TBD, file content in multipart web form, with predefined metadata, or any supported representation | |REST_op_params=TBD, file content in multipart web form, with predefined metadata, or any supported representation | ||
|REST_op_mime_input=multipart web form - application/x-www-form-urlencoded, RDF, JSON | |REST_op_mime_input=multipart web form - application/x-www-form-urlencoded, RDF, JSON | ||
− | |REST_op_result=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,400,401,402,403 | ||
}} | }} | ||
− | |||
− | |||
− |
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 |
Facts about API Study:UploadVersionRDF feed
Acts on | Investigation + |
Has output media type | text/uri-list + |
Has status code | 200,400,401,402,403 + |