Template:RESTfulAPI

From ePrize Developers Wiki

(Difference between revisions)
Jump to: navigation, search
(Summary)
Current revision (21:03, 4 April 2011) (edit) (undo)
 
(8 intermediate revisions not shown.)
Line 4: Line 4:
{{{crumbs}}}
{{{crumbs}}}
| }}
| }}
- 
{{ #if: {{{summary|}}} |
{{ #if: {{{summary|}}} |
== Summary ==
== Summary ==
-
Awards the user an [entry] in the sweepstakes. User must be [eligible] to receive an [entry].
+
{{{summary}}}
-
Resource
+
| }}
-
 
+
{{ #if: {{{resource|}}} |
== Resource ==
== Resource ==
-
/v1/{apikey}/game/{gameid}/sweeps
+
{{{resource}}}
-
 
+
| }}
 +
{{ #if: {{{methods|}}} |
== Valid Methods ==
== Valid Methods ==
-
POST
+
{{{methods}}}
 +
| }}
 +
{{ #if: {{{resourceargs|}}} |
 +
 
 +
== Resource Arguments ==
 +
<em>Note: resource arguments are always required.</em>
 +
 
 +
{{{resourceargs}}}
 +
| }}
 +
{{ #if: {{{paramsrequired|}}} |
 +
== Parameters Required ==
 +
 
 +
{{{paramsrequired}}}
 +
| }}
 +
 
 +
{{ #if: {{{example|}}} |
== Example ==
== Example ==
Line 25: Line 40:
}}
}}
| }}
| }}
- 
{{ #if: {{{detail|}}} |
{{ #if: {{{detail|}}} |
{{{detail}}}
{{{detail}}}
| }}
| }}
- 
{{ #if: {{{seealso|}}} |
{{ #if: {{{seealso|}}} |
Line 35: Line 48:
{{{seealso}}}
{{{seealso}}}
- 
| }}
| }}

Current revision






Personal tools