Template:REST Operations
From ToxBank API Wiki
(Difference between revisions)
Line 4: | Line 4: | ||
<pre> | <pre> | ||
{{REST_Operations | {{REST_Operations | ||
− | | | + | |REST_op_description= |
− | | | + | |REST_op_method= |
− | | | + | |REST_op_uri= |
− | | | + | |REST_op_params= |
− | | | + | |REST_op_result= |
− | | | + | |REST_op_status= |
− | | | + | |REST_op_mime_input= |
+ | |REST_op_mime_output= | ||
}} | }} | ||
</pre> | </pre> | ||
Line 17: | Line 18: | ||
{| class="wikitable" | {| class="wikitable" | ||
! Description | ! Description | ||
− | | {{{ | + | | {{{REST_op_description|}}} |
|- | |- | ||
! Method | ! Method | ||
− | | {{{ | + | | {{{REST_op_method|}}} |
|- | |- | ||
! URI | ! URI | ||
− | | {{{ | + | | {{{REST_op_uri|}}} |
|- | |- | ||
! Parameters | ! Parameters | ||
− | | {{{ | + | | {{{REST_op_params|}}} |
+ | |- | ||
+ | ! Media Type (input) | ||
+ | | {{{REST_op_mime_input|}}} | ||
|- | |- | ||
! Results | ! Results | ||
− | | {{{ | + | | {{{REST_op_result|}}} |
+ | |- | ||
+ | ! Media Type (output) | ||
+ | | {{{REST_op_mime_output|}}} | ||
|- | |- | ||
! Status code | ! Status code | ||
− | | {{{ | + | | {{{REST_op_status|}}} |
|} | |} | ||
[[Category:REST_API]] | [[Category:REST_API]] | ||
</includeonly> | </includeonly> |
Revision as of 11:49, 14 September 2011
This is the "REST_Operations" template. It should be called in the following format:
{{REST_Operations |REST_op_description= |REST_op_method= |REST_op_uri= |REST_op_params= |REST_op_result= |REST_op_status= |REST_op_mime_input= |REST_op_mime_output= }}
Edit the page to see the template text.