meta data for this page
This is an old revision of the document!
Server info
For the codecamp please use the following (development) server: 54.220.223.184
On the dev server you will not be able to break anything. When actually releasing your game change this to the actual production server.
Ports: 8888 for plain http and 8843 for SSL-secured.
Query string: You must specify the api version in use by adding /api/1/ at the end of the url.
An example of this
To be continued
Examples of working json-packages. Saving an event / achievement / item:
{
"callType" : "gameDataSave", "authkey" : "My_authentication_key", "hash" : "hash_value", "playerId" : "player_id", "characterId" : "player_id", // the game only has one character so no id needed "sessionId" : "testSession" }
Querying if a player has an achievement / event / item:
{ "callType" : "gameDataSave", "authkey" : "My_authentication_key", "hash" : "hash_value", "playerId" : "player_id", "characterId" : "player_id" }