Competition
Set cohort username
Changed onSet a username for a wallet in a cohort-whitelisted competition (one whose scoring_config sets participant_cohort_flag_key). Requires a valid session for the named wallet. Fails with PERMISSION_DENIED if the wallet isn't in that competition's cohort or doesn't match the authenticated session, or FAILED_PRECONDITION if the competition has no cohort whitelist at all.
post/v1/competitions/{slug}/cohort-username
Request
- Base URLhttps://api.testnet.rise.trade
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
slugstring required
Competition slug — its scoring_config must set participant_cohort_flag_key.
Request body
Response
A successful response.
Changes
- info
endpoint added
- info