Fetch token

From ePrize Developers Wiki

Revision as of 06:25, 3 March 2009 by Ken-fox (Talk | contribs)
Jump to: navigation, search
Request representation: empty

Response:
200 OK
game: {game},
profile: {profile},
redeemed: {redeemed?},
awards: [
  prizes: [
    /v1/{apikey}/game/{game1}/prize/{prize},
    ...
  ],
  tokens: [
    /v1/{apikey}/game/{game2}/token/{token},
    ...
  ]
]
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