API Protocol:UploadTemplate

From ToxBank API Wiki
(Difference between revisions)
Jump to: navigation, search
Nina (Talk | contribs)
(Created page with "{{REST Operations |REST_op_description=Uploads a template, to be assigned to a protocol |REST_op_method=POST |REST_op_uri=/protocol/{id}/template |REST_op_params=TBD, template fi...")
Newer edit →

Revision as of 16:01, 15 September 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 URI of the new template, e.g. /protocol/P123/template/T45
Media Type (output) text/uri-list
Status code 200,400,401,402,403
[Edit ]
Personal tools