create a API endpoint to get game progress and make it possible to filter by type