API Protocol:UploadVersion

From ToxBank API Wiki
(Difference between revisions)
Jump to: navigation, search
Line 10: Line 10:
[[http://api.toxbank.net/index.php/Special:FormEdit/REST_OperationsForm/API_Protocol:UploadVersion Edit ]]

Revision as of 09:37, 7 October 2011

Description Uploads a newprotocol version
Resource [[]]
Method POST
URI /protocol/{id}/version
Parameters TBD, file content in multipart web form, with predefined metadata
Header Parameters subjectid:SECURITY-TOKEN
Media Type (input) multipart web form - application/x-www-form-urlencoded, RDF, JSON
Results Task URI, when complete - URI of the new protocol , e.g. /protocol/P123
Media Type (output) text/uri-list
Status code 200,202,400,401,402,403
Facts about API Protocol:UploadVersionRDF feed
Acts on
Has output media typetext/uri-list  +
Has status code200,202,400,401,402,403  +
Personal tools