{"name":"Tournament2b","description":"","url":"https:\/\/t2b.devbox24.com","home":"https:\/\/t2b.devbox24.com","gmt_offset":"0","timezone_string":"","namespaces":["oembed\/1.0","ci-rest-api\/v1\/test","ci-rest-api\/v1\/user","ci-rest-api\/v1\/tournament","contact-form-7\/v1","wp\/v2","wp-site-health\/v1","wp-block-editor\/v1"],"authentication":{"application-passwords":{"endpoints":{"authorization":"https:\/\/t2b.devbox24.com\/wp-admin\/authorize-application.php"}}},"routes":{"\/":{"namespace":"","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/"}]}},"\/batch\/v1":{"namespace":"","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"validation":{"type":"string","enum":["require-all-validate","normal"],"default":"normal","required":false},"requests":{"type":"array","maxItems":25,"items":{"type":"object","properties":{"method":{"type":"string","enum":["POST","PUT","PATCH","DELETE"],"default":"POST"},"path":{"type":"string","required":true},"body":{"type":"object","properties":[],"additionalProperties":true},"headers":{"type":"object","properties":[],"additionalProperties":{"type":["string","array"],"items":{"type":"string"}}}}},"required":true}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/batch\/v1"}]}},"\/oembed\/1.0":{"namespace":"oembed\/1.0","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"oembed\/1.0","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/oembed\/1.0"}]}},"\/oembed\/1.0\/embed":{"namespace":"oembed\/1.0","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"url":{"description":"The URL of the resource for which to fetch oEmbed data.","type":"string","format":"uri","required":true},"format":{"default":"json","required":false},"maxwidth":{"default":600,"required":false}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/oembed\/1.0\/embed"}]}},"\/oembed\/1.0\/proxy":{"namespace":"oembed\/1.0","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"url":{"description":"The URL of the resource for which to fetch oEmbed data.","type":"string","format":"uri","required":true},"format":{"description":"The oEmbed format to use.","type":"string","default":"json","enum":["json","xml"],"required":false},"maxwidth":{"description":"The maximum width of the embed frame in pixels.","type":"integer","default":600,"required":false},"maxheight":{"description":"The maximum height of the embed frame in pixels.","type":"integer","required":false},"discover":{"description":"Whether to perform an oEmbed discovery request for unsanctioned providers.","type":"boolean","default":true,"required":false}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/oembed\/1.0\/proxy"}]}},"\/ci-rest-api\/v1\/test":{"namespace":"ci-rest-api\/v1\/test","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"ci-rest-api\/v1\/test","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/test"}]}},"\/ci-rest-api\/v1\/test\/test-notification":{"namespace":"ci-rest-api\/v1\/test","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"device_token":{"type":"string","required":true},"notification_title":{"type":"string","required":true},"notification_body":{"type":"string","required":true},"notification_type":{"type":"string","required":true},"tournament_id":{"type":"integer","required":true},"data":{"type":"string","required":true}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/test\/test-notification"}]}},"\/ci-rest-api\/v1\/test\/delete-all-matches":{"namespace":"ci-rest-api\/v1\/test","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"tournament_id":{"type":"integer","required":true}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/test\/delete-all-matches"}]}},"\/ci-rest-api\/v1\/test\/delete-playoff-matches":{"namespace":"ci-rest-api\/v1\/test","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"tournament_id":{"type":"integer","required":true}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/test\/delete-playoff-matches"}]}},"\/ci-rest-api\/v1\/user":{"namespace":"ci-rest-api\/v1\/user","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"ci-rest-api\/v1\/user","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/user"}]}},"\/ci-rest-api\/v1\/user\/register":{"namespace":"ci-rest-api\/v1\/user","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"first_name":{"type":"string","required":true},"last_name":{"type":"string","required":true},"email":{"required":true},"password":{"required":true},"device_id":{"type":"string","required":false},"device_token":{"type":"string","required":false},"phone_number":{"type":"string","required":false},"availability":{"type":"string","required":false},"preferred_contact_app":{"type":"string","required":false},"membership_id":{"type":"string","required":false},"lta_number":{"type":"string","required":false},"image":{"type":"file","format":"int64","required":false},"user_first_color":{"type":"string","required":false},"user_second_color":{"type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/user\/register"}]}},"\/ci-rest-api\/v1\/user\/activate":{"namespace":"ci-rest-api\/v1\/user","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"user_id":{"type":"integer","required":true},"activation_key":{"type":"string","required":true},"device_id":{"type":"string","required":false},"device_token":{"type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/user\/activate"}]}},"\/ci-rest-api\/v1\/user\/get-account-profile":{"namespace":"ci-rest-api\/v1\/user","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/user\/get-account-profile"}]}},"\/ci-rest-api\/v1\/user\/update-profile-image":{"namespace":"ci-rest-api\/v1\/user","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"image":{"type":"file","format":"int64","required":false},"remove_profile_image":{"type":"boolean","required":false},"user_first_color":{"type":"string","required":false},"user_second_color":{"type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/user\/update-profile-image"}]}},"\/ci-rest-api\/v1\/user\/edit-profile":{"namespace":"ci-rest-api\/v1\/user","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"first_name":{"required":true},"last_name":{"required":true},"phone_number":{"type":"string","required":false},"availability":{"type":"string","required":false},"preferred_contact_app":{"type":"string","required":false},"membership_id":{"type":"string","required":false},"lta_number":{"type":"string","required":false},"user_first_color":{"type":"string","required":false},"user_second_color":{"type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/user\/edit-profile"}]}},"\/ci-rest-api\/v1\/user\/update-contact-information":{"namespace":"ci-rest-api\/v1\/user","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"phone_number":{"type":"string","required":false},"availability":{"type":"string","required":false},"preferred_contact_app":{"type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/user\/update-contact-information"}]}},"\/ci-rest-api\/v1\/user\/forgot-password":{"namespace":"ci-rest-api\/v1\/user","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"email":{"required":true}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/user\/forgot-password"}]}},"\/ci-rest-api\/v1\/user\/reset-password":{"namespace":"ci-rest-api\/v1\/user","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"user_id":{"required":true},"token":{"required":true},"new_password":{"required":true}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/user\/reset-password"}]}},"\/ci-rest-api\/v1\/user\/change-password":{"namespace":"ci-rest-api\/v1\/user","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"old_password":{"required":true},"new_password":{"required":true},"new_password_repeat":{"required":true}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/user\/change-password"}]}},"\/ci-rest-api\/v1\/user\/login":{"namespace":"ci-rest-api\/v1\/user","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"username":{"type":"string","required":true},"password":{"type":"string","required":true},"device_id":{"type":"string","required":false},"device_token":{"type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/user\/login"}]}},"\/ci-rest-api\/v1\/user\/logout":{"namespace":"ci-rest-api\/v1\/user","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"device_id":{"type":"string","required":false},"device_token":{"type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/user\/logout"}]}},"\/ci-rest-api\/v1\/user\/get-invitations":{"namespace":"ci-rest-api\/v1\/user","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/user\/get-invitations"}]}},"\/ci-rest-api\/v1\/user\/get-single-invitation":{"namespace":"ci-rest-api\/v1\/user","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"tournament_id":{"type":"integer","required":true}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/user\/get-single-invitation"}]}},"\/ci-rest-api\/v1\/user\/accept-invitation":{"namespace":"ci-rest-api\/v1\/user","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"tournament_id":{"type":"integer","required":true}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/user\/accept-invitation"}]}},"\/ci-rest-api\/v1\/user\/reject-invitation":{"namespace":"ci-rest-api\/v1\/user","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"tournament_id":{"type":"integer","required":true}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/user\/reject-invitation"}]}},"\/ci-rest-api\/v1\/user\/get-admin-privileges-invitations":{"namespace":"ci-rest-api\/v1\/user","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"tournament_id":{"type":"integer","description":"Optional parameter.","required":false}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/user\/get-admin-privileges-invitations"}]}},"\/ci-rest-api\/v1\/user\/accept-admin-privileges":{"namespace":"ci-rest-api\/v1\/user","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"tournament_id":{"type":"integer","required":true}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/user\/accept-admin-privileges"}]}},"\/ci-rest-api\/v1\/user\/reject-admin-privileges":{"namespace":"ci-rest-api\/v1\/user","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"tournament_id":{"type":"integer","required":true}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/user\/reject-admin-privileges"}]}},"\/ci-rest-api\/v1\/user\/login-apple":{"namespace":"ci-rest-api\/v1\/user","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"token":{"required":true},"first_name":{"required":false},"last_name":{"required":false},"device_id":{"type":"string","required":false},"device_token":{"type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/user\/login-apple"}]}},"\/ci-rest-api\/v1\/user\/login-gmail":{"namespace":"ci-rest-api\/v1\/user","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"access_token":{"required":true},"device_id":{"type":"string","required":false},"device_token":{"type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/user\/login-gmail"}]}},"\/ci-rest-api\/v1\/user\/get-user-tournaments":{"namespace":"ci-rest-api\/v1\/user","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"is_valid":{"description":"Optional parameter. If is_valid is true callback will return each tournament where user is player with certain conditions. 1.If today date is equal or greater than tl_match_play_begins_round_robin date and equal or less than tl_play_off_matches_announced date so he can enter round_robin match result; 2.If player is in quarterfinal and there is not results yet for that quarterfinal. 3.If player is in semifinal and there is not results yet for that semifinal. 4.If player is in final and there is not results yet for that final. If is_valid is false or not sent, callback will return all tournaments where user is player.","type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/user\/get-user-tournaments"}]}},"\/ci-rest-api\/v1\/user\/get-user-profile":{"namespace":"ci-rest-api\/v1\/user","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"user_id":{"type":"integer","required":true}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/user\/get-user-profile"}]}},"\/ci-rest-api\/v1\/user\/get-matches-for-result-confirmation":{"namespace":"ci-rest-api\/v1\/user","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/user\/get-matches-for-result-confirmation"}]}},"\/ci-rest-api\/v1\/user\/get-unresolved-matches-disputes":{"namespace":"ci-rest-api\/v1\/user","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"all_matches":{"type":"boolean","description":"Optional parameter. This parameter is for admin and it is used to return all unresolved matches (including matches where second player did not respond.)","required":false},"tournament_id":{"type":"integer","description":"Optional parameter.)","required":false}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/user\/get-unresolved-matches-disputes"}]}},"\/ci-rest-api\/v1\/user\/get-notifications":{"namespace":"ci-rest-api\/v1\/user","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/user\/get-notifications"}]}},"\/ci-rest-api\/v1\/user\/set-account-notifications":{"namespace":"ci-rest-api\/v1\/user","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"account_push_notifications_active":{"type":"boolean","required":true},"account_feed_notifications_active":{"type":"boolean","required":true},"account_email_notifications_active":{"type":"boolean","required":true}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/user\/set-account-notifications"}]}},"\/ci-rest-api\/v1\/user\/invite-to-join-app":{"namespace":"ci-rest-api\/v1\/user","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"tournament_id":{"type":"integer","required":true},"emails":{"type":"array","required":true},"descriptions":{"type":"array","required":true}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/user\/invite-to-join-app"}]}},"\/ci-rest-api\/v1\/user\/delete-account":{"namespace":"ci-rest-api\/v1\/user","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/user\/delete-account"}]}},"\/ci-rest-api\/v1\/tournament":{"namespace":"ci-rest-api\/v1\/tournament","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"ci-rest-api\/v1\/tournament","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/tournament"}]}},"\/ci-rest-api\/v1\/tournament\/create-new":{"namespace":"ci-rest-api\/v1\/tournament","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"title":{"type":"string","required":true},"match_play_begins_round_robin":{"type":"string","required":true},"competition_end":{"type":"string","required":true},"t_expected_players_number":{"type":"string","description":"Expected players number. Must be 4, 16, 24, 40 or 64+","enum":["4","16","24","40","64+"],"required":true},"t_is_private":{"type":"string","description":"Is tournament private. Must be yes or no","enum":["yes","no"],"required":true},"t_type":{"type":"string","description":"Tournament type. Must be round-robin-single","enum":["round-robin-single"],"required":true},"t_description":{"type":"string","required":false},"image":{"type":"file","format":"int64","required":false},"t_owner_is_attending":{"type":"boolean","required":false},"ts_sponsors_name":{"type":"string","required":false},"ts_sponsors_website":{"type":"string","required":false},"ts_description":{"type":"string","required":false},"ts_sponsors_image_logo":{"type":"file","format":"int64","required":false}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/tournament\/create-new"}]}},"\/ci-rest-api\/v1\/tournament\/handle-timeline":{"namespace":"ci-rest-api\/v1\/tournament","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"tournament_id":{"type":"number","required":true},"signups_open":{"type":"string","required":false},"signups_closed":{"type":"string","required":false},"match_play_begins_round_robin":{"type":"string","required":false},"results_and_ranking_revealed":{"type":"string","required":false},"second_match_with_the_same_opponent_is_allowed":{"type":"string","required":false},"round_robin_end_playoff_matches_announced":{"type":"string","required":false},"deadline_to_play_semifinals":{"type":"string","required":false},"competition_end":{"type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/tournament\/handle-timeline"}]}},"\/ci-rest-api\/v1\/tournament\/get-players-for-invite":{"namespace":"ci-rest-api\/v1\/tournament","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"tournament_id":{"type":"integer","required":true}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/tournament\/get-players-for-invite"}]}},"\/ci-rest-api\/v1\/tournament\/invite-players":{"namespace":"ci-rest-api\/v1\/tournament","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"tournament_id":{"type":"integer","required":true},"players_to_invite":{"type":"array","required":true}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/tournament\/invite-players"}]}},"\/ci-rest-api\/v1\/tournament\/apply-for-tournament":{"namespace":"ci-rest-api\/v1\/tournament","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"tournament_id":{"type":"integer","required":false},"tournament_code":{"type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/tournament\/apply-for-tournament"}]}},"\/ci-rest-api\/v1\/tournament\/get-all-requests-to-join":{"namespace":"ci-rest-api\/v1\/tournament","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/tournament\/get-all-requests-to-join"}]}},"\/ci-rest-api\/v1\/tournament\/get-player-applications":{"namespace":"ci-rest-api\/v1\/tournament","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"tournament_id":{"type":"integer","required":true}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/tournament\/get-player-applications"}]}},"\/ci-rest-api\/v1\/tournament\/resolve-player-application":{"namespace":"ci-rest-api\/v1\/tournament","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"tournament_id":{"type":"integer","required":true},"player_id":{"type":"integer","required":true},"action":{"type":"string","description":"Admin can accept or deny players application for tournament","enum":["accept","deny"],"required":true}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/tournament\/resolve-player-application"}]}},"\/ci-rest-api\/v1\/tournament\/remove-player-from-tournament":{"namespace":"ci-rest-api\/v1\/tournament","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"tournament_id":{"type":"integer","required":true},"player_id":{"type":"integer","required":true}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/tournament\/remove-player-from-tournament"}]}},"\/ci-rest-api\/v1\/tournament\/get-all-tournaments":{"namespace":"ci-rest-api\/v1\/tournament","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/tournament\/get-all-tournaments"}]}},"\/ci-rest-api\/v1\/tournament\/get-single-tournament":{"namespace":"ci-rest-api\/v1\/tournament","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"tournament_id":{"type":"integer","description":"Provide tournament ID or code, if both provided tournament ID will be used","required":false},"tournament_code":{"type":"string","description":"Provide tournament ID or code, if both provided tournament ID will be used","required":false}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/tournament\/get-single-tournament"}]}},"\/ci-rest-api\/v1\/tournament\/edit-tournament-basic-info":{"namespace":"ci-rest-api\/v1\/tournament","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"tournament_id":{"type":"integer","required":true},"title":{"type":"string","required":true},"t_description":{"type":"string","description":"Tournament description","required":false},"image":{"type":"file","format":"int64","required":false},"remove_tournament_image":{"type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/tournament\/edit-tournament-basic-info"}]}},"\/ci-rest-api\/v1\/tournament\/edit-tournament-sponsor":{"namespace":"ci-rest-api\/v1\/tournament","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"tournament_id":{"type":"integer","required":true},"ts_sponsors_name":{"type":"string","required":false},"ts_sponsors_website":{"type":"string","description":"Sponsor website","required":false},"ts_description":{"type":"string","description":"Sponsor description","required":false},"ts_sponsors_image_logo":{"type":"file","format":"int64","description":"Sponsors image or logo","required":false},"ts_remove_sponsors_image_logo":{"type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/tournament\/edit-tournament-sponsor"}]}},"\/ci-rest-api\/v1\/tournament\/get-players-for-contact":{"namespace":"ci-rest-api\/v1\/tournament","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"tournament_id":{"type":"integer","required":true}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/tournament\/get-players-for-contact"}]}},"\/ci-rest-api\/v1\/tournament\/set-contacted-player":{"namespace":"ci-rest-api\/v1\/tournament","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"tournament_id":{"type":"integer","required":true},"player_2":{"type":"integer","required":true}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/tournament\/set-contacted-player"}]}},"\/ci-rest-api\/v1\/tournament\/get-players-for-match-result":{"namespace":"ci-rest-api\/v1\/tournament","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"tournament_id":{"type":"integer","required":true}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/tournament\/get-players-for-match-result"}]}},"\/ci-rest-api\/v1\/tournament\/save-match-result":{"namespace":"ci-rest-api\/v1\/tournament","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"tournament_id":{"type":"integer","required":true},"location_address_court":{"type":"string","required":true},"match_date":{"type":"string","required":true},"match_time":{"type":"string","required":true},"player_1":{"type":"integer","required":true},"player_2":{"type":"integer","required":true},"winner":{"type":"integer","required":true},"match_result":{"type":"string","required":true}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/tournament\/save-match-result"}]}},"\/ci-rest-api\/v1\/tournament\/delete-match":{"namespace":"ci-rest-api\/v1\/tournament","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"tournament_id":{"type":"integer","required":true},"match_id":{"type":"integer","required":true},"tournament_round":{"type":"string","description":"Tournament round. Must be results_round1, results_playoff_quarter_final, results_playoff_semi_final or results_playoff_final","enum":["results_round1","results_playoff_quarter_final","results_playoff_semi_final","results_playoff_final"],"required":true}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/tournament\/delete-match"}]}},"\/ci-rest-api\/v1\/tournament\/get-tournament-table":{"namespace":"ci-rest-api\/v1\/tournament","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"tournament_id":{"type":"integer","required":true}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/tournament\/get-tournament-table"}]}},"\/ci-rest-api\/v1\/tournament\/get-played-matches-results":{"namespace":"ci-rest-api\/v1\/tournament","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"tournament_id":{"type":"integer","required":true}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/tournament\/get-played-matches-results"}]}},"\/ci-rest-api\/v1\/tournament\/set-matches-result-visibility":{"namespace":"ci-rest-api\/v1\/tournament","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"tournament_id":{"type":"integer","required":true},"results_visible":{"type":"boolean","required":true}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/tournament\/set-matches-result-visibility"}]}},"\/ci-rest-api\/v1\/tournament\/create-playoff":{"namespace":"ci-rest-api\/v1\/tournament","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"tournament_id":{"type":"integer","required":true}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/tournament\/create-playoff"}]}},"\/ci-rest-api\/v1\/tournament\/save-playoff-match-result":{"namespace":"ci-rest-api\/v1\/tournament","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"tournament_id":{"type":"integer","required":true},"location_address_court":{"type":"string","required":true},"match_date":{"type":"string","required":true},"match_time":{"type":"string","required":true},"match_stage":{"type":"string","description":"Match stage. Must be quarterfinal, semifinal or final","enum":["quarterfinal","semifinal","final"],"required":true},"player_1":{"type":"integer","required":true},"player_2":{"type":"integer","required":true},"winner":{"type":"integer","required":true},"match_result":{"type":"string","required":true}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/tournament\/save-playoff-match-result"}]}},"\/ci-rest-api\/v1\/tournament\/get-playoff":{"namespace":"ci-rest-api\/v1\/tournament","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"tournament_id":{"type":"integer","required":true}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/tournament\/get-playoff"}]}},"\/ci-rest-api\/v1\/tournament\/add-tournament-feed":{"namespace":"ci-rest-api\/v1\/tournament","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"tournament_id":{"type":"integer","required":true},"feed_text":{"type":"string","required":false},"feed_image":{"type":"file","format":"int64","required":false}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/tournament\/add-tournament-feed"}]}},"\/ci-rest-api\/v1\/tournament\/get-tournament-feed":{"namespace":"ci-rest-api\/v1\/tournament","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"tournament_id":{"type":"integer","required":true}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/tournament\/get-tournament-feed"}]}},"\/ci-rest-api\/v1\/tournament\/get-tournament-admins":{"namespace":"ci-rest-api\/v1\/tournament","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"tournament_id":{"type":"integer","required":true},"owners":{"type":"boolean","description":"Optional parameter. If true - return owners.","required":false},"admins":{"type":"boolean","description":"Optional parameter. If true - return admins.","required":false},"players":{"type":"boolean","description":"Optional parameter. If true - return players.","required":false},"users":{"type":"boolean","description":"Optional parameter. If true - return users.","required":false}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/tournament\/get-tournament-admins"}]}},"\/ci-rest-api\/v1\/tournament\/remove-tournament-admin":{"namespace":"ci-rest-api\/v1\/tournament","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"tournament_id":{"required":true},"id":{"type":"integer","required":true}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/tournament\/remove-tournament-admin"}]}},"\/ci-rest-api\/v1\/tournament\/invite-user-to-be-tournament-administrator":{"namespace":"ci-rest-api\/v1\/tournament","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"tournament_id":{"type":"integer","required":true},"users":{"type":"array","required":true}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/tournament\/invite-user-to-be-tournament-administrator"}]}},"\/ci-rest-api\/v1\/tournament\/declare-winner":{"namespace":"ci-rest-api\/v1\/tournament","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"tournament_id":{"type":"integer","required":true}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/tournament\/declare-winner"}]}},"\/ci-rest-api\/v1\/tournament\/respond-match-result":{"namespace":"ci-rest-api\/v1\/tournament","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"tournament_id":{"type":"integer","required":true},"match_id":{"type":"integer","required":true},"tournament_round":{"type":"string","description":"Tournament round. Must be results_round1, results_playoff_quarter_final, results_playoff_semi_final or results_playoff_final","enum":["results_round1","results_playoff_quarter_final","results_playoff_semi_final","results_playoff_final"],"required":true},"confirm":{"description":"Optional parameter. This parameter is for player and it is used to determine does player confirm or deny previously entered match result.","type":"boolean","required":false},"comment":{"type":"string","description":"Optional parameter. This parameter is for player and it is used to comment when deny previously entered match result.","required":false},"admin_approved":{"description":"Optional parameter. This parameter is for admin and it is used to resolve matches disputes.","type":"boolean","required":false},"match_result":{"description":"Optional parameter. This parameter is for admin and it is optional when he resolve matches disputes.","type":"string","required":false},"match_winner":{"description":"Optional parameter. This parameter is for admin and it is required when he resolve matches disputes.","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/tournament\/respond-match-result"}]}},"\/ci-rest-api\/v1\/tournament\/get-color-palettes":{"namespace":"ci-rest-api\/v1\/tournament","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/tournament\/get-color-palettes"}]}},"\/ci-rest-api\/v1\/tournament\/set-tournament-color-palette":{"namespace":"ci-rest-api\/v1\/tournament","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"tournament_id":{"type":"integer","required":true},"palette_id":{"type":"integer","required":true}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/ci-rest-api\/v1\/tournament\/set-tournament-color-palette"}]}},"\/contact-form-7\/v1":{"namespace":"contact-form-7\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"contact-form-7\/v1","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/contact-form-7\/v1"}]}},"\/contact-form-7\/v1\/contact-forms":{"namespace":"contact-form-7\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/contact-form-7\/v1\/contact-forms"}]}},"\/contact-form-7\/v1\/contact-forms\/(?P<id>\\d+)":{"namespace":"contact-form-7\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST","PUT","PATCH"],"args":[]},{"methods":["DELETE"],"args":[]}]},"\/contact-form-7\/v1\/contact-forms\/(?P<id>\\d+)\/feedback":{"namespace":"contact-form-7\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}]},"\/contact-form-7\/v1\/contact-forms\/(?P<id>\\d+)\/feedback\/schema":{"namespace":"contact-form-7\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}]},"\/contact-form-7\/v1\/contact-forms\/(?P<id>\\d+)\/refill":{"namespace":"contact-form-7\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}]},"\/wp-site-health\/v1":{"namespace":"wp-site-health\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"wp-site-health\/v1","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/wp-site-health\/v1"}]}},"\/wp-site-health\/v1\/tests\/background-updates":{"namespace":"wp-site-health\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/wp-site-health\/v1\/tests\/background-updates"}]}},"\/wp-site-health\/v1\/tests\/loopback-requests":{"namespace":"wp-site-health\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/wp-site-health\/v1\/tests\/loopback-requests"}]}},"\/wp-site-health\/v1\/tests\/https-status":{"namespace":"wp-site-health\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/wp-site-health\/v1\/tests\/https-status"}]}},"\/wp-site-health\/v1\/tests\/dotorg-communication":{"namespace":"wp-site-health\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/wp-site-health\/v1\/tests\/dotorg-communication"}]}},"\/wp-site-health\/v1\/tests\/authorization-header":{"namespace":"wp-site-health\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/wp-site-health\/v1\/tests\/authorization-header"}]}},"\/wp-site-health\/v1\/directory-sizes":{"namespace":"wp-site-health\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/wp-site-health\/v1\/directory-sizes"}]}},"\/wp-site-health\/v1\/tests\/page-cache":{"namespace":"wp-site-health\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/wp-site-health\/v1\/tests\/page-cache"}]}},"\/wp-block-editor\/v1":{"namespace":"wp-block-editor\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"wp-block-editor\/v1","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/wp-block-editor\/v1"}]}},"\/wp-block-editor\/v1\/url-details":{"namespace":"wp-block-editor\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"url":{"description":"The URL to process.","type":"string","format":"uri","required":true}}}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/wp-block-editor\/v1\/url-details"}]}},"\/wp-block-editor\/v1\/export":{"namespace":"wp-block-editor\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/t2b.devbox24.com\/wp-json\/wp-block-editor\/v1\/export"}]}}},"site_logo":0,"site_icon":0,"site_icon_url":"","_links":{"help":[{"href":"https:\/\/developer.wordpress.org\/rest-api\/"}]}}