API Study:UploadVersion
From ToxBank API Wiki
(Difference between revisions)
m |
Mrautenberg (Talk | contribs) |
||
(One intermediate revision by one user 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 | ||
Line 9: | Line 10: | ||
|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 + |