Fetch awards
From ePrize Developers Wiki
(Difference between revisions)
(One intermediate revision not shown.) | |||
Line 1: | Line 1: | ||
+ | {{Logo}} | ||
+ | |||
+ | This method has been removed. | ||
+ | |||
[[API Home Page]] :: [[Profiles]] | [[API Home Page]] :: [[Profiles]] | ||
<pre>Response: | <pre>Response: |
Current revision
This method has been removed.
Response: 200 OK prizes: [ /v1/{apikey}/game/{game1}/prize/{prize}, ... ], tokens: [ /v1/{apikey}/game/{game2}/token/{token}, ... ] Response if profile with UID doesn't exist: 404 Not Found
Awards are commonly prizes won or tokens awarded to a profile as the result of redeeming a game token. The returned lists are not the history of awards on this profile. If an action occurs on an item awarded, e.g. prize fulfillment cancels a prize, that item may disappear from the list.
Any list in the response may be empty if there aren't items of that type for this profile.
The lists may use any valid canonical URL to represent an award. Different types of awards may support different interfaces so the client should use GET on the URL to discover the possible actions.