curl --location --request POST 'https://api.challonge.com/v2/tournaments.json' \
--header 'Accept;' \
--header 'Authorization-Type;' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"data": {
"type": "Tournaments",
"attributes": {
"name": "Rainbow Six: Siege Tournament",
"url": "r6siege_tournament_xx",
"tournament_type": "single elimination",
"private": true,
"starts_at": "string",
"description": "string",
"notifications": {
"upon_matches_open": true,
"upon_tournament_ends": true
},
"match_options": {
"third_place_match": true,
"accept_attachments": false
},
"registration_options": {
"open_signup": false,
"signup_cap": 0,
"check_in_duration": 0
},
"seeding_options": {
"hide_seeds": false,
"sequential_pairings": false
},
"double_elimination_options": {
"split_participants": false,
"grand_finals_modifier": ""
},
"round_robin_options": {
"iterations": 2,
"ranking": "",
"pts_for_game_win": 1,
"pts_for_game_tie": 0,
"pts_for_match_win": 1,
"pts_for_match_tie": 0.5
},
"swiss_options": {
"rounds": 2,
"pts_for_game_win": 1,
"pts_for_game_tie": 0,
"pts_for_match_win": 1,
"pts_for_match_tie": 0.5
},
"free_for_all_options": {
"max_participants": 4
}
}
}
}'{
"id": "r6_siege_tournament_xx",
"type": "tournament",
"attributes": {
"name": "Rainbow Six: Siege Tournament",
"url": "r6siege_tournament_xx",
"tournament_type": "single elimination",
"private": true,
"starts_at": "string",
"description": "string",
"notifications": {
"upon_matches_open": true,
"upon_tournament_ends": true
},
"match_options": {
"third_place_match": true,
"accept_attachments": false
},
"registration_options": {
"open_signup": false,
"signup_cap": 0,
"check_in_duration": 0
},
"seeding_options": {
"hide_seeds": false,
"sequential_pairings": false
},
"double_elimination_options": {
"split_participants": false,
"grand_finals_modifier": ""
},
"round_robin_options": {
"iterations": 2,
"ranking": "",
"pts_for_game_win": 1,
"pts_for_game_tie": 0,
"pts_for_match_win": 1,
"pts_for_match_tie": 0.5
},
"swiss_options": {
"rounds": 2,
"pts_for_game_win": 1,
"pts_for_game_tie": 0,
"pts_for_match_win": 1,
"pts_for_match_tie": 0.5
},
"free_for_all_options": {
"max_participants": 4
}
}
}