API Rest to implement Gamification