Template:REST resource

From ToxBank API Wiki
(Difference between revisions)
Jump to: navigation, search
Line 17: Line 17:
 
| [[REST representation::{{{REST_representation|}}}]]
 
| [[REST representation::{{{REST_representation|}}}]]
 
|}
 
|}
 +
 +
{{#if:{{{REST_op|}}} |
 +
{{#set:
 +
|Has op={{{REST_op|}}}
 +
}}
 +
| }}
 +
{{#if:{{{REST_representation|}}} |
 +
{{#set:
 +
|Has representation={{{REST_representation|}}}
 +
}}
 +
| }}
 +
  
 
[[Category:REST_API]]
 
[[Category:REST_API]]
 
[[Category:REST_Resources]]
 
[[Category:REST_Resources]]
 
</includeonly>
 
</includeonly>

Revision as of 11:55, 15 September 2011

This is the "REST_resource" template. It should be called in the following format:

{{REST_resource
|REST_op=
|REST_representation=
}}

Edit the page to see the template text.

Personal tools