API Protocol:UploadTemplate
From ToxBank API Wiki
(Difference between revisions)
m |
|||
Line 9: | Line 9: | ||
|REST_op_status=200,202,400,401,402,403 | |REST_op_status=200,202,400,401,402,403 | ||
}} | }} | ||
− |
Revision as of 09:41, 7 October 2011
Description | Uploads a template, to be assigned to a protocol |
---|---|
Resource | [[]] |
Method | POST |
URI | /protocol/{id}/template |
Parameters | TBD, template file content in multipart web form, with predefined metadata |
Header Parameters | |
Media Type (input) | multipart web form - application/x-www-form-urlencoded, RDF, JSON |
Results | Task URI, when complete - URI of the new template, e.g. /protocol/P123/template/T45 |
Media Type (output) | text/uri-list |
Status code | 200,202,400,401,402,403 |
Facts about API Protocol:UploadTemplateRDF feed
Acts on | |
Has output media type | text/uri-list + |
Has status code | 200,202,400,401,402,403 + |