Added logic to return allowed actions with the game player REST API.