Fetch unredeemed tokens

From ePrize Developers Wiki

(Difference between revisions)
Jump to: navigation, search
(New page: <pre>Response: 200 OK tokens: [ /v1/{apikey}/game/{game}/token/{token}, ... ] Response if profile with UID doesn't exist: 404 Not Found </pre> The tokens list may be empty if there aren'...)
Line 2: Line 2:
200 OK
200 OK
tokens: [
tokens: [
-
/v1/{apikey}/game/{game}/token/{token},
+
/v1/{apikey}/game/{game}/token/{token},
-
...
+
...
]
]

Revision as of 13:44, 3 March 2009

Response:
200 OK
tokens: [
  /v1/{apikey}/game/{game}/token/{token},
  ...
]

Response if profile with UID doesn't exist:
404 Not Found

The tokens list may be empty if there aren't any unredeemed tokens for this profile.

The token URLs may use any valid canonical URL to represent a token. Clients must not depend on the URL format. All tokens support the same redeem interface.

Personal tools