REST API for adding gamification capabilities to an application