API Protocol:RetrieveTemplates

From ToxBank API Wiki
(Difference between revisions)
Jump to: navigation, search
Line 3: Line 3:
 
|REST_resource=Protocol
 
|REST_resource=Protocol
 
|REST_op_method=GET
 
|REST_op_method=GET
|REST_op_uri=/protocol/{id}/template
+
|REST_op_uri=/protocol/{id}/datatemplate
 
|REST_op_params=TBD, search options to filter the requested templates
 
|REST_op_params=TBD, search options to filter the requested templates
 
|REST_header_param=subjectid:SECURITY-TOKEN
 
|REST_header_param=subjectid:SECURITY-TOKEN

Revision as of 11:46, 19 November 2011

Description Retrieves templates, defined for the protocol
Resource Protocol
Method GET
URI /protocol/{id}/datatemplate
Parameters TBD, search options to filter the requested templates
Header Parameters subjectid:SECURITY-TOKEN
Media Type (input) none?
Results The template representation in supported media type
Media Type (output) URI, RDF, JSON, XLS, XML, etc.
Status code 200,400,401,402,403
Facts about API Protocol:RetrieveTemplatesRDF feed
Acts onProtocol  +
Has output media typeURI, RDF, JSON, XLS, XML, etc.  +
Has status code200,400,401,402,403  +
Personal tools