implementing game server rest api, not finish.