Fetch promotions
From ePrize Developers Wiki
(Difference between revisions)
Line 4: | Line 4: | ||
|example= | |example= | ||
Request representation: empty | 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). | ||
- | |||
}} | }} |
Revision as of 19:49, 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).