Fetch promotions
From ePrize Developers Wiki
(Difference between revisions)
(New page: <pre> Request representation: {profile-key}:{profile-value} {key1}:{value1}, {key2}:{value2}, ... {keyN}:{valueN} Response: 201 Created Location: /v1/{apikey}/profile/{uid} Entity body sa...) |
|||
(15 intermediate revisions not shown.) | |||
Line 1: | Line 1: | ||
- | + | {{RESTfulAPI | |
- | + | ||
- | { | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | |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).