1 line
No EOL
10 KiB
JSON
1 line
No EOL
10 KiB
JSON
{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"paths":{"/api/v1/seasons":{"get":{"tags":["API Version 1"],"summary":"Get Seasons","description":"Get a basic set of data of mathes within the given parameters\n`Season` : the season number to get infomation on","operationId":"get_seasons_api_v1_seasons_get","parameters":[{"name":"season","in":"query","required":false,"schema":{"title":"Season"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/match":{"get":{"tags":["API Version 1"],"summary":"Get Match","description":"Get a basic set of data of matches within the given parameters.\n`Season` : the season number for matches\n`cycle` : the cycle number for matches\n`team` : the team id to search by for matches\n`player` : the player id to look for\n`page` : if True, combine scores from both maps (default: False)","operationId":"get_match_api_v1_match_get","parameters":[{"name":"MatchID","in":"query","required":true,"schema":{"title":"Matchid"}},{"name":"basic","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Basic"}},{"name":"page","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Page"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/matches":{"get":{"tags":["API Version 1"],"summary":"Get Matches","description":"Get a basic set of data of matches within the given parameters.\n`Season` : the season number for matches\n`cycle` : the cycle number for matches\n`team` : the team id to search by for matches\n`player` : the player id to look for\n`page` : if True, combine scores from both maps (default: False)","operationId":"get_matches_api_v1_matches_get","parameters":[{"name":"season","in":"query","required":false,"schema":{"title":"Season"}},{"name":"cycle","in":"query","required":false,"schema":{"title":"Cycle"}},{"name":"team","in":"query","required":false,"schema":{"title":"Team"}},{"name":"player","in":"query","required":false,"schema":{"title":"Player"}},{"name":"page","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Page"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tier":{"get":{"tags":["API Version 1"],"summary":"Get Tiers","operationId":"get_tiers_api_v1_tier_get","parameters":[{"name":"season","in":"query","required":false,"schema":{"title":"Season"}},{"name":"cycle","in":"query","required":false,"schema":{"title":"Cycle"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/active_teams":{"get":{"tags":["API Version 1"],"summary":"Get Teams","operationId":"get_teams_api_v1_active_teams_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/player":{"get":{"tags":["API Version 1"],"summary":"Get Player","operationId":"get_player_api_v1_player_get","parameters":[{"name":"PlayerID","in":"query","required":true,"schema":{"title":"Playerid"}},{"name":"playoffs","in":"query","required":false,"schema":{"default":false,"title":"Playoffs"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/stats":{"get":{"tags":["API Version 1"],"summary":"Get Stats","operationId":"get_stats_api_v1_stats_get","parameters":[{"name":"season","in":"query","required":true,"schema":{"type":"integer","title":"Season"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/calendar":{"get":{"tags":["API Version 1"],"summary":"Get Calander","operationId":"get_calander_api_v1_calendar_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/calendar/filtered":{"get":{"tags":["API Version 1"],"summary":"Get Calander Filtered","operationId":"get_calander_filtered_api_v1_calendar_filtered_get","parameters":[{"name":"start_date","in":"query","required":true,"schema":{"title":"Start Date"}},{"name":"end_date","in":"query","required":true,"schema":{"title":"End Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/calendar/{EventID}":{"get":{"tags":["API Version 1"],"summary":"Get Calendar Event","operationId":"get_calendar_event_api_v1_calendar__EventID__get","parameters":[{"name":"EventID","in":"path","required":true,"schema":{"title":"Eventid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/map_pool":{"get":{"tags":["API Version 1"],"summary":"Get Map Pool","operationId":"get_map_pool_api_v1_map_pool_get","parameters":[{"name":"season","in":"query","required":false,"schema":{"default":0,"title":"Season"}},{"name":"cycle","in":"query","required":false,"schema":{"default":0,"title":"Cycle"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/team/{teamName}":{"get":{"tags":["API Version 1"],"summary":"Get Team","operationId":"get_team_api_v1_team__teamName__get","parameters":[{"name":"teamName","in":"path","required":true,"schema":{"title":"Teamname"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/team":{"get":{"tags":["API Version 1"],"summary":"Get Team","operationId":"get_team_api_v1_team_get","parameters":[{"name":"teamName","in":"query","required":true,"schema":{"title":"Teamname"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/best_map_count":{"get":{"tags":["API Version 1"],"summary":"Best Map Count","operationId":"best_map_count_api_v1_best_map_count_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/casts/match/{MatchID}":{"get":{"tags":["API Version 1"],"summary":"Casting Match Stats","operationId":"casting_match_stats_api_v1_casts_match__MatchID__get","parameters":[{"name":"MatchID","in":"path","required":true,"schema":{"title":"Matchid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/casts/match/flip/{MatchID}":{"get":{"tags":["API Version 1"],"summary":"Casting Match Stats Flip","operationId":"casting_match_stats_flip_api_v1_casts_match_flip__MatchID__get","parameters":[{"name":"MatchID","in":"path","required":true,"schema":{"title":"Matchid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/casts/match/{MatchID}/{TeamA}":{"get":{"tags":["API Version 1"],"summary":"Casting Match Stats Team","operationId":"casting_match_stats_team_api_v1_casts_match__MatchID___TeamA__get","parameters":[{"name":"MatchID","in":"path","required":true,"schema":{"title":"Matchid"}},{"name":"TeamA","in":"path","required":true,"schema":{"title":"Teama"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sponsors":{"get":{"tags":["API Version 1"],"summary":"Get Sponsors","operationId":"get_sponsors_api_v1_sponsors_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/mmr":{"get":{"tags":["API Version 1"],"summary":"Team Mmr","operationId":"team_mmr_api_v1_mmr_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/health":{"get":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}} |