Fetch promotions
From ePrize Developers Wiki
(Difference between revisions)
(Replacing page with '<pre> Request representation: empty Response: List of all promotions as /v1/{apikey} resources </pre>') |
|||
(14 intermediate revisions not shown.) | |||
Line 1: | Line 1: | ||
- | + | {{RESTfulAPI | |
- | Request representation: empty | + | |
+ | |summary=Fetch all the promotion resources, represented by API keys, available to the authenticated account. | ||
+ | |||
+ | |example=Request representation: empty | ||
Response: | Response: | ||
- | + | /v1/apikey1 | |
- | + | /v1/apikey2 | |
+ | ... | ||
+ | |||
+ | |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). | ||
+ | |||
+ | |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).