Fetch promotions

From ePrize Developers Wiki

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
{{RESTfulAPI
{{RESTfulAPI
-
|summary=
+
|summary=Fetch all the promotions, represented by API keys, available to the authenticated account.
-
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}

Revision as of 19:50, 4 March 2009

Summary

Fetch all the promotions, 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