Fetch prize
From ePrize Developers Wiki
(Difference between revisions)
(New page: <pre>Request representation: empty Response: 200 OK game: {game}, profile: {profile}, name: {prize-name}, actions: [ claim: {prize-center-url} ] Response if token doesn't exist: 404 Not ...) |
|||
Line 7: | Line 7: | ||
name: {prize-name}, | name: {prize-name}, | ||
actions: [ | actions: [ | ||
- | claim: {prize-center-url} | + | claim: {prize-center-url} |
] | ] | ||
Revision as of 06:27, 3 March 2009
Request representation: empty Response: 200 OK game: {game}, profile: {profile}, name: {prize-name}, actions: [ claim: {prize-center-url} ] Response if token doesn't exist: 404 Not Found
The {profile} value identifies the profile that the prize was awarded to, or null if the prize has not been awarded. The {prize-name} value is the name of the prize for tracking purposes and may not make sense to a consumer. The client is expected to translate the name before displaying it.
The claim action represents a resource that will help a consumer claim the prize. This action is only present if ePrize is performing prize fulfilment.