Admin

Refresh Maykan cohort

Changed on

Recompute Maykan's referral cohort (himself + L1 + L2 referrals + BD wallets) and add any new members to the named competition's cohort whitelist (internal). Fails with FAILED_PRECONDITION if the competition has no cohort whitelist configured.

post/admin/competitions/{slug}/refresh-maykan-cohort

Request

Path parameters

slugstring required

Request body

CompetitionServiceRefreshMaykanCohortBody required

Response

A successful response.

total_cohort_sizeinteger

Total cohort size just computed (Maykan + L1 + L2 + BD wallets), regardless of how many were already whitelisted.

newly_addedinteger

How many of those wallets were newly added this call; the rest were already in the whitelist from a prior run.

Changes