Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace TournamentAdapter

Namespace for all of the Tournament routes

Index

Functions

abortCheckIns

  • When your tournament is in a 'checking_in' or 'checked_in' state, there's no way to edit the tournament's start time (start_at) or check-in duration (check_in_duration). You must first abort check-in, then you may edit those attributes.

    1. Makes all participants active and clears their checked_in_at times.
    2. Transitions the tournament state from 'checking_in' or 'checked_in' to 'pending'

    Parameters

    Returns Promise<abortCheckInsTournamentResponse>

create

destroy

finalize

index

openForPredictions

  • Sets the state of the tournament to start accepting predictions. Your tournament's 'prediction_method' attribute must be set to 1 (exponential scoring) or 2 (linear scoring) to use this option. Note: Once open for predictions, match records will be persisted, so participant additions and removals will no longer be permitted.

    Parameters

    Returns Promise<openForPredictionsTournamentResponse>

processCheckIns

  • This should be invoked after a tournament's check-in window closes before the tournament is started.

    1. Marks participants who have not checked in as inactive.
    2. Moves inactive participants to bottom seeds (ordered by original seed).
    3. Transitions the tournament state from 'checking_in' to 'checked_in'

    NOTE: Checked in participants on the waiting list will be promoted if slots become available.

    Parameters

    Returns Promise<processCheckInsTournamentResponse>

reset

show

start

update

Generated using TypeDoc