Fetch promotions

From ePrize Developers Wiki

(Difference between revisions)
Jump to: navigation, search
Current revision (20:52, 4 March 2009) (edit) (undo)
 
(6 intermediate revisions not shown.)
Line 1: Line 1:
-
{{RESTfulAPI|summary=ABC|example=DEF|detail=123|seealso=FUBAR}}
+
{{RESTfulAPI
 +
|summary=Fetch all the promotion resources, represented by API keys, available to the authenticated account.
-
{{RESTfulAPI
 
-
|summary=Fetch all the promotions, represented by API keys, available to the authenticated account.
 
|example=Request representation: empty
|example=Request representation: empty
 +
Response:
Response:
/v1/apikey1
/v1/apikey1
/v1/apikey2
/v1/apikey2
...
...
 +
|detail=
|detail=
All available API keys registered to the account are returned. The account is determined by the hostname the request was made on, not the account name used in authentication (which may not be given for an untrusted request).
All available API keys registered to the account are returned. The account is determined by the hostname the request was made on, not the account name used in authentication (which may not be given for an untrusted request).
-
|sa=1
+
 
 +
|seealso=
 +
 
}}
}}

Current revision

Summary

Fetch all the promotion resources, represented by API keys, available to the authenticated account.



Example

Request representation: empty

Response:
/v1/apikey1
/v1/apikey2
...

All available API keys registered to the account are returned. The account is determined by the hostname the request was made on, not the account name used in authentication (which may not be given for an untrusted request).

Personal tools