Advertisement
Advertisement

Check out Challonge Connect, our new Tournament API Devkit for your Game, Website, or App.

Learn More ×

Open the tournament for predictions

Advertisement

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.


URL

POST https://api.challonge.com/v1/tournaments/{tournament}/open_for_predictions.{json|xml}

Parameters

Name Description
Gerekli
api_key
Your API key (required unless you're using HTTP basic authentication)
Gerekli
{tournament} (in URL string)
Tournament ID (e.g. 10230) or URL (e.g. 'single_elim' for challonge.com/single_elim). If assigned to a subdomain, URL format must be :subdomain-:tournament_url (e.g. 'test-mytourney' for test.challonge.com/mytourney)
include_participants 0 or 1; includes an array of associated participant records
include_matches 0 or 1; includes an array of associated match records