Fetch games
From ePrize Developers Wiki
(Difference between revisions)
Brian-quail (Talk | contribs)
(New page: {{RESTfulAPI |crumbs=API Home Page :: Games and Awards |summary=TODO: Fill me in. }} {{RESTfulExample |title=Requesting Games for Valid Apikey |summary=This demonstrates a good re...)
Next diff →
Revision as of 13:31, 31 March 2009
API Home Page :: Games and Awards
Summary
TODO: Fill me in.
Example: Requesting Games for Valid Apikey
Summary
This demonstrates a good request for a list of games.
Response
HTTP Status Code: 200 OK
<?xml version="1.0" encoding="UTF-8" ?> <result ver="ePrize Web Services 1.0"> <game href="/v1/{apikey}/game/{game}" type="iw" /> <game href="/v1/{apikey}/game/{game2}" type="iw" /> ... <game href="/v1/{apikey}/game/{gameN}" type="iw" /> </result>
Example: Requesting Games for Invalid Apikey
Summary
This demonstrates a good request for a list of games but the apikey can't be found.
Response
HTTP Status Code: 404 Not Found
<?xml version="1.0" encoding="UTF-8"?> <result ver="ePrize Web Services 1.0"></result>