Fetch token

From ePrize Developers Wiki

(Difference between revisions)
Jump to: navigation, search

Ken-fox (Talk | contribs)
(New page: <pre>Request representation: empty Response: 200 OK game: {game}, profile: {profile}, redeemed: {redeemed?}, awards: [ {award-url}, ... ], actions: [ redeem: /v1/{apikey}/game/{game}/toke...)
Next diff →

Revision as of 13:02, 2 March 2009

Request representation: empty

Response:
200 OK
game: {game},
profile: {profile},
redeemed: {redeemed?},
awards: [
{award-url}, ...
],
actions: [
redeem: /v1/{apikey}/game/{game}/token/{token}
]

Response if token doesn't exist:
404 Not Found

The redeem action does not appear on tokens that may not be redeemed.

Personal tools