Added

Loyalty System API: list leaderboards for a player

New endpoint: List Leaderboards for a Player (GET /leaderboards/brand/{brandId}/player/{playerId}) returns only the leaderboards and tournaments a player can see. That means the ones open to everyone, plus the ones limited to a target group the player belongs to. Use it to populate any player-facing widget. It accepts the optional type filter (leaderboard or tournament).

New field: The Leaderboard object now includes targetGroupIds, an array of integers listing the target groups the leaderboard is limited to. null or an empty array means it's open to all players. It appears in both List Leaderboards for a Brand and List Leaderboards for a Player.