1 line
10 KiB
JSON
1 line
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
|