API Protocol:RetrieveTemplates

From ToxBank API Wiki
(Difference between revisions)
Jump to: navigation, search
m (Created page with "{{REST Operations |REST_op_description=Retrieves templates, defined for the protocol |REST_op_method=GET |REST_op_uri=/protocol/{id}/template |REST_op_params=TBD, search options ...")
 
m
Line 4: Line 4:
 
|REST_op_uri=/protocol/{id}/template
 
|REST_op_uri=/protocol/{id}/template
 
|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_op_mime_input=none?
 
|REST_op_mime_input=none?
 
|REST_op_result=The template representation in supported media type
 
|REST_op_result=The template representation in supported media type
Line 9: Line 10:
 
|REST_op_status=200,400,401,402,403
 
|REST_op_status=200,400,401,402,403
 
}}
 
}}
 
 
[[http://api.toxbank.net/index.php/Special:FormEdit/REST_OperationsForm/API_Protocol:RetrieveTemplates Edit ]]
 
[[http://api.toxbank.net/index.php/Special:FormEdit/REST_OperationsForm/API_Protocol:RetrieveTemplates Edit ]]

Revision as of 16:32, 15 September 2011

Description Retrieves templates, defined for the protocol
Resource [[]]
Method GET
URI /protocol/{id}/template
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
[Edit ]
Facts about API Protocol:RetrieveTemplatesRDF feed
Acts on
Has output media typeURI, RDF, JSON, XLS, XML, etc.  +
Has status code200,400,401,402,403  +
Personal tools