crawlora 1.53.2 → 1.53.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +1 -1
- data/docs/operations.md +33 -1
- data/lib/crawlora/operations.rb +1059 -65
- data/lib/crawlora/version.rb +1 -1
- data/openapi/public.json +2839 -368
- data/sig/crawlora.rbs +36 -0
- metadata +1 -1
data/openapi/public.json
CHANGED
|
@@ -42665,6 +42665,64 @@
|
|
|
42665
42665
|
},
|
|
42666
42666
|
"type": "object"
|
|
42667
42667
|
},
|
|
42668
|
+
"chesscom.EnumsResponse": {
|
|
42669
|
+
"properties": {
|
|
42670
|
+
"country_code": {
|
|
42671
|
+
"type": "string"
|
|
42672
|
+
},
|
|
42673
|
+
"leaderboard_sections": {
|
|
42674
|
+
"items": {
|
|
42675
|
+
"type": "string"
|
|
42676
|
+
},
|
|
42677
|
+
"type": "array"
|
|
42678
|
+
},
|
|
42679
|
+
"region_codes": {
|
|
42680
|
+
"items": {
|
|
42681
|
+
"$ref": "#/definitions/chesscom.RegionCode"
|
|
42682
|
+
},
|
|
42683
|
+
"type": "array"
|
|
42684
|
+
},
|
|
42685
|
+
"titles": {
|
|
42686
|
+
"items": {
|
|
42687
|
+
"type": "string"
|
|
42688
|
+
},
|
|
42689
|
+
"type": "array"
|
|
42690
|
+
}
|
|
42691
|
+
},
|
|
42692
|
+
"type": "object"
|
|
42693
|
+
},
|
|
42694
|
+
"chesscom.LeaderboardsResponse": {
|
|
42695
|
+
"properties": {
|
|
42696
|
+
"cache_control": {
|
|
42697
|
+
"type": "string"
|
|
42698
|
+
},
|
|
42699
|
+
"data": {
|
|
42700
|
+
"additionalProperties": {},
|
|
42701
|
+
"type": "object"
|
|
42702
|
+
},
|
|
42703
|
+
"etag": {
|
|
42704
|
+
"type": "string"
|
|
42705
|
+
},
|
|
42706
|
+
"last_modified": {
|
|
42707
|
+
"type": "string"
|
|
42708
|
+
},
|
|
42709
|
+
"section": {
|
|
42710
|
+
"description": "Section is the requested filter; empty when the whole source object is returned.",
|
|
42711
|
+
"type": "string"
|
|
42712
|
+
},
|
|
42713
|
+
"sections": {
|
|
42714
|
+
"description": "Sections lists every top-level section key the source returned, pinned\nsections first in their documented order, then any new keys sorted.",
|
|
42715
|
+
"items": {
|
|
42716
|
+
"type": "string"
|
|
42717
|
+
},
|
|
42718
|
+
"type": "array"
|
|
42719
|
+
},
|
|
42720
|
+
"source_url": {
|
|
42721
|
+
"type": "string"
|
|
42722
|
+
}
|
|
42723
|
+
},
|
|
42724
|
+
"type": "object"
|
|
42725
|
+
},
|
|
42668
42726
|
"chesscom.PublicDataResponse": {
|
|
42669
42727
|
"properties": {
|
|
42670
42728
|
"cache_control": {
|
|
@@ -42750,6 +42808,17 @@
|
|
|
42750
42808
|
},
|
|
42751
42809
|
"type": "object"
|
|
42752
42810
|
},
|
|
42811
|
+
"chesscom.RegionCode": {
|
|
42812
|
+
"properties": {
|
|
42813
|
+
"code": {
|
|
42814
|
+
"type": "string"
|
|
42815
|
+
},
|
|
42816
|
+
"name": {
|
|
42817
|
+
"type": "string"
|
|
42818
|
+
}
|
|
42819
|
+
},
|
|
42820
|
+
"type": "object"
|
|
42821
|
+
},
|
|
42753
42822
|
"chewy.Answer": {
|
|
42754
42823
|
"properties": {
|
|
42755
42824
|
"helpful_count": {
|
|
@@ -174951,6 +175020,20 @@
|
|
|
174951
175020
|
},
|
|
174952
175021
|
"type": "object"
|
|
174953
175022
|
},
|
|
175023
|
+
"lichess.EnumRange": {
|
|
175024
|
+
"properties": {
|
|
175025
|
+
"default": {
|
|
175026
|
+
"type": "integer"
|
|
175027
|
+
},
|
|
175028
|
+
"maximum": {
|
|
175029
|
+
"type": "integer"
|
|
175030
|
+
},
|
|
175031
|
+
"minimum": {
|
|
175032
|
+
"type": "integer"
|
|
175033
|
+
}
|
|
175034
|
+
},
|
|
175035
|
+
"type": "object"
|
|
175036
|
+
},
|
|
174954
175037
|
"lichess.EnumsResponse": {
|
|
174955
175038
|
"properties": {
|
|
174956
175039
|
"cloud_evaluation_default_variant": {
|
|
@@ -174962,6 +175045,13 @@
|
|
|
174962
175045
|
},
|
|
174963
175046
|
"type": "array"
|
|
174964
175047
|
},
|
|
175048
|
+
"leaderboard_perf_types": {
|
|
175049
|
+
"description": "LeaderboardPerfTypes is the closed perfType set for /lichess/leaderboard.",
|
|
175050
|
+
"items": {
|
|
175051
|
+
"type": "string"
|
|
175052
|
+
},
|
|
175053
|
+
"type": "array"
|
|
175054
|
+
},
|
|
174965
175055
|
"puzzle_angle": {
|
|
174966
175056
|
"type": "string"
|
|
174967
175057
|
},
|
|
@@ -174991,17 +175081,52 @@
|
|
|
174991
175081
|
},
|
|
174992
175082
|
"type": "array"
|
|
174993
175083
|
},
|
|
175084
|
+
"ranges": {
|
|
175085
|
+
"additionalProperties": {
|
|
175086
|
+
"$ref": "#/definitions/lichess.EnumRange"
|
|
175087
|
+
},
|
|
175088
|
+
"description": "Ranges are the inclusive numeric bounds of the gap routes' size/page inputs.",
|
|
175089
|
+
"type": "object"
|
|
175090
|
+
},
|
|
174994
175091
|
"standard_dtc": {
|
|
174995
175092
|
"items": {
|
|
174996
175093
|
"type": "string"
|
|
174997
175094
|
},
|
|
174998
175095
|
"type": "array"
|
|
174999
175096
|
},
|
|
175097
|
+
"swiss_statuses": {
|
|
175098
|
+
"description": "SwissStatuses is the closed status filter for /lichess/team/swiss.",
|
|
175099
|
+
"items": {
|
|
175100
|
+
"type": "string"
|
|
175101
|
+
},
|
|
175102
|
+
"type": "array"
|
|
175103
|
+
},
|
|
175000
175104
|
"tablebase_variants": {
|
|
175001
175105
|
"items": {
|
|
175002
175106
|
"type": "string"
|
|
175003
175107
|
},
|
|
175004
175108
|
"type": "array"
|
|
175109
|
+
},
|
|
175110
|
+
"user_perf_types": {
|
|
175111
|
+
"description": "UserPerfTypes is the closed perf set for /lichess/user/perf.",
|
|
175112
|
+
"items": {
|
|
175113
|
+
"type": "string"
|
|
175114
|
+
},
|
|
175115
|
+
"type": "array"
|
|
175116
|
+
}
|
|
175117
|
+
},
|
|
175118
|
+
"type": "object"
|
|
175119
|
+
},
|
|
175120
|
+
"lichess.PGNResponse": {
|
|
175121
|
+
"properties": {
|
|
175122
|
+
"games": {
|
|
175123
|
+
"type": "integer"
|
|
175124
|
+
},
|
|
175125
|
+
"pgn": {
|
|
175126
|
+
"type": "string"
|
|
175127
|
+
},
|
|
175128
|
+
"source_url": {
|
|
175129
|
+
"type": "string"
|
|
175005
175130
|
}
|
|
175006
175131
|
},
|
|
175007
175132
|
"type": "object"
|
|
@@ -396763,20 +396888,21 @@
|
|
|
396763
396888
|
]
|
|
396764
396889
|
}
|
|
396765
396890
|
},
|
|
396766
|
-
"/chesscom/
|
|
396891
|
+
"/chesscom/country/{iso}/clubs": {
|
|
396767
396892
|
"get": {
|
|
396768
396893
|
"consumes": [
|
|
396769
396894
|
"application/json"
|
|
396770
396895
|
],
|
|
396771
|
-
"description": "Returns the
|
|
396772
|
-
"operationId": "chesscom-
|
|
396896
|
+
"description": "Returns the Published-Data API URLs of the clubs Chess.com lists for one country or Chess.com region code. Feed a club URL ID to the club routes. This standalone service is not affiliated with Chess.com. Do not use these results for AI model training or dataset creation.",
|
|
396897
|
+
"operationId": "chesscom-country-clubs",
|
|
396773
396898
|
"parameters": [
|
|
396774
396899
|
{
|
|
396775
|
-
"description": "
|
|
396900
|
+
"description": "Two-character uppercase ISO 3166-1 code or Chess.com region code (region codes are listed by /chesscom/enums)",
|
|
396776
396901
|
"in": "path",
|
|
396777
|
-
"name": "
|
|
396902
|
+
"name": "iso",
|
|
396778
396903
|
"required": true,
|
|
396779
|
-
"type": "
|
|
396904
|
+
"type": "string",
|
|
396905
|
+
"x-example": "NO"
|
|
396780
396906
|
}
|
|
396781
396907
|
],
|
|
396782
396908
|
"produces": [
|
|
@@ -396831,33 +396957,27 @@
|
|
|
396831
396957
|
"ApiKeyAuth": []
|
|
396832
396958
|
}
|
|
396833
396959
|
],
|
|
396834
|
-
"summary": "
|
|
396960
|
+
"summary": "List Chess.com clubs for a country",
|
|
396835
396961
|
"tags": [
|
|
396836
396962
|
"Chess.com"
|
|
396837
396963
|
]
|
|
396838
396964
|
}
|
|
396839
396965
|
},
|
|
396840
|
-
"/chesscom/
|
|
396966
|
+
"/chesscom/country/{iso}/players": {
|
|
396841
396967
|
"get": {
|
|
396842
396968
|
"consumes": [
|
|
396843
396969
|
"application/json"
|
|
396844
396970
|
],
|
|
396845
|
-
"description": "Returns
|
|
396846
|
-
"operationId": "chesscom-
|
|
396971
|
+
"description": "Returns the usernames Chess.com lists for one country or Chess.com region code. The source caps large countries (the International XX list returns 10,000 usernames with a source comment). This standalone service is not affiliated with Chess.com. Do not use these results for AI model training or dataset creation.",
|
|
396972
|
+
"operationId": "chesscom-country-players",
|
|
396847
396973
|
"parameters": [
|
|
396848
396974
|
{
|
|
396849
|
-
"description": "
|
|
396850
|
-
"in": "path",
|
|
396851
|
-
"name": "id",
|
|
396852
|
-
"required": true,
|
|
396853
|
-
"type": "integer"
|
|
396854
|
-
},
|
|
396855
|
-
{
|
|
396856
|
-
"description": "Source board number",
|
|
396975
|
+
"description": "Two-character uppercase ISO 3166-1 code or Chess.com region code (region codes are listed by /chesscom/enums)",
|
|
396857
396976
|
"in": "path",
|
|
396858
|
-
"name": "
|
|
396977
|
+
"name": "iso",
|
|
396859
396978
|
"required": true,
|
|
396860
|
-
"type": "
|
|
396979
|
+
"type": "string",
|
|
396980
|
+
"x-example": "NO"
|
|
396861
396981
|
}
|
|
396862
396982
|
],
|
|
396863
396983
|
"produces": [
|
|
@@ -396912,28 +397032,19 @@
|
|
|
396912
397032
|
"ApiKeyAuth": []
|
|
396913
397033
|
}
|
|
396914
397034
|
],
|
|
396915
|
-
"summary": "
|
|
397035
|
+
"summary": "List Chess.com players for a country",
|
|
396916
397036
|
"tags": [
|
|
396917
397037
|
"Chess.com"
|
|
396918
397038
|
]
|
|
396919
397039
|
}
|
|
396920
397040
|
},
|
|
396921
|
-
"/chesscom/
|
|
397041
|
+
"/chesscom/enums": {
|
|
396922
397042
|
"get": {
|
|
396923
397043
|
"consumes": [
|
|
396924
397044
|
"application/json"
|
|
396925
397045
|
],
|
|
396926
|
-
"description": "Returns the
|
|
396927
|
-
"operationId": "chesscom-
|
|
396928
|
-
"parameters": [
|
|
396929
|
-
{
|
|
396930
|
-
"description": "Positive Chess.com team match ID",
|
|
396931
|
-
"in": "path",
|
|
396932
|
-
"name": "id",
|
|
396933
|
-
"required": true,
|
|
396934
|
-
"type": "integer"
|
|
396935
|
-
}
|
|
396936
|
-
],
|
|
397046
|
+
"description": "Returns the closed value sets the Chess.com routes accept: the ten titles for /chesscom/titled/{title}, the eleven leaderboard sections for the leaderboards section filter, and the Chess.com region codes (XA Canary Islands, XB Basque Country, XC Catalonia, XE England, XG Galicia, XK Kosovo, XO Olympic, XP Paralympic, XS Scotland, XT Chinese Taipei, XW Wales, XX International) accepted beside ISO 3166-1 codes by the country routes. No source request is made.",
|
|
397047
|
+
"operationId": "chesscom-enums",
|
|
396937
397048
|
"produces": [
|
|
396938
397049
|
"application/json"
|
|
396939
397050
|
],
|
|
@@ -396948,37 +397059,13 @@
|
|
|
396948
397059
|
{
|
|
396949
397060
|
"properties": {
|
|
396950
397061
|
"data": {
|
|
396951
|
-
"$ref": "#/definitions/chesscom.
|
|
397062
|
+
"$ref": "#/definitions/chesscom.EnumsResponse"
|
|
396952
397063
|
}
|
|
396953
397064
|
},
|
|
396954
397065
|
"type": "object"
|
|
396955
397066
|
}
|
|
396956
397067
|
]
|
|
396957
397068
|
}
|
|
396958
|
-
},
|
|
396959
|
-
"400": {
|
|
396960
|
-
"description": "Bad Request",
|
|
396961
|
-
"schema": {
|
|
396962
|
-
"$ref": "#/definitions/app.Response"
|
|
396963
|
-
}
|
|
396964
|
-
},
|
|
396965
|
-
"404": {
|
|
396966
|
-
"description": "Not Found",
|
|
396967
|
-
"schema": {
|
|
396968
|
-
"$ref": "#/definitions/app.Response"
|
|
396969
|
-
}
|
|
396970
|
-
},
|
|
396971
|
-
"429": {
|
|
396972
|
-
"description": "Too Many Requests",
|
|
396973
|
-
"schema": {
|
|
396974
|
-
"$ref": "#/definitions/app.Response"
|
|
396975
|
-
}
|
|
396976
|
-
},
|
|
396977
|
-
"503": {
|
|
396978
|
-
"description": "Service Unavailable",
|
|
396979
|
-
"schema": {
|
|
396980
|
-
"$ref": "#/definitions/app.Response"
|
|
396981
|
-
}
|
|
396982
397069
|
}
|
|
396983
397070
|
},
|
|
396984
397071
|
"security": [
|
|
@@ -396986,33 +397073,39 @@
|
|
|
396986
397073
|
"ApiKeyAuth": []
|
|
396987
397074
|
}
|
|
396988
397075
|
],
|
|
396989
|
-
"summary": "
|
|
397076
|
+
"summary": "List Chess.com enum values",
|
|
396990
397077
|
"tags": [
|
|
396991
397078
|
"Chess.com"
|
|
396992
397079
|
]
|
|
396993
397080
|
}
|
|
396994
397081
|
},
|
|
396995
|
-
"/chesscom/
|
|
397082
|
+
"/chesscom/leaderboards": {
|
|
396996
397083
|
"get": {
|
|
396997
397084
|
"consumes": [
|
|
396998
397085
|
"application/json"
|
|
396999
397086
|
],
|
|
397000
|
-
"description": "Returns
|
|
397001
|
-
"operationId": "chesscom-
|
|
397087
|
+
"description": "Returns the top 50 players of every Chess.com leaderboard section (daily, daily960, live_rapid, live_blitz, live_bullet, live_bughouse, live_blitz960, live_threecheck, tactics, rush, battle) with every published field: rank, score, username, name, title, country, avatar, trend and win/loss/draw counts. The optional section filter returns one section only; the full response is about 290 KB. This standalone service is not affiliated with Chess.com. Do not use these results for AI model training or dataset creation.",
|
|
397088
|
+
"operationId": "chesscom-leaderboards",
|
|
397002
397089
|
"parameters": [
|
|
397003
397090
|
{
|
|
397004
|
-
"description": "
|
|
397005
|
-
"
|
|
397006
|
-
|
|
397007
|
-
|
|
397008
|
-
|
|
397009
|
-
|
|
397010
|
-
|
|
397011
|
-
|
|
397012
|
-
|
|
397013
|
-
|
|
397014
|
-
|
|
397015
|
-
|
|
397091
|
+
"description": "Return only this leaderboard section; omit for all sections. Values are listed by /chesscom/enums.",
|
|
397092
|
+
"enum": [
|
|
397093
|
+
"daily",
|
|
397094
|
+
"daily960",
|
|
397095
|
+
"live_rapid",
|
|
397096
|
+
"live_blitz",
|
|
397097
|
+
"live_bullet",
|
|
397098
|
+
"live_bughouse",
|
|
397099
|
+
"live_blitz960",
|
|
397100
|
+
"live_threecheck",
|
|
397101
|
+
"tactics",
|
|
397102
|
+
"rush",
|
|
397103
|
+
"battle"
|
|
397104
|
+
],
|
|
397105
|
+
"in": "query",
|
|
397106
|
+
"name": "section",
|
|
397107
|
+
"type": "string",
|
|
397108
|
+
"x-example": "live_blitz"
|
|
397016
397109
|
}
|
|
397017
397110
|
],
|
|
397018
397111
|
"produces": [
|
|
@@ -397029,7 +397122,7 @@
|
|
|
397029
397122
|
{
|
|
397030
397123
|
"properties": {
|
|
397031
397124
|
"data": {
|
|
397032
|
-
"$ref": "#/definitions/chesscom.
|
|
397125
|
+
"$ref": "#/definitions/chesscom.LeaderboardsResponse"
|
|
397033
397126
|
}
|
|
397034
397127
|
},
|
|
397035
397128
|
"type": "object"
|
|
@@ -397067,26 +397160,26 @@
|
|
|
397067
397160
|
"ApiKeyAuth": []
|
|
397068
397161
|
}
|
|
397069
397162
|
],
|
|
397070
|
-
"summary": "Get
|
|
397163
|
+
"summary": "Get Chess.com leaderboards",
|
|
397071
397164
|
"tags": [
|
|
397072
397165
|
"Chess.com"
|
|
397073
397166
|
]
|
|
397074
397167
|
}
|
|
397075
397168
|
},
|
|
397076
|
-
"/chesscom/
|
|
397169
|
+
"/chesscom/live-match/{id}": {
|
|
397077
397170
|
"get": {
|
|
397078
397171
|
"consumes": [
|
|
397079
397172
|
"application/json"
|
|
397080
397173
|
],
|
|
397081
|
-
"description": "Returns
|
|
397082
|
-
"operationId": "chesscom-
|
|
397174
|
+
"description": "Returns the public source details for one caller-selected live team match ID. This standalone service is not affiliated with Chess.com. Do not use these results for AI model training or dataset creation.",
|
|
397175
|
+
"operationId": "chesscom-match-live",
|
|
397083
397176
|
"parameters": [
|
|
397084
397177
|
{
|
|
397085
|
-
"description": "Chess.com
|
|
397178
|
+
"description": "Positive Chess.com live team match ID",
|
|
397086
397179
|
"in": "path",
|
|
397087
|
-
"name": "
|
|
397180
|
+
"name": "id",
|
|
397088
397181
|
"required": true,
|
|
397089
|
-
"type": "
|
|
397182
|
+
"type": "integer"
|
|
397090
397183
|
}
|
|
397091
397184
|
],
|
|
397092
397185
|
"produces": [
|
|
@@ -397141,26 +397234,33 @@
|
|
|
397141
397234
|
"ApiKeyAuth": []
|
|
397142
397235
|
}
|
|
397143
397236
|
],
|
|
397144
|
-
"summary": "Get a
|
|
397237
|
+
"summary": "Get a live Chess.com team match",
|
|
397145
397238
|
"tags": [
|
|
397146
397239
|
"Chess.com"
|
|
397147
397240
|
]
|
|
397148
397241
|
}
|
|
397149
397242
|
},
|
|
397150
|
-
"/chesscom/
|
|
397243
|
+
"/chesscom/live-match/{id}/{board}": {
|
|
397151
397244
|
"get": {
|
|
397152
397245
|
"consumes": [
|
|
397153
397246
|
"application/json"
|
|
397154
397247
|
],
|
|
397155
|
-
"description": "Returns
|
|
397156
|
-
"operationId": "chesscom-
|
|
397248
|
+
"description": "Returns source game and score data for one board of a caller-selected live team match. This standalone service is not affiliated with Chess.com. Do not use these results for AI model training or dataset creation.",
|
|
397249
|
+
"operationId": "chesscom-match-live-board",
|
|
397157
397250
|
"parameters": [
|
|
397158
397251
|
{
|
|
397159
|
-
"description": "Chess.com
|
|
397252
|
+
"description": "Positive Chess.com live team match ID",
|
|
397160
397253
|
"in": "path",
|
|
397161
|
-
"name": "
|
|
397254
|
+
"name": "id",
|
|
397162
397255
|
"required": true,
|
|
397163
|
-
"type": "
|
|
397256
|
+
"type": "integer"
|
|
397257
|
+
},
|
|
397258
|
+
{
|
|
397259
|
+
"description": "Source board number",
|
|
397260
|
+
"in": "path",
|
|
397261
|
+
"name": "board",
|
|
397262
|
+
"required": true,
|
|
397263
|
+
"type": "integer"
|
|
397164
397264
|
}
|
|
397165
397265
|
],
|
|
397166
397266
|
"produces": [
|
|
@@ -397215,26 +397315,26 @@
|
|
|
397215
397315
|
"ApiKeyAuth": []
|
|
397216
397316
|
}
|
|
397217
397317
|
],
|
|
397218
|
-
"summary": "Get a
|
|
397318
|
+
"summary": "Get a live team match board",
|
|
397219
397319
|
"tags": [
|
|
397220
397320
|
"Chess.com"
|
|
397221
397321
|
]
|
|
397222
397322
|
}
|
|
397223
397323
|
},
|
|
397224
|
-
"/chesscom/
|
|
397324
|
+
"/chesscom/match/{id}": {
|
|
397225
397325
|
"get": {
|
|
397226
397326
|
"consumes": [
|
|
397227
397327
|
"application/json"
|
|
397228
397328
|
],
|
|
397229
|
-
"description": "Returns the source
|
|
397230
|
-
"operationId": "chesscom-
|
|
397329
|
+
"description": "Returns the public source details for one caller-selected team match ID. This standalone service is not affiliated with Chess.com. Do not use these results for AI model training or dataset creation.",
|
|
397330
|
+
"operationId": "chesscom-match",
|
|
397231
397331
|
"parameters": [
|
|
397232
397332
|
{
|
|
397233
|
-
"description": "Chess.com
|
|
397333
|
+
"description": "Positive Chess.com team match ID",
|
|
397234
397334
|
"in": "path",
|
|
397235
|
-
"name": "
|
|
397335
|
+
"name": "id",
|
|
397236
397336
|
"required": true,
|
|
397237
|
-
"type": "
|
|
397337
|
+
"type": "integer"
|
|
397238
397338
|
}
|
|
397239
397339
|
],
|
|
397240
397340
|
"produces": [
|
|
@@ -397289,40 +397389,33 @@
|
|
|
397289
397389
|
"ApiKeyAuth": []
|
|
397290
397390
|
}
|
|
397291
397391
|
],
|
|
397292
|
-
"summary": "Get a
|
|
397392
|
+
"summary": "Get a Chess.com team match",
|
|
397293
397393
|
"tags": [
|
|
397294
397394
|
"Chess.com"
|
|
397295
397395
|
]
|
|
397296
397396
|
}
|
|
397297
397397
|
},
|
|
397298
|
-
"/chesscom/
|
|
397398
|
+
"/chesscom/match/{id}/{board}": {
|
|
397299
397399
|
"get": {
|
|
397300
397400
|
"consumes": [
|
|
397301
397401
|
"application/json"
|
|
397302
397402
|
],
|
|
397303
|
-
"description": "Returns
|
|
397304
|
-
"operationId": "chesscom-
|
|
397403
|
+
"description": "Returns source game and score data for one board of a caller-selected team match. This standalone service is not affiliated with Chess.com. Do not use these results for AI model training or dataset creation.",
|
|
397404
|
+
"operationId": "chesscom-match-board",
|
|
397305
397405
|
"parameters": [
|
|
397306
397406
|
{
|
|
397307
|
-
"description": "Chess.com
|
|
397308
|
-
"in": "path",
|
|
397309
|
-
"name": "username",
|
|
397310
|
-
"required": true,
|
|
397311
|
-
"type": "string"
|
|
397312
|
-
},
|
|
397313
|
-
{
|
|
397314
|
-
"description": "Four-digit game-end year",
|
|
397407
|
+
"description": "Positive Chess.com team match ID",
|
|
397315
397408
|
"in": "path",
|
|
397316
|
-
"name": "
|
|
397409
|
+
"name": "id",
|
|
397317
397410
|
"required": true,
|
|
397318
|
-
"type": "
|
|
397411
|
+
"type": "integer"
|
|
397319
397412
|
},
|
|
397320
397413
|
{
|
|
397321
|
-
"description": "
|
|
397414
|
+
"description": "Source board number",
|
|
397322
397415
|
"in": "path",
|
|
397323
|
-
"name": "
|
|
397416
|
+
"name": "board",
|
|
397324
397417
|
"required": true,
|
|
397325
|
-
"type": "
|
|
397418
|
+
"type": "integer"
|
|
397326
397419
|
}
|
|
397327
397420
|
],
|
|
397328
397421
|
"produces": [
|
|
@@ -397377,19 +397470,19 @@
|
|
|
397377
397470
|
"ApiKeyAuth": []
|
|
397378
397471
|
}
|
|
397379
397472
|
],
|
|
397380
|
-
"summary": "Get a
|
|
397473
|
+
"summary": "Get a team match board",
|
|
397381
397474
|
"tags": [
|
|
397382
397475
|
"Chess.com"
|
|
397383
397476
|
]
|
|
397384
397477
|
}
|
|
397385
397478
|
},
|
|
397386
|
-
"/chesscom/player/{username}
|
|
397479
|
+
"/chesscom/player/{username}": {
|
|
397387
397480
|
"get": {
|
|
397388
397481
|
"consumes": [
|
|
397389
397482
|
"application/json"
|
|
397390
397483
|
],
|
|
397391
|
-
"description": "Returns one
|
|
397392
|
-
"operationId": "chesscom-player
|
|
397484
|
+
"description": "Returns one caller-selected player profile from Chess.com’s documented Published-Data API, including the public fields published for that username. This standalone service is not affiliated with Chess.com. Do not use these results for AI model training or dataset creation.",
|
|
397485
|
+
"operationId": "chesscom-player",
|
|
397393
397486
|
"parameters": [
|
|
397394
397487
|
{
|
|
397395
397488
|
"description": "Chess.com username",
|
|
@@ -397397,20 +397490,6 @@
|
|
|
397397
397490
|
"name": "username",
|
|
397398
397491
|
"required": true,
|
|
397399
397492
|
"type": "string"
|
|
397400
|
-
},
|
|
397401
|
-
{
|
|
397402
|
-
"description": "Four-digit game-end year",
|
|
397403
|
-
"in": "path",
|
|
397404
|
-
"name": "year",
|
|
397405
|
-
"required": true,
|
|
397406
|
-
"type": "string"
|
|
397407
|
-
},
|
|
397408
|
-
{
|
|
397409
|
-
"description": "Game-end month, 1 through 12",
|
|
397410
|
-
"in": "path",
|
|
397411
|
-
"name": "month",
|
|
397412
|
-
"required": true,
|
|
397413
|
-
"type": "string"
|
|
397414
397493
|
}
|
|
397415
397494
|
],
|
|
397416
397495
|
"produces": [
|
|
@@ -397427,7 +397506,7 @@
|
|
|
397427
397506
|
{
|
|
397428
397507
|
"properties": {
|
|
397429
397508
|
"data": {
|
|
397430
|
-
"$ref": "#/definitions/chesscom.
|
|
397509
|
+
"$ref": "#/definitions/chesscom.PublicDataResponse"
|
|
397431
397510
|
}
|
|
397432
397511
|
},
|
|
397433
397512
|
"type": "object"
|
|
@@ -397465,19 +397544,19 @@
|
|
|
397465
397544
|
"ApiKeyAuth": []
|
|
397466
397545
|
}
|
|
397467
397546
|
],
|
|
397468
|
-
"summary": "Get a
|
|
397547
|
+
"summary": "Get a public Chess.com player profile",
|
|
397469
397548
|
"tags": [
|
|
397470
397549
|
"Chess.com"
|
|
397471
397550
|
]
|
|
397472
397551
|
}
|
|
397473
397552
|
},
|
|
397474
|
-
"/chesscom/player/{username}/
|
|
397553
|
+
"/chesscom/player/{username}/clubs": {
|
|
397475
397554
|
"get": {
|
|
397476
397555
|
"consumes": [
|
|
397477
397556
|
"application/json"
|
|
397478
397557
|
],
|
|
397479
|
-
"description": "Returns the
|
|
397480
|
-
"operationId": "chesscom-player-
|
|
397558
|
+
"description": "Returns the public club records Chess.com lists for one caller-selected player. This standalone service is not affiliated with Chess.com. Do not use these results for AI model training or dataset creation.",
|
|
397559
|
+
"operationId": "chesscom-player-clubs",
|
|
397481
397560
|
"parameters": [
|
|
397482
397561
|
{
|
|
397483
397562
|
"description": "Chess.com username",
|
|
@@ -397539,19 +397618,19 @@
|
|
|
397539
397618
|
"ApiKeyAuth": []
|
|
397540
397619
|
}
|
|
397541
397620
|
],
|
|
397542
|
-
"summary": "
|
|
397621
|
+
"summary": "Get a player’s public clubs",
|
|
397543
397622
|
"tags": [
|
|
397544
397623
|
"Chess.com"
|
|
397545
397624
|
]
|
|
397546
397625
|
}
|
|
397547
397626
|
},
|
|
397548
|
-
"/chesscom/player/{username}/games
|
|
397627
|
+
"/chesscom/player/{username}/games": {
|
|
397549
397628
|
"get": {
|
|
397550
397629
|
"consumes": [
|
|
397551
397630
|
"application/json"
|
|
397552
397631
|
],
|
|
397553
|
-
"description": "Returns
|
|
397554
|
-
"operationId": "chesscom-player-
|
|
397632
|
+
"description": "Returns the source list of current Daily Chess games for one caller-selected player. This standalone service is not affiliated with Chess.com. Do not use these results for AI model training or dataset creation.",
|
|
397633
|
+
"operationId": "chesscom-player-games",
|
|
397555
397634
|
"parameters": [
|
|
397556
397635
|
{
|
|
397557
397636
|
"description": "Chess.com username",
|
|
@@ -397559,13 +397638,6 @@
|
|
|
397559
397638
|
"name": "username",
|
|
397560
397639
|
"required": true,
|
|
397561
397640
|
"type": "string"
|
|
397562
|
-
},
|
|
397563
|
-
{
|
|
397564
|
-
"description": "Base time in seconds",
|
|
397565
|
-
"in": "path",
|
|
397566
|
-
"name": "base_time",
|
|
397567
|
-
"required": true,
|
|
397568
|
-
"type": "integer"
|
|
397569
397641
|
}
|
|
397570
397642
|
],
|
|
397571
397643
|
"produces": [
|
|
@@ -397620,19 +397692,19 @@
|
|
|
397620
397692
|
"ApiKeyAuth": []
|
|
397621
397693
|
}
|
|
397622
397694
|
],
|
|
397623
|
-
"summary": "Get
|
|
397695
|
+
"summary": "Get a player’s current Daily Chess games",
|
|
397624
397696
|
"tags": [
|
|
397625
397697
|
"Chess.com"
|
|
397626
397698
|
]
|
|
397627
397699
|
}
|
|
397628
397700
|
},
|
|
397629
|
-
"/chesscom/player/{username}/games/
|
|
397701
|
+
"/chesscom/player/{username}/games/archive/{year}/{month}": {
|
|
397630
397702
|
"get": {
|
|
397631
397703
|
"consumes": [
|
|
397632
397704
|
"application/json"
|
|
397633
397705
|
],
|
|
397634
|
-
"description": "Returns one source-native
|
|
397635
|
-
"operationId": "chesscom-player-
|
|
397706
|
+
"description": "Returns one source-native archive for the caller-selected player, year and month. This standalone service is not affiliated with Chess.com. Do not use these results for AI model training or dataset creation.",
|
|
397707
|
+
"operationId": "chesscom-player-game-month",
|
|
397636
397708
|
"parameters": [
|
|
397637
397709
|
{
|
|
397638
397710
|
"description": "Chess.com username",
|
|
@@ -397642,18 +397714,18 @@
|
|
|
397642
397714
|
"type": "string"
|
|
397643
397715
|
},
|
|
397644
397716
|
{
|
|
397645
|
-
"description": "
|
|
397717
|
+
"description": "Four-digit game-end year",
|
|
397646
397718
|
"in": "path",
|
|
397647
|
-
"name": "
|
|
397719
|
+
"name": "year",
|
|
397648
397720
|
"required": true,
|
|
397649
|
-
"type": "
|
|
397721
|
+
"type": "string"
|
|
397650
397722
|
},
|
|
397651
397723
|
{
|
|
397652
|
-
"description": "
|
|
397724
|
+
"description": "Game-end month, 1 through 12",
|
|
397653
397725
|
"in": "path",
|
|
397654
|
-
"name": "
|
|
397726
|
+
"name": "month",
|
|
397655
397727
|
"required": true,
|
|
397656
|
-
"type": "
|
|
397728
|
+
"type": "string"
|
|
397657
397729
|
}
|
|
397658
397730
|
],
|
|
397659
397731
|
"produces": [
|
|
@@ -397708,19 +397780,19 @@
|
|
|
397708
397780
|
"ApiKeyAuth": []
|
|
397709
397781
|
}
|
|
397710
397782
|
],
|
|
397711
|
-
"summary": "Get
|
|
397783
|
+
"summary": "Get a monthly player game archive",
|
|
397712
397784
|
"tags": [
|
|
397713
397785
|
"Chess.com"
|
|
397714
397786
|
]
|
|
397715
397787
|
}
|
|
397716
397788
|
},
|
|
397717
|
-
"/chesscom/player/{username}/games/
|
|
397789
|
+
"/chesscom/player/{username}/games/archive/{year}/{month}/pgn": {
|
|
397718
397790
|
"get": {
|
|
397719
397791
|
"consumes": [
|
|
397720
397792
|
"application/json"
|
|
397721
397793
|
],
|
|
397722
|
-
"description": "Returns
|
|
397723
|
-
"operationId": "chesscom-player-
|
|
397794
|
+
"description": "Returns one source-native PGN download for a caller-selected player, year and month. It does not walk other archive months. This standalone service is not affiliated with Chess.com. Do not use these results for AI model training or dataset creation.",
|
|
397795
|
+
"operationId": "chesscom-player-game-month-pgn",
|
|
397724
397796
|
"parameters": [
|
|
397725
397797
|
{
|
|
397726
397798
|
"description": "Chess.com username",
|
|
@@ -397728,6 +397800,20 @@
|
|
|
397728
397800
|
"name": "username",
|
|
397729
397801
|
"required": true,
|
|
397730
397802
|
"type": "string"
|
|
397803
|
+
},
|
|
397804
|
+
{
|
|
397805
|
+
"description": "Four-digit game-end year",
|
|
397806
|
+
"in": "path",
|
|
397807
|
+
"name": "year",
|
|
397808
|
+
"required": true,
|
|
397809
|
+
"type": "string"
|
|
397810
|
+
},
|
|
397811
|
+
{
|
|
397812
|
+
"description": "Game-end month, 1 through 12",
|
|
397813
|
+
"in": "path",
|
|
397814
|
+
"name": "month",
|
|
397815
|
+
"required": true,
|
|
397816
|
+
"type": "string"
|
|
397731
397817
|
}
|
|
397732
397818
|
],
|
|
397733
397819
|
"produces": [
|
|
@@ -397744,7 +397830,7 @@
|
|
|
397744
397830
|
{
|
|
397745
397831
|
"properties": {
|
|
397746
397832
|
"data": {
|
|
397747
|
-
"$ref": "#/definitions/chesscom.
|
|
397833
|
+
"$ref": "#/definitions/chesscom.PublicPGNResponse"
|
|
397748
397834
|
}
|
|
397749
397835
|
},
|
|
397750
397836
|
"type": "object"
|
|
@@ -397782,19 +397868,19 @@
|
|
|
397782
397868
|
"ApiKeyAuth": []
|
|
397783
397869
|
}
|
|
397784
397870
|
],
|
|
397785
|
-
"summary": "Get a
|
|
397871
|
+
"summary": "Get a monthly PGN game archive",
|
|
397786
397872
|
"tags": [
|
|
397787
397873
|
"Chess.com"
|
|
397788
397874
|
]
|
|
397789
397875
|
}
|
|
397790
397876
|
},
|
|
397791
|
-
"/chesscom/player/{username}/
|
|
397877
|
+
"/chesscom/player/{username}/games/archives": {
|
|
397792
397878
|
"get": {
|
|
397793
397879
|
"consumes": [
|
|
397794
397880
|
"application/json"
|
|
397795
397881
|
],
|
|
397796
|
-
"description": "Returns the
|
|
397797
|
-
"operationId": "chesscom-player-
|
|
397882
|
+
"description": "Returns the monthly archive URLs Chess.com publishes for one caller-selected player. The route does not follow or collect those archives. This standalone service is not affiliated with Chess.com. Do not use these results for AI model training or dataset creation.",
|
|
397883
|
+
"operationId": "chesscom-player-game-archives",
|
|
397798
397884
|
"parameters": [
|
|
397799
397885
|
{
|
|
397800
397886
|
"description": "Chess.com username",
|
|
@@ -397856,19 +397942,19 @@
|
|
|
397856
397942
|
"ApiKeyAuth": []
|
|
397857
397943
|
}
|
|
397858
397944
|
],
|
|
397859
|
-
"summary": "
|
|
397945
|
+
"summary": "List a player’s monthly game archives",
|
|
397860
397946
|
"tags": [
|
|
397861
397947
|
"Chess.com"
|
|
397862
397948
|
]
|
|
397863
397949
|
}
|
|
397864
397950
|
},
|
|
397865
|
-
"/chesscom/player/{username}/
|
|
397951
|
+
"/chesscom/player/{username}/games/live/{base_time}": {
|
|
397866
397952
|
"get": {
|
|
397867
397953
|
"consumes": [
|
|
397868
397954
|
"application/json"
|
|
397869
397955
|
],
|
|
397870
|
-
"description": "Returns finished
|
|
397871
|
-
"operationId": "chesscom-player-
|
|
397956
|
+
"description": "Returns one source-native finished live-game archive using the documented path variant where increment is omitted. This standalone service is not affiliated with Chess.com. Do not use these results for AI model training or dataset creation.",
|
|
397957
|
+
"operationId": "chesscom-player-live-games-base-time",
|
|
397872
397958
|
"parameters": [
|
|
397873
397959
|
{
|
|
397874
397960
|
"description": "Chess.com username",
|
|
@@ -397876,6 +397962,13 @@
|
|
|
397876
397962
|
"name": "username",
|
|
397877
397963
|
"required": true,
|
|
397878
397964
|
"type": "string"
|
|
397965
|
+
},
|
|
397966
|
+
{
|
|
397967
|
+
"description": "Base time in seconds",
|
|
397968
|
+
"in": "path",
|
|
397969
|
+
"name": "base_time",
|
|
397970
|
+
"required": true,
|
|
397971
|
+
"type": "integer"
|
|
397879
397972
|
}
|
|
397880
397973
|
],
|
|
397881
397974
|
"produces": [
|
|
@@ -397930,19 +398023,19 @@
|
|
|
397930
398023
|
"ApiKeyAuth": []
|
|
397931
398024
|
}
|
|
397932
398025
|
],
|
|
397933
|
-
"summary": "Get
|
|
398026
|
+
"summary": "Get live games by base time",
|
|
397934
398027
|
"tags": [
|
|
397935
398028
|
"Chess.com"
|
|
397936
398029
|
]
|
|
397937
398030
|
}
|
|
397938
398031
|
},
|
|
397939
|
-
"/chesscom/player/{username}/
|
|
398032
|
+
"/chesscom/player/{username}/games/live/{base_time}/{increment}": {
|
|
397940
398033
|
"get": {
|
|
397941
398034
|
"consumes": [
|
|
397942
398035
|
"application/json"
|
|
397943
398036
|
],
|
|
397944
|
-
"description": "Returns
|
|
397945
|
-
"operationId": "chesscom-player-
|
|
398037
|
+
"description": "Returns one source-native finished live-game archive for the caller-selected player and base-time/increment pair. This standalone service is not affiliated with Chess.com. Do not use these results for AI model training or dataset creation.",
|
|
398038
|
+
"operationId": "chesscom-player-live-games",
|
|
397946
398039
|
"parameters": [
|
|
397947
398040
|
{
|
|
397948
398041
|
"description": "Chess.com username",
|
|
@@ -397950,6 +398043,20 @@
|
|
|
397950
398043
|
"name": "username",
|
|
397951
398044
|
"required": true,
|
|
397952
398045
|
"type": "string"
|
|
398046
|
+
},
|
|
398047
|
+
{
|
|
398048
|
+
"description": "Base time in seconds",
|
|
398049
|
+
"in": "path",
|
|
398050
|
+
"name": "base_time",
|
|
398051
|
+
"required": true,
|
|
398052
|
+
"type": "integer"
|
|
398053
|
+
},
|
|
398054
|
+
{
|
|
398055
|
+
"description": "Increment in seconds",
|
|
398056
|
+
"in": "path",
|
|
398057
|
+
"name": "increment",
|
|
398058
|
+
"required": true,
|
|
398059
|
+
"type": "integer"
|
|
397953
398060
|
}
|
|
397954
398061
|
],
|
|
397955
398062
|
"produces": [
|
|
@@ -398004,19 +398111,19 @@
|
|
|
398004
398111
|
"ApiKeyAuth": []
|
|
398005
398112
|
}
|
|
398006
398113
|
],
|
|
398007
|
-
"summary": "Get
|
|
398114
|
+
"summary": "Get live games by time control",
|
|
398008
398115
|
"tags": [
|
|
398009
398116
|
"Chess.com"
|
|
398010
398117
|
]
|
|
398011
398118
|
}
|
|
398012
398119
|
},
|
|
398013
|
-
"/chesscom/player/{username}/
|
|
398120
|
+
"/chesscom/player/{username}/games/to-move": {
|
|
398014
398121
|
"get": {
|
|
398015
398122
|
"consumes": [
|
|
398016
398123
|
"application/json"
|
|
398017
398124
|
],
|
|
398018
|
-
"description": "Returns
|
|
398019
|
-
"operationId": "chesscom-player-
|
|
398125
|
+
"description": "Returns the source list of Daily Chess games where one caller-selected player is expected to move. This standalone service is not affiliated with Chess.com. Do not use these results for AI model training or dataset creation.",
|
|
398126
|
+
"operationId": "chesscom-player-games-to-move",
|
|
398020
398127
|
"parameters": [
|
|
398021
398128
|
{
|
|
398022
398129
|
"description": "Chess.com username",
|
|
@@ -398078,130 +398185,572 @@
|
|
|
398078
398185
|
"ApiKeyAuth": []
|
|
398079
398186
|
}
|
|
398080
398187
|
],
|
|
398081
|
-
"summary": "Get a player’s
|
|
398082
|
-
"tags": [
|
|
398083
|
-
"Chess.com"
|
|
398084
|
-
]
|
|
398085
|
-
}
|
|
398086
|
-
},
|
|
398087
|
-
"/chesscom/puzzle": {
|
|
398088
|
-
"get": {
|
|
398089
|
-
"consumes": [
|
|
398090
|
-
"application/json"
|
|
398091
|
-
],
|
|
398092
|
-
"description": "Returns the current public Chess.com puzzle, including its source page link, publish time, FEN and the source PGN including its header tags. It uses the read-only Published-Data API and does not request player/account data. This independent service is not affiliated with Chess.com.",
|
|
398093
|
-
"operationId": "chesscom-puzzle",
|
|
398094
|
-
"produces": [
|
|
398095
|
-
"application/json"
|
|
398096
|
-
],
|
|
398097
|
-
"responses": {
|
|
398098
|
-
"200": {
|
|
398099
|
-
"description": "OK",
|
|
398100
|
-
"schema": {
|
|
398101
|
-
"allOf": [
|
|
398102
|
-
{
|
|
398103
|
-
"$ref": "#/definitions/app.Response"
|
|
398104
|
-
},
|
|
398105
|
-
{
|
|
398106
|
-
"properties": {
|
|
398107
|
-
"data": {
|
|
398108
|
-
"$ref": "#/definitions/chesscom.PuzzleResponse"
|
|
398109
|
-
}
|
|
398110
|
-
},
|
|
398111
|
-
"type": "object"
|
|
398112
|
-
}
|
|
398113
|
-
]
|
|
398114
|
-
}
|
|
398115
|
-
},
|
|
398116
|
-
"429": {
|
|
398117
|
-
"description": "Too Many Requests",
|
|
398118
|
-
"schema": {
|
|
398119
|
-
"$ref": "#/definitions/app.Response"
|
|
398120
|
-
}
|
|
398121
|
-
},
|
|
398122
|
-
"503": {
|
|
398123
|
-
"description": "Service Unavailable",
|
|
398124
|
-
"schema": {
|
|
398125
|
-
"$ref": "#/definitions/app.Response"
|
|
398126
|
-
}
|
|
398127
|
-
}
|
|
398128
|
-
},
|
|
398129
|
-
"security": [
|
|
398130
|
-
{
|
|
398131
|
-
"ApiKeyAuth": []
|
|
398132
|
-
}
|
|
398133
|
-
],
|
|
398134
|
-
"summary": "Chess.com daily puzzle",
|
|
398135
|
-
"tags": [
|
|
398136
|
-
"Chess.com"
|
|
398137
|
-
]
|
|
398138
|
-
}
|
|
398139
|
-
},
|
|
398140
|
-
"/chesscom/puzzle/random": {
|
|
398141
|
-
"get": {
|
|
398142
|
-
"consumes": [
|
|
398143
|
-
"application/json"
|
|
398144
|
-
],
|
|
398145
|
-
"description": "Returns one random public Chess.com daily puzzle using the upstream /pub/puzzle/random resource. The upstream may cache its random choice briefly. No player/account data is requested. This independent service is not affiliated with Chess.com.",
|
|
398146
|
-
"operationId": "chesscom-puzzle-random",
|
|
398147
|
-
"produces": [
|
|
398148
|
-
"application/json"
|
|
398149
|
-
],
|
|
398150
|
-
"responses": {
|
|
398151
|
-
"200": {
|
|
398152
|
-
"description": "OK",
|
|
398153
|
-
"schema": {
|
|
398154
|
-
"allOf": [
|
|
398155
|
-
{
|
|
398156
|
-
"$ref": "#/definitions/app.Response"
|
|
398157
|
-
},
|
|
398158
|
-
{
|
|
398159
|
-
"properties": {
|
|
398160
|
-
"data": {
|
|
398161
|
-
"$ref": "#/definitions/chesscom.PuzzleResponse"
|
|
398162
|
-
}
|
|
398163
|
-
},
|
|
398164
|
-
"type": "object"
|
|
398165
|
-
}
|
|
398166
|
-
]
|
|
398167
|
-
}
|
|
398168
|
-
},
|
|
398169
|
-
"429": {
|
|
398170
|
-
"description": "Too Many Requests",
|
|
398171
|
-
"schema": {
|
|
398172
|
-
"$ref": "#/definitions/app.Response"
|
|
398173
|
-
}
|
|
398174
|
-
},
|
|
398175
|
-
"503": {
|
|
398176
|
-
"description": "Service Unavailable",
|
|
398177
|
-
"schema": {
|
|
398178
|
-
"$ref": "#/definitions/app.Response"
|
|
398179
|
-
}
|
|
398180
|
-
}
|
|
398181
|
-
},
|
|
398182
|
-
"security": [
|
|
398183
|
-
{
|
|
398184
|
-
"ApiKeyAuth": []
|
|
398185
|
-
}
|
|
398186
|
-
],
|
|
398187
|
-
"summary": "Chess.com random daily puzzle",
|
|
398188
|
+
"summary": "Get a player’s Daily Chess games to move",
|
|
398188
398189
|
"tags": [
|
|
398189
398190
|
"Chess.com"
|
|
398190
398191
|
]
|
|
398191
398192
|
}
|
|
398192
398193
|
},
|
|
398193
|
-
"/chesscom/
|
|
398194
|
+
"/chesscom/player/{username}/is-online": {
|
|
398194
398195
|
"get": {
|
|
398195
398196
|
"consumes": [
|
|
398196
398197
|
"application/json"
|
|
398197
398198
|
],
|
|
398198
|
-
"description": "Returns
|
|
398199
|
-
"operationId": "chesscom-
|
|
398199
|
+
"description": "Returns the documented five-minute online-status value for one caller-selected player; it is a point-in-time source value, not history. This standalone service is not affiliated with Chess.com. Do not use these results for AI model training or dataset creation.",
|
|
398200
|
+
"operationId": "chesscom-player-is-online",
|
|
398200
398201
|
"parameters": [
|
|
398201
398202
|
{
|
|
398202
|
-
"description": "Chess.com
|
|
398203
|
+
"description": "Chess.com username",
|
|
398203
398204
|
"in": "path",
|
|
398204
|
-
"name": "
|
|
398205
|
+
"name": "username",
|
|
398206
|
+
"required": true,
|
|
398207
|
+
"type": "string"
|
|
398208
|
+
}
|
|
398209
|
+
],
|
|
398210
|
+
"produces": [
|
|
398211
|
+
"application/json"
|
|
398212
|
+
],
|
|
398213
|
+
"responses": {
|
|
398214
|
+
"200": {
|
|
398215
|
+
"description": "OK",
|
|
398216
|
+
"schema": {
|
|
398217
|
+
"allOf": [
|
|
398218
|
+
{
|
|
398219
|
+
"$ref": "#/definitions/app.Response"
|
|
398220
|
+
},
|
|
398221
|
+
{
|
|
398222
|
+
"properties": {
|
|
398223
|
+
"data": {
|
|
398224
|
+
"$ref": "#/definitions/chesscom.PublicDataResponse"
|
|
398225
|
+
}
|
|
398226
|
+
},
|
|
398227
|
+
"type": "object"
|
|
398228
|
+
}
|
|
398229
|
+
]
|
|
398230
|
+
}
|
|
398231
|
+
},
|
|
398232
|
+
"400": {
|
|
398233
|
+
"description": "Bad Request",
|
|
398234
|
+
"schema": {
|
|
398235
|
+
"$ref": "#/definitions/app.Response"
|
|
398236
|
+
}
|
|
398237
|
+
},
|
|
398238
|
+
"404": {
|
|
398239
|
+
"description": "Not Found",
|
|
398240
|
+
"schema": {
|
|
398241
|
+
"$ref": "#/definitions/app.Response"
|
|
398242
|
+
}
|
|
398243
|
+
},
|
|
398244
|
+
"429": {
|
|
398245
|
+
"description": "Too Many Requests",
|
|
398246
|
+
"schema": {
|
|
398247
|
+
"$ref": "#/definitions/app.Response"
|
|
398248
|
+
}
|
|
398249
|
+
},
|
|
398250
|
+
"503": {
|
|
398251
|
+
"description": "Service Unavailable",
|
|
398252
|
+
"schema": {
|
|
398253
|
+
"$ref": "#/definitions/app.Response"
|
|
398254
|
+
}
|
|
398255
|
+
}
|
|
398256
|
+
},
|
|
398257
|
+
"security": [
|
|
398258
|
+
{
|
|
398259
|
+
"ApiKeyAuth": []
|
|
398260
|
+
}
|
|
398261
|
+
],
|
|
398262
|
+
"summary": "Get Chess.com player online status",
|
|
398263
|
+
"tags": [
|
|
398264
|
+
"Chess.com"
|
|
398265
|
+
]
|
|
398266
|
+
}
|
|
398267
|
+
},
|
|
398268
|
+
"/chesscom/player/{username}/matches": {
|
|
398269
|
+
"get": {
|
|
398270
|
+
"consumes": [
|
|
398271
|
+
"application/json"
|
|
398272
|
+
],
|
|
398273
|
+
"description": "Returns finished, in-progress and registered team-match records for one caller-selected player. This standalone service is not affiliated with Chess.com. Do not use these results for AI model training or dataset creation.",
|
|
398274
|
+
"operationId": "chesscom-player-matches",
|
|
398275
|
+
"parameters": [
|
|
398276
|
+
{
|
|
398277
|
+
"description": "Chess.com username",
|
|
398278
|
+
"in": "path",
|
|
398279
|
+
"name": "username",
|
|
398280
|
+
"required": true,
|
|
398281
|
+
"type": "string"
|
|
398282
|
+
}
|
|
398283
|
+
],
|
|
398284
|
+
"produces": [
|
|
398285
|
+
"application/json"
|
|
398286
|
+
],
|
|
398287
|
+
"responses": {
|
|
398288
|
+
"200": {
|
|
398289
|
+
"description": "OK",
|
|
398290
|
+
"schema": {
|
|
398291
|
+
"allOf": [
|
|
398292
|
+
{
|
|
398293
|
+
"$ref": "#/definitions/app.Response"
|
|
398294
|
+
},
|
|
398295
|
+
{
|
|
398296
|
+
"properties": {
|
|
398297
|
+
"data": {
|
|
398298
|
+
"$ref": "#/definitions/chesscom.PublicDataResponse"
|
|
398299
|
+
}
|
|
398300
|
+
},
|
|
398301
|
+
"type": "object"
|
|
398302
|
+
}
|
|
398303
|
+
]
|
|
398304
|
+
}
|
|
398305
|
+
},
|
|
398306
|
+
"400": {
|
|
398307
|
+
"description": "Bad Request",
|
|
398308
|
+
"schema": {
|
|
398309
|
+
"$ref": "#/definitions/app.Response"
|
|
398310
|
+
}
|
|
398311
|
+
},
|
|
398312
|
+
"404": {
|
|
398313
|
+
"description": "Not Found",
|
|
398314
|
+
"schema": {
|
|
398315
|
+
"$ref": "#/definitions/app.Response"
|
|
398316
|
+
}
|
|
398317
|
+
},
|
|
398318
|
+
"429": {
|
|
398319
|
+
"description": "Too Many Requests",
|
|
398320
|
+
"schema": {
|
|
398321
|
+
"$ref": "#/definitions/app.Response"
|
|
398322
|
+
}
|
|
398323
|
+
},
|
|
398324
|
+
"503": {
|
|
398325
|
+
"description": "Service Unavailable",
|
|
398326
|
+
"schema": {
|
|
398327
|
+
"$ref": "#/definitions/app.Response"
|
|
398328
|
+
}
|
|
398329
|
+
}
|
|
398330
|
+
},
|
|
398331
|
+
"security": [
|
|
398332
|
+
{
|
|
398333
|
+
"ApiKeyAuth": []
|
|
398334
|
+
}
|
|
398335
|
+
],
|
|
398336
|
+
"summary": "Get a player’s team-match records",
|
|
398337
|
+
"tags": [
|
|
398338
|
+
"Chess.com"
|
|
398339
|
+
]
|
|
398340
|
+
}
|
|
398341
|
+
},
|
|
398342
|
+
"/chesscom/player/{username}/stats": {
|
|
398343
|
+
"get": {
|
|
398344
|
+
"consumes": [
|
|
398345
|
+
"application/json"
|
|
398346
|
+
],
|
|
398347
|
+
"description": "Returns ratings, records, tactics, lessons and Puzzle Rush statistics published for one caller-selected player. This standalone service is not affiliated with Chess.com. Do not use these results for AI model training or dataset creation.",
|
|
398348
|
+
"operationId": "chesscom-player-stats",
|
|
398349
|
+
"parameters": [
|
|
398350
|
+
{
|
|
398351
|
+
"description": "Chess.com username",
|
|
398352
|
+
"in": "path",
|
|
398353
|
+
"name": "username",
|
|
398354
|
+
"required": true,
|
|
398355
|
+
"type": "string"
|
|
398356
|
+
}
|
|
398357
|
+
],
|
|
398358
|
+
"produces": [
|
|
398359
|
+
"application/json"
|
|
398360
|
+
],
|
|
398361
|
+
"responses": {
|
|
398362
|
+
"200": {
|
|
398363
|
+
"description": "OK",
|
|
398364
|
+
"schema": {
|
|
398365
|
+
"allOf": [
|
|
398366
|
+
{
|
|
398367
|
+
"$ref": "#/definitions/app.Response"
|
|
398368
|
+
},
|
|
398369
|
+
{
|
|
398370
|
+
"properties": {
|
|
398371
|
+
"data": {
|
|
398372
|
+
"$ref": "#/definitions/chesscom.PublicDataResponse"
|
|
398373
|
+
}
|
|
398374
|
+
},
|
|
398375
|
+
"type": "object"
|
|
398376
|
+
}
|
|
398377
|
+
]
|
|
398378
|
+
}
|
|
398379
|
+
},
|
|
398380
|
+
"400": {
|
|
398381
|
+
"description": "Bad Request",
|
|
398382
|
+
"schema": {
|
|
398383
|
+
"$ref": "#/definitions/app.Response"
|
|
398384
|
+
}
|
|
398385
|
+
},
|
|
398386
|
+
"404": {
|
|
398387
|
+
"description": "Not Found",
|
|
398388
|
+
"schema": {
|
|
398389
|
+
"$ref": "#/definitions/app.Response"
|
|
398390
|
+
}
|
|
398391
|
+
},
|
|
398392
|
+
"429": {
|
|
398393
|
+
"description": "Too Many Requests",
|
|
398394
|
+
"schema": {
|
|
398395
|
+
"$ref": "#/definitions/app.Response"
|
|
398396
|
+
}
|
|
398397
|
+
},
|
|
398398
|
+
"503": {
|
|
398399
|
+
"description": "Service Unavailable",
|
|
398400
|
+
"schema": {
|
|
398401
|
+
"$ref": "#/definitions/app.Response"
|
|
398402
|
+
}
|
|
398403
|
+
}
|
|
398404
|
+
},
|
|
398405
|
+
"security": [
|
|
398406
|
+
{
|
|
398407
|
+
"ApiKeyAuth": []
|
|
398408
|
+
}
|
|
398409
|
+
],
|
|
398410
|
+
"summary": "Get Chess.com player statistics",
|
|
398411
|
+
"tags": [
|
|
398412
|
+
"Chess.com"
|
|
398413
|
+
]
|
|
398414
|
+
}
|
|
398415
|
+
},
|
|
398416
|
+
"/chesscom/player/{username}/tournaments": {
|
|
398417
|
+
"get": {
|
|
398418
|
+
"consumes": [
|
|
398419
|
+
"application/json"
|
|
398420
|
+
],
|
|
398421
|
+
"description": "Returns finished, in-progress and registered tournament records for one caller-selected player. This standalone service is not affiliated with Chess.com. Do not use these results for AI model training or dataset creation.",
|
|
398422
|
+
"operationId": "chesscom-player-tournaments",
|
|
398423
|
+
"parameters": [
|
|
398424
|
+
{
|
|
398425
|
+
"description": "Chess.com username",
|
|
398426
|
+
"in": "path",
|
|
398427
|
+
"name": "username",
|
|
398428
|
+
"required": true,
|
|
398429
|
+
"type": "string"
|
|
398430
|
+
}
|
|
398431
|
+
],
|
|
398432
|
+
"produces": [
|
|
398433
|
+
"application/json"
|
|
398434
|
+
],
|
|
398435
|
+
"responses": {
|
|
398436
|
+
"200": {
|
|
398437
|
+
"description": "OK",
|
|
398438
|
+
"schema": {
|
|
398439
|
+
"allOf": [
|
|
398440
|
+
{
|
|
398441
|
+
"$ref": "#/definitions/app.Response"
|
|
398442
|
+
},
|
|
398443
|
+
{
|
|
398444
|
+
"properties": {
|
|
398445
|
+
"data": {
|
|
398446
|
+
"$ref": "#/definitions/chesscom.PublicDataResponse"
|
|
398447
|
+
}
|
|
398448
|
+
},
|
|
398449
|
+
"type": "object"
|
|
398450
|
+
}
|
|
398451
|
+
]
|
|
398452
|
+
}
|
|
398453
|
+
},
|
|
398454
|
+
"400": {
|
|
398455
|
+
"description": "Bad Request",
|
|
398456
|
+
"schema": {
|
|
398457
|
+
"$ref": "#/definitions/app.Response"
|
|
398458
|
+
}
|
|
398459
|
+
},
|
|
398460
|
+
"404": {
|
|
398461
|
+
"description": "Not Found",
|
|
398462
|
+
"schema": {
|
|
398463
|
+
"$ref": "#/definitions/app.Response"
|
|
398464
|
+
}
|
|
398465
|
+
},
|
|
398466
|
+
"429": {
|
|
398467
|
+
"description": "Too Many Requests",
|
|
398468
|
+
"schema": {
|
|
398469
|
+
"$ref": "#/definitions/app.Response"
|
|
398470
|
+
}
|
|
398471
|
+
},
|
|
398472
|
+
"503": {
|
|
398473
|
+
"description": "Service Unavailable",
|
|
398474
|
+
"schema": {
|
|
398475
|
+
"$ref": "#/definitions/app.Response"
|
|
398476
|
+
}
|
|
398477
|
+
}
|
|
398478
|
+
},
|
|
398479
|
+
"security": [
|
|
398480
|
+
{
|
|
398481
|
+
"ApiKeyAuth": []
|
|
398482
|
+
}
|
|
398483
|
+
],
|
|
398484
|
+
"summary": "Get a player’s tournament records",
|
|
398485
|
+
"tags": [
|
|
398486
|
+
"Chess.com"
|
|
398487
|
+
]
|
|
398488
|
+
}
|
|
398489
|
+
},
|
|
398490
|
+
"/chesscom/puzzle": {
|
|
398491
|
+
"get": {
|
|
398492
|
+
"consumes": [
|
|
398493
|
+
"application/json"
|
|
398494
|
+
],
|
|
398495
|
+
"description": "Returns the current public Chess.com puzzle, including its source page link, publish time, FEN and the source PGN including its header tags. It uses the read-only Published-Data API and does not request player/account data. This independent service is not affiliated with Chess.com.",
|
|
398496
|
+
"operationId": "chesscom-puzzle",
|
|
398497
|
+
"produces": [
|
|
398498
|
+
"application/json"
|
|
398499
|
+
],
|
|
398500
|
+
"responses": {
|
|
398501
|
+
"200": {
|
|
398502
|
+
"description": "OK",
|
|
398503
|
+
"schema": {
|
|
398504
|
+
"allOf": [
|
|
398505
|
+
{
|
|
398506
|
+
"$ref": "#/definitions/app.Response"
|
|
398507
|
+
},
|
|
398508
|
+
{
|
|
398509
|
+
"properties": {
|
|
398510
|
+
"data": {
|
|
398511
|
+
"$ref": "#/definitions/chesscom.PuzzleResponse"
|
|
398512
|
+
}
|
|
398513
|
+
},
|
|
398514
|
+
"type": "object"
|
|
398515
|
+
}
|
|
398516
|
+
]
|
|
398517
|
+
}
|
|
398518
|
+
},
|
|
398519
|
+
"429": {
|
|
398520
|
+
"description": "Too Many Requests",
|
|
398521
|
+
"schema": {
|
|
398522
|
+
"$ref": "#/definitions/app.Response"
|
|
398523
|
+
}
|
|
398524
|
+
},
|
|
398525
|
+
"503": {
|
|
398526
|
+
"description": "Service Unavailable",
|
|
398527
|
+
"schema": {
|
|
398528
|
+
"$ref": "#/definitions/app.Response"
|
|
398529
|
+
}
|
|
398530
|
+
}
|
|
398531
|
+
},
|
|
398532
|
+
"security": [
|
|
398533
|
+
{
|
|
398534
|
+
"ApiKeyAuth": []
|
|
398535
|
+
}
|
|
398536
|
+
],
|
|
398537
|
+
"summary": "Chess.com daily puzzle",
|
|
398538
|
+
"tags": [
|
|
398539
|
+
"Chess.com"
|
|
398540
|
+
]
|
|
398541
|
+
}
|
|
398542
|
+
},
|
|
398543
|
+
"/chesscom/puzzle/random": {
|
|
398544
|
+
"get": {
|
|
398545
|
+
"consumes": [
|
|
398546
|
+
"application/json"
|
|
398547
|
+
],
|
|
398548
|
+
"description": "Returns one random public Chess.com daily puzzle using the upstream /pub/puzzle/random resource. The upstream may cache its random choice briefly. No player/account data is requested. This independent service is not affiliated with Chess.com.",
|
|
398549
|
+
"operationId": "chesscom-puzzle-random",
|
|
398550
|
+
"produces": [
|
|
398551
|
+
"application/json"
|
|
398552
|
+
],
|
|
398553
|
+
"responses": {
|
|
398554
|
+
"200": {
|
|
398555
|
+
"description": "OK",
|
|
398556
|
+
"schema": {
|
|
398557
|
+
"allOf": [
|
|
398558
|
+
{
|
|
398559
|
+
"$ref": "#/definitions/app.Response"
|
|
398560
|
+
},
|
|
398561
|
+
{
|
|
398562
|
+
"properties": {
|
|
398563
|
+
"data": {
|
|
398564
|
+
"$ref": "#/definitions/chesscom.PuzzleResponse"
|
|
398565
|
+
}
|
|
398566
|
+
},
|
|
398567
|
+
"type": "object"
|
|
398568
|
+
}
|
|
398569
|
+
]
|
|
398570
|
+
}
|
|
398571
|
+
},
|
|
398572
|
+
"429": {
|
|
398573
|
+
"description": "Too Many Requests",
|
|
398574
|
+
"schema": {
|
|
398575
|
+
"$ref": "#/definitions/app.Response"
|
|
398576
|
+
}
|
|
398577
|
+
},
|
|
398578
|
+
"503": {
|
|
398579
|
+
"description": "Service Unavailable",
|
|
398580
|
+
"schema": {
|
|
398581
|
+
"$ref": "#/definitions/app.Response"
|
|
398582
|
+
}
|
|
398583
|
+
}
|
|
398584
|
+
},
|
|
398585
|
+
"security": [
|
|
398586
|
+
{
|
|
398587
|
+
"ApiKeyAuth": []
|
|
398588
|
+
}
|
|
398589
|
+
],
|
|
398590
|
+
"summary": "Chess.com random daily puzzle",
|
|
398591
|
+
"tags": [
|
|
398592
|
+
"Chess.com"
|
|
398593
|
+
]
|
|
398594
|
+
}
|
|
398595
|
+
},
|
|
398596
|
+
"/chesscom/streamers": {
|
|
398597
|
+
"get": {
|
|
398598
|
+
"consumes": [
|
|
398599
|
+
"application/json"
|
|
398600
|
+
],
|
|
398601
|
+
"description": "Returns the Chess.com streamer directory with every published field: username, avatar, profile URL, Twitch URL, live flag, community-streamer flag and per-platform stream and channel URLs. The response is about 235 KB. This standalone service is not affiliated with Chess.com. Do not use these results for AI model training or dataset creation.",
|
|
398602
|
+
"operationId": "chesscom-streamers",
|
|
398603
|
+
"produces": [
|
|
398604
|
+
"application/json"
|
|
398605
|
+
],
|
|
398606
|
+
"responses": {
|
|
398607
|
+
"200": {
|
|
398608
|
+
"description": "OK",
|
|
398609
|
+
"schema": {
|
|
398610
|
+
"allOf": [
|
|
398611
|
+
{
|
|
398612
|
+
"$ref": "#/definitions/app.Response"
|
|
398613
|
+
},
|
|
398614
|
+
{
|
|
398615
|
+
"properties": {
|
|
398616
|
+
"data": {
|
|
398617
|
+
"$ref": "#/definitions/chesscom.PublicDataResponse"
|
|
398618
|
+
}
|
|
398619
|
+
},
|
|
398620
|
+
"type": "object"
|
|
398621
|
+
}
|
|
398622
|
+
]
|
|
398623
|
+
}
|
|
398624
|
+
},
|
|
398625
|
+
"404": {
|
|
398626
|
+
"description": "Not Found",
|
|
398627
|
+
"schema": {
|
|
398628
|
+
"$ref": "#/definitions/app.Response"
|
|
398629
|
+
}
|
|
398630
|
+
},
|
|
398631
|
+
"429": {
|
|
398632
|
+
"description": "Too Many Requests",
|
|
398633
|
+
"schema": {
|
|
398634
|
+
"$ref": "#/definitions/app.Response"
|
|
398635
|
+
}
|
|
398636
|
+
},
|
|
398637
|
+
"503": {
|
|
398638
|
+
"description": "Service Unavailable",
|
|
398639
|
+
"schema": {
|
|
398640
|
+
"$ref": "#/definitions/app.Response"
|
|
398641
|
+
}
|
|
398642
|
+
}
|
|
398643
|
+
},
|
|
398644
|
+
"security": [
|
|
398645
|
+
{
|
|
398646
|
+
"ApiKeyAuth": []
|
|
398647
|
+
}
|
|
398648
|
+
],
|
|
398649
|
+
"summary": "List Chess.com streamers",
|
|
398650
|
+
"tags": [
|
|
398651
|
+
"Chess.com"
|
|
398652
|
+
]
|
|
398653
|
+
}
|
|
398654
|
+
},
|
|
398655
|
+
"/chesscom/titled/{title}": {
|
|
398656
|
+
"get": {
|
|
398657
|
+
"consumes": [
|
|
398658
|
+
"application/json"
|
|
398659
|
+
],
|
|
398660
|
+
"description": "Returns the usernames of every Chess.com account holding one title (GM, WGM, IM, WIM, FM, WFM, NM, WNM, CM or WCM). Feed a username to the player routes for its profile. This standalone service is not affiliated with Chess.com. Do not use these results for AI model training or dataset creation.",
|
|
398661
|
+
"operationId": "chesscom-titled",
|
|
398662
|
+
"parameters": [
|
|
398663
|
+
{
|
|
398664
|
+
"description": "Chess.com title; values are listed by /chesscom/enums",
|
|
398665
|
+
"enum": [
|
|
398666
|
+
"GM",
|
|
398667
|
+
"WGM",
|
|
398668
|
+
"IM",
|
|
398669
|
+
"WIM",
|
|
398670
|
+
"FM",
|
|
398671
|
+
"WFM",
|
|
398672
|
+
"NM",
|
|
398673
|
+
"WNM",
|
|
398674
|
+
"CM",
|
|
398675
|
+
"WCM"
|
|
398676
|
+
],
|
|
398677
|
+
"in": "path",
|
|
398678
|
+
"name": "title",
|
|
398679
|
+
"required": true,
|
|
398680
|
+
"type": "string",
|
|
398681
|
+
"x-example": "GM"
|
|
398682
|
+
}
|
|
398683
|
+
],
|
|
398684
|
+
"produces": [
|
|
398685
|
+
"application/json"
|
|
398686
|
+
],
|
|
398687
|
+
"responses": {
|
|
398688
|
+
"200": {
|
|
398689
|
+
"description": "OK",
|
|
398690
|
+
"schema": {
|
|
398691
|
+
"allOf": [
|
|
398692
|
+
{
|
|
398693
|
+
"$ref": "#/definitions/app.Response"
|
|
398694
|
+
},
|
|
398695
|
+
{
|
|
398696
|
+
"properties": {
|
|
398697
|
+
"data": {
|
|
398698
|
+
"$ref": "#/definitions/chesscom.PublicDataResponse"
|
|
398699
|
+
}
|
|
398700
|
+
},
|
|
398701
|
+
"type": "object"
|
|
398702
|
+
}
|
|
398703
|
+
]
|
|
398704
|
+
}
|
|
398705
|
+
},
|
|
398706
|
+
"400": {
|
|
398707
|
+
"description": "Bad Request",
|
|
398708
|
+
"schema": {
|
|
398709
|
+
"$ref": "#/definitions/app.Response"
|
|
398710
|
+
}
|
|
398711
|
+
},
|
|
398712
|
+
"404": {
|
|
398713
|
+
"description": "Not Found",
|
|
398714
|
+
"schema": {
|
|
398715
|
+
"$ref": "#/definitions/app.Response"
|
|
398716
|
+
}
|
|
398717
|
+
},
|
|
398718
|
+
"429": {
|
|
398719
|
+
"description": "Too Many Requests",
|
|
398720
|
+
"schema": {
|
|
398721
|
+
"$ref": "#/definitions/app.Response"
|
|
398722
|
+
}
|
|
398723
|
+
},
|
|
398724
|
+
"503": {
|
|
398725
|
+
"description": "Service Unavailable",
|
|
398726
|
+
"schema": {
|
|
398727
|
+
"$ref": "#/definitions/app.Response"
|
|
398728
|
+
}
|
|
398729
|
+
}
|
|
398730
|
+
},
|
|
398731
|
+
"security": [
|
|
398732
|
+
{
|
|
398733
|
+
"ApiKeyAuth": []
|
|
398734
|
+
}
|
|
398735
|
+
],
|
|
398736
|
+
"summary": "List Chess.com titled players",
|
|
398737
|
+
"tags": [
|
|
398738
|
+
"Chess.com"
|
|
398739
|
+
]
|
|
398740
|
+
}
|
|
398741
|
+
},
|
|
398742
|
+
"/chesscom/tournament/{slug}": {
|
|
398743
|
+
"get": {
|
|
398744
|
+
"consumes": [
|
|
398745
|
+
"application/json"
|
|
398746
|
+
],
|
|
398747
|
+
"description": "Returns source tournament details, settings, participants and round URLs for one caller-selected tournament URL ID. This standalone service is not affiliated with Chess.com. Do not use these results for AI model training or dataset creation.",
|
|
398748
|
+
"operationId": "chesscom-tournament",
|
|
398749
|
+
"parameters": [
|
|
398750
|
+
{
|
|
398751
|
+
"description": "Chess.com tournament URL ID",
|
|
398752
|
+
"in": "path",
|
|
398753
|
+
"name": "slug",
|
|
398205
398754
|
"required": true,
|
|
398206
398755
|
"type": "string"
|
|
398207
398756
|
}
|
|
@@ -548361,6 +548910,387 @@
|
|
|
548361
548910
|
]
|
|
548362
548911
|
}
|
|
548363
548912
|
},
|
|
548913
|
+
"/lichess/broadcast": {
|
|
548914
|
+
"get": {
|
|
548915
|
+
"consumes": [
|
|
548916
|
+
"application/json"
|
|
548917
|
+
],
|
|
548918
|
+
"description": "Returns one official broadcast tournament by its eight-character ID: tour metadata and description, every round with its ID, slug, start time and state, the default round ID, and player photos keyed by FIDE ID. Requests use the shared cross-replica serial gate and honor Lichess's 60-second minimum cooldown after HTTP 429.",
|
|
548919
|
+
"operationId": "lichess-broadcast",
|
|
548920
|
+
"parameters": [
|
|
548921
|
+
{
|
|
548922
|
+
"description": "Eight-character broadcast tournament ID",
|
|
548923
|
+
"in": "query",
|
|
548924
|
+
"name": "id",
|
|
548925
|
+
"required": true,
|
|
548926
|
+
"type": "string"
|
|
548927
|
+
}
|
|
548928
|
+
],
|
|
548929
|
+
"produces": [
|
|
548930
|
+
"application/json"
|
|
548931
|
+
],
|
|
548932
|
+
"responses": {
|
|
548933
|
+
"200": {
|
|
548934
|
+
"description": "OK",
|
|
548935
|
+
"schema": {
|
|
548936
|
+
"allOf": [
|
|
548937
|
+
{
|
|
548938
|
+
"$ref": "#/definitions/app.Response"
|
|
548939
|
+
},
|
|
548940
|
+
{
|
|
548941
|
+
"properties": {
|
|
548942
|
+
"data": {
|
|
548943
|
+
"$ref": "#/definitions/lichess.Response"
|
|
548944
|
+
}
|
|
548945
|
+
},
|
|
548946
|
+
"type": "object"
|
|
548947
|
+
}
|
|
548948
|
+
]
|
|
548949
|
+
}
|
|
548950
|
+
},
|
|
548951
|
+
"400": {
|
|
548952
|
+
"description": "Bad Request",
|
|
548953
|
+
"schema": {
|
|
548954
|
+
"$ref": "#/definitions/app.Response"
|
|
548955
|
+
}
|
|
548956
|
+
},
|
|
548957
|
+
"404": {
|
|
548958
|
+
"description": "Not Found",
|
|
548959
|
+
"schema": {
|
|
548960
|
+
"$ref": "#/definitions/app.Response"
|
|
548961
|
+
}
|
|
548962
|
+
},
|
|
548963
|
+
"429": {
|
|
548964
|
+
"description": "Too Many Requests",
|
|
548965
|
+
"schema": {
|
|
548966
|
+
"$ref": "#/definitions/app.Response"
|
|
548967
|
+
}
|
|
548968
|
+
},
|
|
548969
|
+
"503": {
|
|
548970
|
+
"description": "Service Unavailable",
|
|
548971
|
+
"schema": {
|
|
548972
|
+
"$ref": "#/definitions/app.Response"
|
|
548973
|
+
}
|
|
548974
|
+
}
|
|
548975
|
+
},
|
|
548976
|
+
"security": [
|
|
548977
|
+
{
|
|
548978
|
+
"ApiKeyAuth": []
|
|
548979
|
+
}
|
|
548980
|
+
],
|
|
548981
|
+
"summary": "Get a Lichess broadcast tournament",
|
|
548982
|
+
"tags": [
|
|
548983
|
+
"Lichess"
|
|
548984
|
+
]
|
|
548985
|
+
}
|
|
548986
|
+
},
|
|
548987
|
+
"/lichess/broadcast/round": {
|
|
548988
|
+
"get": {
|
|
548989
|
+
"consumes": [
|
|
548990
|
+
"application/json"
|
|
548991
|
+
],
|
|
548992
|
+
"description": "Returns one broadcast round by its eight-character round ID: round state and times, the parent tour, the study settings and every game with players (name, title, rating, FIDE ID, federation, clock), current FEN, last move and status. The source URL's tournament and round slugs are ignored by Lichess, so only the round ID is accepted. Person-level records (usernames, names, ratings) are returned as published under the maintainer's 2026-11-23 approval. Requests use the shared cross-replica serial gate and honor Lichess's 60-second minimum cooldown after HTTP 429.",
|
|
548993
|
+
"operationId": "lichess-broadcast-round",
|
|
548994
|
+
"parameters": [
|
|
548995
|
+
{
|
|
548996
|
+
"description": "Eight-character broadcast round ID",
|
|
548997
|
+
"in": "query",
|
|
548998
|
+
"name": "id",
|
|
548999
|
+
"required": true,
|
|
549000
|
+
"type": "string"
|
|
549001
|
+
}
|
|
549002
|
+
],
|
|
549003
|
+
"produces": [
|
|
549004
|
+
"application/json"
|
|
549005
|
+
],
|
|
549006
|
+
"responses": {
|
|
549007
|
+
"200": {
|
|
549008
|
+
"description": "OK",
|
|
549009
|
+
"schema": {
|
|
549010
|
+
"allOf": [
|
|
549011
|
+
{
|
|
549012
|
+
"$ref": "#/definitions/app.Response"
|
|
549013
|
+
},
|
|
549014
|
+
{
|
|
549015
|
+
"properties": {
|
|
549016
|
+
"data": {
|
|
549017
|
+
"$ref": "#/definitions/lichess.Response"
|
|
549018
|
+
}
|
|
549019
|
+
},
|
|
549020
|
+
"type": "object"
|
|
549021
|
+
}
|
|
549022
|
+
]
|
|
549023
|
+
}
|
|
549024
|
+
},
|
|
549025
|
+
"400": {
|
|
549026
|
+
"description": "Bad Request",
|
|
549027
|
+
"schema": {
|
|
549028
|
+
"$ref": "#/definitions/app.Response"
|
|
549029
|
+
}
|
|
549030
|
+
},
|
|
549031
|
+
"404": {
|
|
549032
|
+
"description": "Not Found",
|
|
549033
|
+
"schema": {
|
|
549034
|
+
"$ref": "#/definitions/app.Response"
|
|
549035
|
+
}
|
|
549036
|
+
},
|
|
549037
|
+
"429": {
|
|
549038
|
+
"description": "Too Many Requests",
|
|
549039
|
+
"schema": {
|
|
549040
|
+
"$ref": "#/definitions/app.Response"
|
|
549041
|
+
}
|
|
549042
|
+
},
|
|
549043
|
+
"503": {
|
|
549044
|
+
"description": "Service Unavailable",
|
|
549045
|
+
"schema": {
|
|
549046
|
+
"$ref": "#/definitions/app.Response"
|
|
549047
|
+
}
|
|
549048
|
+
}
|
|
549049
|
+
},
|
|
549050
|
+
"security": [
|
|
549051
|
+
{
|
|
549052
|
+
"ApiKeyAuth": []
|
|
549053
|
+
}
|
|
549054
|
+
],
|
|
549055
|
+
"summary": "Get a Lichess broadcast round",
|
|
549056
|
+
"tags": [
|
|
549057
|
+
"Lichess"
|
|
549058
|
+
]
|
|
549059
|
+
}
|
|
549060
|
+
},
|
|
549061
|
+
"/lichess/broadcast/round/pgn": {
|
|
549062
|
+
"get": {
|
|
549063
|
+
"consumes": [
|
|
549064
|
+
"application/json"
|
|
549065
|
+
],
|
|
549066
|
+
"description": "Returns the PGN of every game in one broadcast round, with the number of games. clocks and comments (both default true) control the [%clk] and analysis comments. The export is bounded by the service's 8 MB response cap. Requests use the shared cross-replica serial gate and honor Lichess's 60-second minimum cooldown after HTTP 429.",
|
|
549067
|
+
"operationId": "lichess-broadcast-round-pgn",
|
|
549068
|
+
"parameters": [
|
|
549069
|
+
{
|
|
549070
|
+
"description": "Eight-character broadcast round ID",
|
|
549071
|
+
"in": "query",
|
|
549072
|
+
"name": "id",
|
|
549073
|
+
"required": true,
|
|
549074
|
+
"type": "string"
|
|
549075
|
+
},
|
|
549076
|
+
{
|
|
549077
|
+
"description": "Include clock comments; source default true",
|
|
549078
|
+
"in": "query",
|
|
549079
|
+
"name": "clocks",
|
|
549080
|
+
"type": "boolean"
|
|
549081
|
+
},
|
|
549082
|
+
{
|
|
549083
|
+
"description": "Include analysis comments; source default true",
|
|
549084
|
+
"in": "query",
|
|
549085
|
+
"name": "comments",
|
|
549086
|
+
"type": "boolean"
|
|
549087
|
+
}
|
|
549088
|
+
],
|
|
549089
|
+
"produces": [
|
|
549090
|
+
"application/json"
|
|
549091
|
+
],
|
|
549092
|
+
"responses": {
|
|
549093
|
+
"200": {
|
|
549094
|
+
"description": "OK",
|
|
549095
|
+
"schema": {
|
|
549096
|
+
"allOf": [
|
|
549097
|
+
{
|
|
549098
|
+
"$ref": "#/definitions/app.Response"
|
|
549099
|
+
},
|
|
549100
|
+
{
|
|
549101
|
+
"properties": {
|
|
549102
|
+
"data": {
|
|
549103
|
+
"$ref": "#/definitions/lichess.PGNResponse"
|
|
549104
|
+
}
|
|
549105
|
+
},
|
|
549106
|
+
"type": "object"
|
|
549107
|
+
}
|
|
549108
|
+
]
|
|
549109
|
+
}
|
|
549110
|
+
},
|
|
549111
|
+
"400": {
|
|
549112
|
+
"description": "Bad Request",
|
|
549113
|
+
"schema": {
|
|
549114
|
+
"$ref": "#/definitions/app.Response"
|
|
549115
|
+
}
|
|
549116
|
+
},
|
|
549117
|
+
"404": {
|
|
549118
|
+
"description": "Not Found",
|
|
549119
|
+
"schema": {
|
|
549120
|
+
"$ref": "#/definitions/app.Response"
|
|
549121
|
+
}
|
|
549122
|
+
},
|
|
549123
|
+
"429": {
|
|
549124
|
+
"description": "Too Many Requests",
|
|
549125
|
+
"schema": {
|
|
549126
|
+
"$ref": "#/definitions/app.Response"
|
|
549127
|
+
}
|
|
549128
|
+
},
|
|
549129
|
+
"503": {
|
|
549130
|
+
"description": "Service Unavailable",
|
|
549131
|
+
"schema": {
|
|
549132
|
+
"$ref": "#/definitions/app.Response"
|
|
549133
|
+
}
|
|
549134
|
+
}
|
|
549135
|
+
},
|
|
549136
|
+
"security": [
|
|
549137
|
+
{
|
|
549138
|
+
"ApiKeyAuth": []
|
|
549139
|
+
}
|
|
549140
|
+
],
|
|
549141
|
+
"summary": "Export a Lichess broadcast round as PGN",
|
|
549142
|
+
"tags": [
|
|
549143
|
+
"Lichess"
|
|
549144
|
+
]
|
|
549145
|
+
}
|
|
549146
|
+
},
|
|
549147
|
+
"/lichess/broadcasts/search": {
|
|
549148
|
+
"get": {
|
|
549149
|
+
"consumes": [
|
|
549150
|
+
"application/json"
|
|
549151
|
+
],
|
|
549152
|
+
"description": "Searches Lichess's official broadcast tournaments by free-text term and returns the source paginated results (24 per page, pages 1 through 20) with tour and round records. Requests use the shared cross-replica serial gate and honor Lichess's 60-second minimum cooldown after HTTP 429.",
|
|
549153
|
+
"operationId": "lichess-broadcasts-search",
|
|
549154
|
+
"parameters": [
|
|
549155
|
+
{
|
|
549156
|
+
"description": "Search term",
|
|
549157
|
+
"in": "query",
|
|
549158
|
+
"name": "q",
|
|
549159
|
+
"required": true,
|
|
549160
|
+
"type": "string"
|
|
549161
|
+
},
|
|
549162
|
+
{
|
|
549163
|
+
"description": "Source page 1 through 20; default 1",
|
|
549164
|
+
"in": "query",
|
|
549165
|
+
"name": "page",
|
|
549166
|
+
"type": "integer"
|
|
549167
|
+
}
|
|
549168
|
+
],
|
|
549169
|
+
"produces": [
|
|
549170
|
+
"application/json"
|
|
549171
|
+
],
|
|
549172
|
+
"responses": {
|
|
549173
|
+
"200": {
|
|
549174
|
+
"description": "OK",
|
|
549175
|
+
"schema": {
|
|
549176
|
+
"allOf": [
|
|
549177
|
+
{
|
|
549178
|
+
"$ref": "#/definitions/app.Response"
|
|
549179
|
+
},
|
|
549180
|
+
{
|
|
549181
|
+
"properties": {
|
|
549182
|
+
"data": {
|
|
549183
|
+
"$ref": "#/definitions/lichess.Response"
|
|
549184
|
+
}
|
|
549185
|
+
},
|
|
549186
|
+
"type": "object"
|
|
549187
|
+
}
|
|
549188
|
+
]
|
|
549189
|
+
}
|
|
549190
|
+
},
|
|
549191
|
+
"400": {
|
|
549192
|
+
"description": "Bad Request",
|
|
549193
|
+
"schema": {
|
|
549194
|
+
"$ref": "#/definitions/app.Response"
|
|
549195
|
+
}
|
|
549196
|
+
},
|
|
549197
|
+
"404": {
|
|
549198
|
+
"description": "Not Found",
|
|
549199
|
+
"schema": {
|
|
549200
|
+
"$ref": "#/definitions/app.Response"
|
|
549201
|
+
}
|
|
549202
|
+
},
|
|
549203
|
+
"429": {
|
|
549204
|
+
"description": "Too Many Requests",
|
|
549205
|
+
"schema": {
|
|
549206
|
+
"$ref": "#/definitions/app.Response"
|
|
549207
|
+
}
|
|
549208
|
+
},
|
|
549209
|
+
"503": {
|
|
549210
|
+
"description": "Service Unavailable",
|
|
549211
|
+
"schema": {
|
|
549212
|
+
"$ref": "#/definitions/app.Response"
|
|
549213
|
+
}
|
|
549214
|
+
}
|
|
549215
|
+
},
|
|
549216
|
+
"security": [
|
|
549217
|
+
{
|
|
549218
|
+
"ApiKeyAuth": []
|
|
549219
|
+
}
|
|
549220
|
+
],
|
|
549221
|
+
"summary": "Search Lichess broadcasts",
|
|
549222
|
+
"tags": [
|
|
549223
|
+
"Lichess"
|
|
549224
|
+
]
|
|
549225
|
+
}
|
|
549226
|
+
},
|
|
549227
|
+
"/lichess/broadcasts/top": {
|
|
549228
|
+
"get": {
|
|
549229
|
+
"consumes": [
|
|
549230
|
+
"application/json"
|
|
549231
|
+
],
|
|
549232
|
+
"description": "Returns Lichess's official over-the-board broadcast listing: active and upcoming events on page 1 and paginated past events (24 per page, pages 1 through 5; Lichess rejects deeper pages as too old). Each item carries the source tour ID, name, slug, info (format, time control, location, players), tier, dates, image and current round. Requests use the shared cross-replica serial gate and honor Lichess's 60-second minimum cooldown after HTTP 429.",
|
|
549233
|
+
"operationId": "lichess-broadcasts-top",
|
|
549234
|
+
"parameters": [
|
|
549235
|
+
{
|
|
549236
|
+
"description": "Source page 1 through 5; default 1. Only page 1 has active broadcasts.",
|
|
549237
|
+
"in": "query",
|
|
549238
|
+
"name": "page",
|
|
549239
|
+
"type": "integer"
|
|
549240
|
+
}
|
|
549241
|
+
],
|
|
549242
|
+
"produces": [
|
|
549243
|
+
"application/json"
|
|
549244
|
+
],
|
|
549245
|
+
"responses": {
|
|
549246
|
+
"200": {
|
|
549247
|
+
"description": "OK",
|
|
549248
|
+
"schema": {
|
|
549249
|
+
"allOf": [
|
|
549250
|
+
{
|
|
549251
|
+
"$ref": "#/definitions/app.Response"
|
|
549252
|
+
},
|
|
549253
|
+
{
|
|
549254
|
+
"properties": {
|
|
549255
|
+
"data": {
|
|
549256
|
+
"$ref": "#/definitions/lichess.Response"
|
|
549257
|
+
}
|
|
549258
|
+
},
|
|
549259
|
+
"type": "object"
|
|
549260
|
+
}
|
|
549261
|
+
]
|
|
549262
|
+
}
|
|
549263
|
+
},
|
|
549264
|
+
"400": {
|
|
549265
|
+
"description": "Bad Request",
|
|
549266
|
+
"schema": {
|
|
549267
|
+
"$ref": "#/definitions/app.Response"
|
|
549268
|
+
}
|
|
549269
|
+
},
|
|
549270
|
+
"429": {
|
|
549271
|
+
"description": "Too Many Requests",
|
|
549272
|
+
"schema": {
|
|
549273
|
+
"$ref": "#/definitions/app.Response"
|
|
549274
|
+
}
|
|
549275
|
+
},
|
|
549276
|
+
"503": {
|
|
549277
|
+
"description": "Service Unavailable",
|
|
549278
|
+
"schema": {
|
|
549279
|
+
"$ref": "#/definitions/app.Response"
|
|
549280
|
+
}
|
|
549281
|
+
}
|
|
549282
|
+
},
|
|
549283
|
+
"security": [
|
|
549284
|
+
{
|
|
549285
|
+
"ApiKeyAuth": []
|
|
549286
|
+
}
|
|
549287
|
+
],
|
|
549288
|
+
"summary": "List top Lichess broadcasts",
|
|
549289
|
+
"tags": [
|
|
549290
|
+
"Lichess"
|
|
549291
|
+
]
|
|
549292
|
+
}
|
|
549293
|
+
},
|
|
548364
549294
|
"/lichess/cloud-eval": {
|
|
548365
549295
|
"get": {
|
|
548366
549296
|
"consumes": [
|
|
@@ -548460,12 +549390,93 @@
|
|
|
548460
549390
|
]
|
|
548461
549391
|
}
|
|
548462
549392
|
},
|
|
549393
|
+
"/lichess/crosstable": {
|
|
549394
|
+
"get": {
|
|
549395
|
+
"consumes": [
|
|
549396
|
+
"application/json"
|
|
549397
|
+
],
|
|
549398
|
+
"description": "Returns the all-time head-to-head score of two users: each user's points and the total number of games. Person-level records (usernames, names, ratings) are returned as published under the maintainer's 2026-11-23 approval. Requests use the shared cross-replica serial gate and honor Lichess's 60-second minimum cooldown after HTTP 429.",
|
|
549399
|
+
"operationId": "lichess-crosstable",
|
|
549400
|
+
"parameters": [
|
|
549401
|
+
{
|
|
549402
|
+
"description": "First Lichess username",
|
|
549403
|
+
"in": "query",
|
|
549404
|
+
"name": "user1",
|
|
549405
|
+
"required": true,
|
|
549406
|
+
"type": "string"
|
|
549407
|
+
},
|
|
549408
|
+
{
|
|
549409
|
+
"description": "Second Lichess username",
|
|
549410
|
+
"in": "query",
|
|
549411
|
+
"name": "user2",
|
|
549412
|
+
"required": true,
|
|
549413
|
+
"type": "string"
|
|
549414
|
+
}
|
|
549415
|
+
],
|
|
549416
|
+
"produces": [
|
|
549417
|
+
"application/json"
|
|
549418
|
+
],
|
|
549419
|
+
"responses": {
|
|
549420
|
+
"200": {
|
|
549421
|
+
"description": "OK",
|
|
549422
|
+
"schema": {
|
|
549423
|
+
"allOf": [
|
|
549424
|
+
{
|
|
549425
|
+
"$ref": "#/definitions/app.Response"
|
|
549426
|
+
},
|
|
549427
|
+
{
|
|
549428
|
+
"properties": {
|
|
549429
|
+
"data": {
|
|
549430
|
+
"$ref": "#/definitions/lichess.Response"
|
|
549431
|
+
}
|
|
549432
|
+
},
|
|
549433
|
+
"type": "object"
|
|
549434
|
+
}
|
|
549435
|
+
]
|
|
549436
|
+
}
|
|
549437
|
+
},
|
|
549438
|
+
"400": {
|
|
549439
|
+
"description": "Bad Request",
|
|
549440
|
+
"schema": {
|
|
549441
|
+
"$ref": "#/definitions/app.Response"
|
|
549442
|
+
}
|
|
549443
|
+
},
|
|
549444
|
+
"404": {
|
|
549445
|
+
"description": "Not Found",
|
|
549446
|
+
"schema": {
|
|
549447
|
+
"$ref": "#/definitions/app.Response"
|
|
549448
|
+
}
|
|
549449
|
+
},
|
|
549450
|
+
"429": {
|
|
549451
|
+
"description": "Too Many Requests",
|
|
549452
|
+
"schema": {
|
|
549453
|
+
"$ref": "#/definitions/app.Response"
|
|
549454
|
+
}
|
|
549455
|
+
},
|
|
549456
|
+
"503": {
|
|
549457
|
+
"description": "Service Unavailable",
|
|
549458
|
+
"schema": {
|
|
549459
|
+
"$ref": "#/definitions/app.Response"
|
|
549460
|
+
}
|
|
549461
|
+
}
|
|
549462
|
+
},
|
|
549463
|
+
"security": [
|
|
549464
|
+
{
|
|
549465
|
+
"ApiKeyAuth": []
|
|
549466
|
+
}
|
|
549467
|
+
],
|
|
549468
|
+
"summary": "Get the Lichess crosstable of two users",
|
|
549469
|
+
"tags": [
|
|
549470
|
+
"Lichess"
|
|
549471
|
+
]
|
|
549472
|
+
}
|
|
549473
|
+
},
|
|
548463
549474
|
"/lichess/enums": {
|
|
548464
549475
|
"get": {
|
|
548465
549476
|
"consumes": [
|
|
548466
549477
|
"application/json"
|
|
548467
549478
|
],
|
|
548468
|
-
"description": "Returns the complete closed difficulty, side-to-move, tablebase and cloud-evaluation variant, standard DTC, and batch-size values from the current public API specification. Puzzle angle/theme is an open source string; Lichess does not expose a finite theme catalog in the REST API.",
|
|
549479
|
+
"description": "Returns the complete closed difficulty, side-to-move, tablebase and cloud-evaluation variant, standard DTC, and batch-size values from the current public API specification, plus leaderboard_perf_types (the 13 /lichess/leaderboard perfType values), user_perf_types (the 14 /lichess/user/perf perf values), swiss_statuses (created, started, finished for /lichess/team/swiss) and ranges (minimum, maximum and default of every bounded numeric gap-route parameter). Puzzle angle/theme is an open source string; Lichess does not expose a finite theme catalog in the REST API.",
|
|
548469
549480
|
"operationId": "lichess-enums",
|
|
548470
549481
|
"produces": [
|
|
548471
549482
|
"application/json"
|
|
@@ -548501,6 +549512,400 @@
|
|
|
548501
549512
|
]
|
|
548502
549513
|
}
|
|
548503
549514
|
},
|
|
549515
|
+
"/lichess/fide/player": {
|
|
549516
|
+
"get": {
|
|
549517
|
+
"consumes": [
|
|
549518
|
+
"application/json"
|
|
549519
|
+
],
|
|
549520
|
+
"description": "Returns Lichess's copy of one public FIDE player record by FIDE ID: name, federation, birth year, title, gender, standard/rapid/blitz ratings and photo. Person-level records (usernames, names, ratings) are returned as published under the maintainer's 2026-11-23 approval. Requests use the shared cross-replica serial gate and honor Lichess's 60-second minimum cooldown after HTTP 429.",
|
|
549521
|
+
"operationId": "lichess-fide-player",
|
|
549522
|
+
"parameters": [
|
|
549523
|
+
{
|
|
549524
|
+
"description": "Numeric FIDE player ID",
|
|
549525
|
+
"in": "query",
|
|
549526
|
+
"name": "id",
|
|
549527
|
+
"required": true,
|
|
549528
|
+
"type": "integer"
|
|
549529
|
+
}
|
|
549530
|
+
],
|
|
549531
|
+
"produces": [
|
|
549532
|
+
"application/json"
|
|
549533
|
+
],
|
|
549534
|
+
"responses": {
|
|
549535
|
+
"200": {
|
|
549536
|
+
"description": "OK",
|
|
549537
|
+
"schema": {
|
|
549538
|
+
"allOf": [
|
|
549539
|
+
{
|
|
549540
|
+
"$ref": "#/definitions/app.Response"
|
|
549541
|
+
},
|
|
549542
|
+
{
|
|
549543
|
+
"properties": {
|
|
549544
|
+
"data": {
|
|
549545
|
+
"$ref": "#/definitions/lichess.Response"
|
|
549546
|
+
}
|
|
549547
|
+
},
|
|
549548
|
+
"type": "object"
|
|
549549
|
+
}
|
|
549550
|
+
]
|
|
549551
|
+
}
|
|
549552
|
+
},
|
|
549553
|
+
"400": {
|
|
549554
|
+
"description": "Bad Request",
|
|
549555
|
+
"schema": {
|
|
549556
|
+
"$ref": "#/definitions/app.Response"
|
|
549557
|
+
}
|
|
549558
|
+
},
|
|
549559
|
+
"404": {
|
|
549560
|
+
"description": "Not Found",
|
|
549561
|
+
"schema": {
|
|
549562
|
+
"$ref": "#/definitions/app.Response"
|
|
549563
|
+
}
|
|
549564
|
+
},
|
|
549565
|
+
"429": {
|
|
549566
|
+
"description": "Too Many Requests",
|
|
549567
|
+
"schema": {
|
|
549568
|
+
"$ref": "#/definitions/app.Response"
|
|
549569
|
+
}
|
|
549570
|
+
},
|
|
549571
|
+
"503": {
|
|
549572
|
+
"description": "Service Unavailable",
|
|
549573
|
+
"schema": {
|
|
549574
|
+
"$ref": "#/definitions/app.Response"
|
|
549575
|
+
}
|
|
549576
|
+
}
|
|
549577
|
+
},
|
|
549578
|
+
"security": [
|
|
549579
|
+
{
|
|
549580
|
+
"ApiKeyAuth": []
|
|
549581
|
+
}
|
|
549582
|
+
],
|
|
549583
|
+
"summary": "Get a FIDE player record",
|
|
549584
|
+
"tags": [
|
|
549585
|
+
"Lichess"
|
|
549586
|
+
]
|
|
549587
|
+
}
|
|
549588
|
+
},
|
|
549589
|
+
"/lichess/fide/search": {
|
|
549590
|
+
"get": {
|
|
549591
|
+
"consumes": [
|
|
549592
|
+
"application/json"
|
|
549593
|
+
],
|
|
549594
|
+
"description": "Searches Lichess's copy of the FIDE player directory by name and returns matching records with FIDE ID, name, federation, birth year, title and ratings. Person-level records (usernames, names, ratings) are returned as published under the maintainer's 2026-11-23 approval. Requests use the shared cross-replica serial gate and honor Lichess's 60-second minimum cooldown after HTTP 429.",
|
|
549595
|
+
"operationId": "lichess-fide-search",
|
|
549596
|
+
"parameters": [
|
|
549597
|
+
{
|
|
549598
|
+
"description": "FIDE player name search term",
|
|
549599
|
+
"in": "query",
|
|
549600
|
+
"name": "q",
|
|
549601
|
+
"required": true,
|
|
549602
|
+
"type": "string"
|
|
549603
|
+
}
|
|
549604
|
+
],
|
|
549605
|
+
"produces": [
|
|
549606
|
+
"application/json"
|
|
549607
|
+
],
|
|
549608
|
+
"responses": {
|
|
549609
|
+
"200": {
|
|
549610
|
+
"description": "OK",
|
|
549611
|
+
"schema": {
|
|
549612
|
+
"allOf": [
|
|
549613
|
+
{
|
|
549614
|
+
"$ref": "#/definitions/app.Response"
|
|
549615
|
+
},
|
|
549616
|
+
{
|
|
549617
|
+
"properties": {
|
|
549618
|
+
"data": {
|
|
549619
|
+
"$ref": "#/definitions/lichess.Response"
|
|
549620
|
+
}
|
|
549621
|
+
},
|
|
549622
|
+
"type": "object"
|
|
549623
|
+
}
|
|
549624
|
+
]
|
|
549625
|
+
}
|
|
549626
|
+
},
|
|
549627
|
+
"400": {
|
|
549628
|
+
"description": "Bad Request",
|
|
549629
|
+
"schema": {
|
|
549630
|
+
"$ref": "#/definitions/app.Response"
|
|
549631
|
+
}
|
|
549632
|
+
},
|
|
549633
|
+
"404": {
|
|
549634
|
+
"description": "Not Found",
|
|
549635
|
+
"schema": {
|
|
549636
|
+
"$ref": "#/definitions/app.Response"
|
|
549637
|
+
}
|
|
549638
|
+
},
|
|
549639
|
+
"429": {
|
|
549640
|
+
"description": "Too Many Requests",
|
|
549641
|
+
"schema": {
|
|
549642
|
+
"$ref": "#/definitions/app.Response"
|
|
549643
|
+
}
|
|
549644
|
+
},
|
|
549645
|
+
"503": {
|
|
549646
|
+
"description": "Service Unavailable",
|
|
549647
|
+
"schema": {
|
|
549648
|
+
"$ref": "#/definitions/app.Response"
|
|
549649
|
+
}
|
|
549650
|
+
}
|
|
549651
|
+
},
|
|
549652
|
+
"security": [
|
|
549653
|
+
{
|
|
549654
|
+
"ApiKeyAuth": []
|
|
549655
|
+
}
|
|
549656
|
+
],
|
|
549657
|
+
"summary": "Search FIDE players",
|
|
549658
|
+
"tags": [
|
|
549659
|
+
"Lichess"
|
|
549660
|
+
]
|
|
549661
|
+
}
|
|
549662
|
+
},
|
|
549663
|
+
"/lichess/leaderboard": {
|
|
549664
|
+
"get": {
|
|
549665
|
+
"consumes": [
|
|
549666
|
+
"application/json"
|
|
549667
|
+
],
|
|
549668
|
+
"description": "Returns the top nb (1 through 100) players of one speed or variant leaderboard. perfType is one of ultraBullet, bullet, blitz, rapid, classical, chess960, crazyhouse, antichess, atomic, horde, kingOfTheHill, racingKings, threeCheck; correspondence has no leaderboard. Person-level records (usernames, names, ratings) are returned as published under the maintainer's 2026-11-23 approval. Requests use the shared cross-replica serial gate and honor Lichess's 60-second minimum cooldown after HTTP 429.",
|
|
549669
|
+
"operationId": "lichess-leaderboard",
|
|
549670
|
+
"parameters": [
|
|
549671
|
+
{
|
|
549672
|
+
"description": "Speed or variant",
|
|
549673
|
+
"enum": [
|
|
549674
|
+
"ultraBullet",
|
|
549675
|
+
"bullet",
|
|
549676
|
+
"blitz",
|
|
549677
|
+
"rapid",
|
|
549678
|
+
"classical",
|
|
549679
|
+
"chess960",
|
|
549680
|
+
"crazyhouse",
|
|
549681
|
+
"antichess",
|
|
549682
|
+
"atomic",
|
|
549683
|
+
"horde",
|
|
549684
|
+
"kingOfTheHill",
|
|
549685
|
+
"racingKings",
|
|
549686
|
+
"threeCheck"
|
|
549687
|
+
],
|
|
549688
|
+
"in": "query",
|
|
549689
|
+
"name": "perfType",
|
|
549690
|
+
"required": true,
|
|
549691
|
+
"type": "string"
|
|
549692
|
+
},
|
|
549693
|
+
{
|
|
549694
|
+
"description": "Number of players 1 through 100",
|
|
549695
|
+
"in": "query",
|
|
549696
|
+
"name": "nb",
|
|
549697
|
+
"required": true,
|
|
549698
|
+
"type": "integer"
|
|
549699
|
+
}
|
|
549700
|
+
],
|
|
549701
|
+
"produces": [
|
|
549702
|
+
"application/json"
|
|
549703
|
+
],
|
|
549704
|
+
"responses": {
|
|
549705
|
+
"200": {
|
|
549706
|
+
"description": "OK",
|
|
549707
|
+
"schema": {
|
|
549708
|
+
"allOf": [
|
|
549709
|
+
{
|
|
549710
|
+
"$ref": "#/definitions/app.Response"
|
|
549711
|
+
},
|
|
549712
|
+
{
|
|
549713
|
+
"properties": {
|
|
549714
|
+
"data": {
|
|
549715
|
+
"$ref": "#/definitions/lichess.Response"
|
|
549716
|
+
}
|
|
549717
|
+
},
|
|
549718
|
+
"type": "object"
|
|
549719
|
+
}
|
|
549720
|
+
]
|
|
549721
|
+
}
|
|
549722
|
+
},
|
|
549723
|
+
"400": {
|
|
549724
|
+
"description": "Bad Request",
|
|
549725
|
+
"schema": {
|
|
549726
|
+
"$ref": "#/definitions/app.Response"
|
|
549727
|
+
}
|
|
549728
|
+
},
|
|
549729
|
+
"404": {
|
|
549730
|
+
"description": "Not Found",
|
|
549731
|
+
"schema": {
|
|
549732
|
+
"$ref": "#/definitions/app.Response"
|
|
549733
|
+
}
|
|
549734
|
+
},
|
|
549735
|
+
"429": {
|
|
549736
|
+
"description": "Too Many Requests",
|
|
549737
|
+
"schema": {
|
|
549738
|
+
"$ref": "#/definitions/app.Response"
|
|
549739
|
+
}
|
|
549740
|
+
},
|
|
549741
|
+
"503": {
|
|
549742
|
+
"description": "Service Unavailable",
|
|
549743
|
+
"schema": {
|
|
549744
|
+
"$ref": "#/definitions/app.Response"
|
|
549745
|
+
}
|
|
549746
|
+
}
|
|
549747
|
+
},
|
|
549748
|
+
"security": [
|
|
549749
|
+
{
|
|
549750
|
+
"ApiKeyAuth": []
|
|
549751
|
+
}
|
|
549752
|
+
],
|
|
549753
|
+
"summary": "Get a Lichess leaderboard",
|
|
549754
|
+
"tags": [
|
|
549755
|
+
"Lichess"
|
|
549756
|
+
]
|
|
549757
|
+
}
|
|
549758
|
+
},
|
|
549759
|
+
"/lichess/leaderboards": {
|
|
549760
|
+
"get": {
|
|
549761
|
+
"consumes": [
|
|
549762
|
+
"application/json"
|
|
549763
|
+
],
|
|
549764
|
+
"description": "Returns the top 10 players of every Lichess speed and variant (bullet, blitz, rapid, classical, ultraBullet and the variants), each with username, title and the perf's rating and progress. Person-level records (usernames, names, ratings) are returned as published under the maintainer's 2026-11-23 approval. Requests use the shared cross-replica serial gate and honor Lichess's 60-second minimum cooldown after HTTP 429.",
|
|
549765
|
+
"operationId": "lichess-leaderboards",
|
|
549766
|
+
"produces": [
|
|
549767
|
+
"application/json"
|
|
549768
|
+
],
|
|
549769
|
+
"responses": {
|
|
549770
|
+
"200": {
|
|
549771
|
+
"description": "OK",
|
|
549772
|
+
"schema": {
|
|
549773
|
+
"allOf": [
|
|
549774
|
+
{
|
|
549775
|
+
"$ref": "#/definitions/app.Response"
|
|
549776
|
+
},
|
|
549777
|
+
{
|
|
549778
|
+
"properties": {
|
|
549779
|
+
"data": {
|
|
549780
|
+
"$ref": "#/definitions/lichess.Response"
|
|
549781
|
+
}
|
|
549782
|
+
},
|
|
549783
|
+
"type": "object"
|
|
549784
|
+
}
|
|
549785
|
+
]
|
|
549786
|
+
}
|
|
549787
|
+
},
|
|
549788
|
+
"429": {
|
|
549789
|
+
"description": "Too Many Requests",
|
|
549790
|
+
"schema": {
|
|
549791
|
+
"$ref": "#/definitions/app.Response"
|
|
549792
|
+
}
|
|
549793
|
+
},
|
|
549794
|
+
"503": {
|
|
549795
|
+
"description": "Service Unavailable",
|
|
549796
|
+
"schema": {
|
|
549797
|
+
"$ref": "#/definitions/app.Response"
|
|
549798
|
+
}
|
|
549799
|
+
}
|
|
549800
|
+
},
|
|
549801
|
+
"security": [
|
|
549802
|
+
{
|
|
549803
|
+
"ApiKeyAuth": []
|
|
549804
|
+
}
|
|
549805
|
+
],
|
|
549806
|
+
"summary": "List Lichess top-10 leaderboards",
|
|
549807
|
+
"tags": [
|
|
549808
|
+
"Lichess"
|
|
549809
|
+
]
|
|
549810
|
+
}
|
|
549811
|
+
},
|
|
549812
|
+
"/lichess/opening-explorer/masters": {
|
|
549813
|
+
"get": {
|
|
549814
|
+
"consumes": [
|
|
549815
|
+
"application/json"
|
|
549816
|
+
],
|
|
549817
|
+
"description": "Returns masters-database opening statistics for a position: white/draw/black totals, the most common next moves with average rating, the opening name and top games with player names and ratings. fen (default start position) plus optional UCI play moves select the position; since/until bound the month range; moves (0 through 256, default 12) and topGames (0 through 15, default 15) bound the lists. Anonymous in-cluster access was verified on 2026-11-28. Requests use the shared cross-replica serial gate and honor Lichess's 60-second minimum cooldown after HTTP 429.",
|
|
549818
|
+
"operationId": "lichess-opening-masters",
|
|
549819
|
+
"parameters": [
|
|
549820
|
+
{
|
|
549821
|
+
"description": "X-FEN root position; default start position",
|
|
549822
|
+
"in": "query",
|
|
549823
|
+
"name": "fen",
|
|
549824
|
+
"type": "string"
|
|
549825
|
+
},
|
|
549826
|
+
{
|
|
549827
|
+
"description": "Comma-separated UCI moves from fen",
|
|
549828
|
+
"in": "query",
|
|
549829
|
+
"name": "play",
|
|
549830
|
+
"type": "string"
|
|
549831
|
+
},
|
|
549832
|
+
{
|
|
549833
|
+
"description": "Earliest YYYY or YYYY-MM; default 1952-01",
|
|
549834
|
+
"in": "query",
|
|
549835
|
+
"name": "since",
|
|
549836
|
+
"type": "string"
|
|
549837
|
+
},
|
|
549838
|
+
{
|
|
549839
|
+
"description": "Latest YYYY or YYYY-MM; default 3000-12",
|
|
549840
|
+
"in": "query",
|
|
549841
|
+
"name": "until",
|
|
549842
|
+
"type": "string"
|
|
549843
|
+
},
|
|
549844
|
+
{
|
|
549845
|
+
"description": "Most common moves 0 through 256; default 12",
|
|
549846
|
+
"in": "query",
|
|
549847
|
+
"name": "moves",
|
|
549848
|
+
"type": "integer"
|
|
549849
|
+
},
|
|
549850
|
+
{
|
|
549851
|
+
"description": "Top games 0 through 15; default 15",
|
|
549852
|
+
"in": "query",
|
|
549853
|
+
"name": "topGames",
|
|
549854
|
+
"type": "integer"
|
|
549855
|
+
}
|
|
549856
|
+
],
|
|
549857
|
+
"produces": [
|
|
549858
|
+
"application/json"
|
|
549859
|
+
],
|
|
549860
|
+
"responses": {
|
|
549861
|
+
"200": {
|
|
549862
|
+
"description": "OK",
|
|
549863
|
+
"schema": {
|
|
549864
|
+
"allOf": [
|
|
549865
|
+
{
|
|
549866
|
+
"$ref": "#/definitions/app.Response"
|
|
549867
|
+
},
|
|
549868
|
+
{
|
|
549869
|
+
"properties": {
|
|
549870
|
+
"data": {
|
|
549871
|
+
"$ref": "#/definitions/lichess.Response"
|
|
549872
|
+
}
|
|
549873
|
+
},
|
|
549874
|
+
"type": "object"
|
|
549875
|
+
}
|
|
549876
|
+
]
|
|
549877
|
+
}
|
|
549878
|
+
},
|
|
549879
|
+
"400": {
|
|
549880
|
+
"description": "Bad Request",
|
|
549881
|
+
"schema": {
|
|
549882
|
+
"$ref": "#/definitions/app.Response"
|
|
549883
|
+
}
|
|
549884
|
+
},
|
|
549885
|
+
"429": {
|
|
549886
|
+
"description": "Too Many Requests",
|
|
549887
|
+
"schema": {
|
|
549888
|
+
"$ref": "#/definitions/app.Response"
|
|
549889
|
+
}
|
|
549890
|
+
},
|
|
549891
|
+
"503": {
|
|
549892
|
+
"description": "Service Unavailable",
|
|
549893
|
+
"schema": {
|
|
549894
|
+
"$ref": "#/definitions/app.Response"
|
|
549895
|
+
}
|
|
549896
|
+
}
|
|
549897
|
+
},
|
|
549898
|
+
"security": [
|
|
549899
|
+
{
|
|
549900
|
+
"ApiKeyAuth": []
|
|
549901
|
+
}
|
|
549902
|
+
],
|
|
549903
|
+
"summary": "Query the Lichess masters opening explorer",
|
|
549904
|
+
"tags": [
|
|
549905
|
+
"Lichess"
|
|
549906
|
+
]
|
|
549907
|
+
}
|
|
549908
|
+
},
|
|
548504
549909
|
"/lichess/puzzle": {
|
|
548505
549910
|
"get": {
|
|
548506
549911
|
"consumes": [
|
|
@@ -548888,58 +550293,942 @@
|
|
|
548888
550293
|
]
|
|
548889
550294
|
}
|
|
548890
550295
|
},
|
|
548891
|
-
"429": {
|
|
548892
|
-
"description": "Too Many Requests",
|
|
550296
|
+
"429": {
|
|
550297
|
+
"description": "Too Many Requests",
|
|
550298
|
+
"schema": {
|
|
550299
|
+
"$ref": "#/definitions/app.Response"
|
|
550300
|
+
}
|
|
550301
|
+
},
|
|
550302
|
+
"503": {
|
|
550303
|
+
"description": "Service Unavailable",
|
|
550304
|
+
"schema": {
|
|
550305
|
+
"$ref": "#/definitions/app.Response"
|
|
550306
|
+
}
|
|
550307
|
+
}
|
|
550308
|
+
},
|
|
550309
|
+
"security": [
|
|
550310
|
+
{
|
|
550311
|
+
"ApiKeyAuth": []
|
|
550312
|
+
}
|
|
550313
|
+
],
|
|
550314
|
+
"summary": "Discover Lichess puzzle themes",
|
|
550315
|
+
"tags": [
|
|
550316
|
+
"Lichess"
|
|
550317
|
+
]
|
|
550318
|
+
}
|
|
550319
|
+
},
|
|
550320
|
+
"/lichess/simuls": {
|
|
550321
|
+
"get": {
|
|
550322
|
+
"consumes": [
|
|
550323
|
+
"application/json"
|
|
550324
|
+
],
|
|
550325
|
+
"description": "Returns public created, started, and finished Simuls with source variants, lifecycle fields, applicant/pairing counts, host ID/name/rating/online state, and user-authored name/text fields. Only pending listings are OAuth-specific and are omitted. Requests use the shared serial gate and honor Lichess's 60-second minimum cooldown after 429.",
|
|
550326
|
+
"operationId": "lichess-simuls",
|
|
550327
|
+
"produces": [
|
|
550328
|
+
"application/json"
|
|
550329
|
+
],
|
|
550330
|
+
"responses": {
|
|
550331
|
+
"200": {
|
|
550332
|
+
"description": "OK",
|
|
550333
|
+
"schema": {
|
|
550334
|
+
"allOf": [
|
|
550335
|
+
{
|
|
550336
|
+
"$ref": "#/definitions/app.Response"
|
|
550337
|
+
},
|
|
550338
|
+
{
|
|
550339
|
+
"properties": {
|
|
550340
|
+
"data": {
|
|
550341
|
+
"$ref": "#/definitions/lichess.Response"
|
|
550342
|
+
}
|
|
550343
|
+
},
|
|
550344
|
+
"type": "object"
|
|
550345
|
+
}
|
|
550346
|
+
]
|
|
550347
|
+
}
|
|
550348
|
+
},
|
|
550349
|
+
"429": {
|
|
550350
|
+
"description": "Too Many Requests",
|
|
550351
|
+
"schema": {
|
|
550352
|
+
"$ref": "#/definitions/app.Response"
|
|
550353
|
+
}
|
|
550354
|
+
},
|
|
550355
|
+
"503": {
|
|
550356
|
+
"description": "Service Unavailable",
|
|
550357
|
+
"schema": {
|
|
550358
|
+
"$ref": "#/definitions/app.Response"
|
|
550359
|
+
}
|
|
550360
|
+
}
|
|
550361
|
+
},
|
|
550362
|
+
"security": [
|
|
550363
|
+
{
|
|
550364
|
+
"ApiKeyAuth": []
|
|
550365
|
+
}
|
|
550366
|
+
],
|
|
550367
|
+
"summary": "List public Lichess simultaneous exhibitions",
|
|
550368
|
+
"tags": [
|
|
550369
|
+
"Lichess"
|
|
550370
|
+
]
|
|
550371
|
+
}
|
|
550372
|
+
},
|
|
550373
|
+
"/lichess/swiss": {
|
|
550374
|
+
"get": {
|
|
550375
|
+
"consumes": [
|
|
550376
|
+
"application/json"
|
|
550377
|
+
],
|
|
550378
|
+
"description": "Returns one Swiss tournament by its eight-character ID: creator, start time, name, clock, variant, round progress, player counts, status, next round and entry conditions. Requests use the shared cross-replica serial gate and honor Lichess's 60-second minimum cooldown after HTTP 429.",
|
|
550379
|
+
"operationId": "lichess-swiss",
|
|
550380
|
+
"parameters": [
|
|
550381
|
+
{
|
|
550382
|
+
"description": "Eight-character Swiss tournament ID",
|
|
550383
|
+
"in": "query",
|
|
550384
|
+
"name": "id",
|
|
550385
|
+
"required": true,
|
|
550386
|
+
"type": "string"
|
|
550387
|
+
}
|
|
550388
|
+
],
|
|
550389
|
+
"produces": [
|
|
550390
|
+
"application/json"
|
|
550391
|
+
],
|
|
550392
|
+
"responses": {
|
|
550393
|
+
"200": {
|
|
550394
|
+
"description": "OK",
|
|
550395
|
+
"schema": {
|
|
550396
|
+
"allOf": [
|
|
550397
|
+
{
|
|
550398
|
+
"$ref": "#/definitions/app.Response"
|
|
550399
|
+
},
|
|
550400
|
+
{
|
|
550401
|
+
"properties": {
|
|
550402
|
+
"data": {
|
|
550403
|
+
"$ref": "#/definitions/lichess.Response"
|
|
550404
|
+
}
|
|
550405
|
+
},
|
|
550406
|
+
"type": "object"
|
|
550407
|
+
}
|
|
550408
|
+
]
|
|
550409
|
+
}
|
|
550410
|
+
},
|
|
550411
|
+
"400": {
|
|
550412
|
+
"description": "Bad Request",
|
|
550413
|
+
"schema": {
|
|
550414
|
+
"$ref": "#/definitions/app.Response"
|
|
550415
|
+
}
|
|
550416
|
+
},
|
|
550417
|
+
"404": {
|
|
550418
|
+
"description": "Not Found",
|
|
550419
|
+
"schema": {
|
|
550420
|
+
"$ref": "#/definitions/app.Response"
|
|
550421
|
+
}
|
|
550422
|
+
},
|
|
550423
|
+
"429": {
|
|
550424
|
+
"description": "Too Many Requests",
|
|
550425
|
+
"schema": {
|
|
550426
|
+
"$ref": "#/definitions/app.Response"
|
|
550427
|
+
}
|
|
550428
|
+
},
|
|
550429
|
+
"503": {
|
|
550430
|
+
"description": "Service Unavailable",
|
|
550431
|
+
"schema": {
|
|
550432
|
+
"$ref": "#/definitions/app.Response"
|
|
550433
|
+
}
|
|
550434
|
+
}
|
|
550435
|
+
},
|
|
550436
|
+
"security": [
|
|
550437
|
+
{
|
|
550438
|
+
"ApiKeyAuth": []
|
|
550439
|
+
}
|
|
550440
|
+
],
|
|
550441
|
+
"summary": "Get a Lichess Swiss tournament",
|
|
550442
|
+
"tags": [
|
|
550443
|
+
"Lichess"
|
|
550444
|
+
]
|
|
550445
|
+
}
|
|
550446
|
+
},
|
|
550447
|
+
"/lichess/tablebase": {
|
|
550448
|
+
"get": {
|
|
550449
|
+
"consumes": [
|
|
550450
|
+
"application/json"
|
|
550451
|
+
],
|
|
550452
|
+
"description": "Returns tablebase information and legal moves for one FEN using the selected public ruleset. Supported variants are standard, atomic, and antichess. No game or player account is involved.",
|
|
550453
|
+
"operationId": "lichess-tablebase",
|
|
550454
|
+
"parameters": [
|
|
550455
|
+
{
|
|
550456
|
+
"description": "Tablebase ruleset",
|
|
550457
|
+
"enum": [
|
|
550458
|
+
"standard",
|
|
550459
|
+
"atomic",
|
|
550460
|
+
"antichess"
|
|
550461
|
+
],
|
|
550462
|
+
"in": "query",
|
|
550463
|
+
"name": "variant",
|
|
550464
|
+
"required": true,
|
|
550465
|
+
"type": "string",
|
|
550466
|
+
"x-example": "standard"
|
|
550467
|
+
},
|
|
550468
|
+
{
|
|
550469
|
+
"description": "Position in Forsyth-Edwards Notation",
|
|
550470
|
+
"in": "query",
|
|
550471
|
+
"name": "fen",
|
|
550472
|
+
"required": true,
|
|
550473
|
+
"type": "string",
|
|
550474
|
+
"x-example": "8/8/8/8/8/8/1K6/6k1 w - - 0 1"
|
|
550475
|
+
},
|
|
550476
|
+
{
|
|
550477
|
+
"description": "Standard tablebase distance-to-conversion mode",
|
|
550478
|
+
"enum": [
|
|
550479
|
+
"never",
|
|
550480
|
+
"auxiliary",
|
|
550481
|
+
"always"
|
|
550482
|
+
],
|
|
550483
|
+
"in": "query",
|
|
550484
|
+
"name": "dtc",
|
|
550485
|
+
"type": "string"
|
|
550486
|
+
}
|
|
550487
|
+
],
|
|
550488
|
+
"produces": [
|
|
550489
|
+
"application/json"
|
|
550490
|
+
],
|
|
550491
|
+
"responses": {
|
|
550492
|
+
"200": {
|
|
550493
|
+
"description": "OK",
|
|
550494
|
+
"schema": {
|
|
550495
|
+
"allOf": [
|
|
550496
|
+
{
|
|
550497
|
+
"$ref": "#/definitions/app.Response"
|
|
550498
|
+
},
|
|
550499
|
+
{
|
|
550500
|
+
"properties": {
|
|
550501
|
+
"data": {
|
|
550502
|
+
"$ref": "#/definitions/lichess.Response"
|
|
550503
|
+
}
|
|
550504
|
+
},
|
|
550505
|
+
"type": "object"
|
|
550506
|
+
}
|
|
550507
|
+
]
|
|
550508
|
+
}
|
|
550509
|
+
},
|
|
550510
|
+
"400": {
|
|
550511
|
+
"description": "Bad Request",
|
|
550512
|
+
"schema": {
|
|
550513
|
+
"$ref": "#/definitions/app.Response"
|
|
550514
|
+
}
|
|
550515
|
+
},
|
|
550516
|
+
"404": {
|
|
550517
|
+
"description": "Not Found",
|
|
550518
|
+
"schema": {
|
|
550519
|
+
"$ref": "#/definitions/app.Response"
|
|
550520
|
+
}
|
|
550521
|
+
},
|
|
550522
|
+
"429": {
|
|
550523
|
+
"description": "Too Many Requests",
|
|
550524
|
+
"schema": {
|
|
550525
|
+
"$ref": "#/definitions/app.Response"
|
|
550526
|
+
}
|
|
550527
|
+
},
|
|
550528
|
+
"503": {
|
|
550529
|
+
"description": "Service Unavailable",
|
|
550530
|
+
"schema": {
|
|
550531
|
+
"$ref": "#/definitions/app.Response"
|
|
550532
|
+
}
|
|
550533
|
+
}
|
|
550534
|
+
},
|
|
550535
|
+
"security": [
|
|
550536
|
+
{
|
|
550537
|
+
"ApiKeyAuth": []
|
|
550538
|
+
}
|
|
550539
|
+
],
|
|
550540
|
+
"summary": "Query the Lichess tablebase",
|
|
550541
|
+
"tags": [
|
|
550542
|
+
"Lichess"
|
|
550543
|
+
]
|
|
550544
|
+
}
|
|
550545
|
+
},
|
|
550546
|
+
"/lichess/team/swiss": {
|
|
550547
|
+
"get": {
|
|
550548
|
+
"consumes": [
|
|
550549
|
+
"application/json"
|
|
550550
|
+
],
|
|
550551
|
+
"description": "Returns a team's Swiss tournaments from the source NDJSON stream, bounded by max (1 through 100, default 100). Optional filters: status (created, started, finished), createdBy (username) and exact name. Requests use the shared cross-replica serial gate and honor Lichess's 60-second minimum cooldown after HTTP 429.",
|
|
550552
|
+
"operationId": "lichess-team-swiss",
|
|
550553
|
+
"parameters": [
|
|
550554
|
+
{
|
|
550555
|
+
"description": "Lichess team ID (slug)",
|
|
550556
|
+
"in": "query",
|
|
550557
|
+
"name": "teamId",
|
|
550558
|
+
"required": true,
|
|
550559
|
+
"type": "string"
|
|
550560
|
+
},
|
|
550561
|
+
{
|
|
550562
|
+
"description": "Number of tournaments 1 through 100; default 100",
|
|
550563
|
+
"in": "query",
|
|
550564
|
+
"name": "max",
|
|
550565
|
+
"type": "integer"
|
|
550566
|
+
},
|
|
550567
|
+
{
|
|
550568
|
+
"description": "Swiss state filter",
|
|
550569
|
+
"enum": [
|
|
550570
|
+
"created",
|
|
550571
|
+
"started",
|
|
550572
|
+
"finished"
|
|
550573
|
+
],
|
|
550574
|
+
"in": "query",
|
|
550575
|
+
"name": "status",
|
|
550576
|
+
"type": "string"
|
|
550577
|
+
},
|
|
550578
|
+
{
|
|
550579
|
+
"description": "Only tournaments created by this username",
|
|
550580
|
+
"in": "query",
|
|
550581
|
+
"name": "createdBy",
|
|
550582
|
+
"type": "string"
|
|
550583
|
+
},
|
|
550584
|
+
{
|
|
550585
|
+
"description": "Only tournaments with exactly this name",
|
|
550586
|
+
"in": "query",
|
|
550587
|
+
"name": "name",
|
|
550588
|
+
"type": "string"
|
|
550589
|
+
}
|
|
550590
|
+
],
|
|
550591
|
+
"produces": [
|
|
550592
|
+
"application/json"
|
|
550593
|
+
],
|
|
550594
|
+
"responses": {
|
|
550595
|
+
"200": {
|
|
550596
|
+
"description": "OK",
|
|
550597
|
+
"schema": {
|
|
550598
|
+
"allOf": [
|
|
550599
|
+
{
|
|
550600
|
+
"$ref": "#/definitions/app.Response"
|
|
550601
|
+
},
|
|
550602
|
+
{
|
|
550603
|
+
"properties": {
|
|
550604
|
+
"data": {
|
|
550605
|
+
"$ref": "#/definitions/lichess.Response"
|
|
550606
|
+
}
|
|
550607
|
+
},
|
|
550608
|
+
"type": "object"
|
|
550609
|
+
}
|
|
550610
|
+
]
|
|
550611
|
+
}
|
|
550612
|
+
},
|
|
550613
|
+
"400": {
|
|
550614
|
+
"description": "Bad Request",
|
|
550615
|
+
"schema": {
|
|
550616
|
+
"$ref": "#/definitions/app.Response"
|
|
550617
|
+
}
|
|
550618
|
+
},
|
|
550619
|
+
"404": {
|
|
550620
|
+
"description": "Not Found",
|
|
550621
|
+
"schema": {
|
|
550622
|
+
"$ref": "#/definitions/app.Response"
|
|
550623
|
+
}
|
|
550624
|
+
},
|
|
550625
|
+
"429": {
|
|
550626
|
+
"description": "Too Many Requests",
|
|
550627
|
+
"schema": {
|
|
550628
|
+
"$ref": "#/definitions/app.Response"
|
|
550629
|
+
}
|
|
550630
|
+
},
|
|
550631
|
+
"503": {
|
|
550632
|
+
"description": "Service Unavailable",
|
|
550633
|
+
"schema": {
|
|
550634
|
+
"$ref": "#/definitions/app.Response"
|
|
550635
|
+
}
|
|
550636
|
+
}
|
|
550637
|
+
},
|
|
550638
|
+
"security": [
|
|
550639
|
+
{
|
|
550640
|
+
"ApiKeyAuth": []
|
|
550641
|
+
}
|
|
550642
|
+
],
|
|
550643
|
+
"summary": "List a Lichess team's Swiss tournaments",
|
|
550644
|
+
"tags": [
|
|
550645
|
+
"Lichess"
|
|
550646
|
+
]
|
|
550647
|
+
}
|
|
550648
|
+
},
|
|
550649
|
+
"/lichess/teams": {
|
|
550650
|
+
"get": {
|
|
550651
|
+
"consumes": [
|
|
550652
|
+
"application/json"
|
|
550653
|
+
],
|
|
550654
|
+
"description": "Returns the source's paginated list of popular teams (15 per page) with team ID, name, description, open state, leader(s), member count and flair, plus page and result counts. Requests use the shared cross-replica serial gate and honor Lichess's 60-second minimum cooldown after HTTP 429.",
|
|
550655
|
+
"operationId": "lichess-teams",
|
|
550656
|
+
"parameters": [
|
|
550657
|
+
{
|
|
550658
|
+
"description": "Source page 1 through 40; default 1. Lichess rejects deeper pages as too old.",
|
|
550659
|
+
"in": "query",
|
|
550660
|
+
"name": "page",
|
|
550661
|
+
"type": "integer"
|
|
550662
|
+
}
|
|
550663
|
+
],
|
|
550664
|
+
"produces": [
|
|
550665
|
+
"application/json"
|
|
550666
|
+
],
|
|
550667
|
+
"responses": {
|
|
550668
|
+
"200": {
|
|
550669
|
+
"description": "OK",
|
|
550670
|
+
"schema": {
|
|
550671
|
+
"allOf": [
|
|
550672
|
+
{
|
|
550673
|
+
"$ref": "#/definitions/app.Response"
|
|
550674
|
+
},
|
|
550675
|
+
{
|
|
550676
|
+
"properties": {
|
|
550677
|
+
"data": {
|
|
550678
|
+
"$ref": "#/definitions/lichess.Response"
|
|
550679
|
+
}
|
|
550680
|
+
},
|
|
550681
|
+
"type": "object"
|
|
550682
|
+
}
|
|
550683
|
+
]
|
|
550684
|
+
}
|
|
550685
|
+
},
|
|
550686
|
+
"400": {
|
|
550687
|
+
"description": "Bad Request",
|
|
550688
|
+
"schema": {
|
|
550689
|
+
"$ref": "#/definitions/app.Response"
|
|
550690
|
+
}
|
|
550691
|
+
},
|
|
550692
|
+
"429": {
|
|
550693
|
+
"description": "Too Many Requests",
|
|
550694
|
+
"schema": {
|
|
550695
|
+
"$ref": "#/definitions/app.Response"
|
|
550696
|
+
}
|
|
550697
|
+
},
|
|
550698
|
+
"503": {
|
|
550699
|
+
"description": "Service Unavailable",
|
|
550700
|
+
"schema": {
|
|
550701
|
+
"$ref": "#/definitions/app.Response"
|
|
550702
|
+
}
|
|
550703
|
+
}
|
|
550704
|
+
},
|
|
550705
|
+
"security": [
|
|
550706
|
+
{
|
|
550707
|
+
"ApiKeyAuth": []
|
|
550708
|
+
}
|
|
550709
|
+
],
|
|
550710
|
+
"summary": "List popular Lichess teams",
|
|
550711
|
+
"tags": [
|
|
550712
|
+
"Lichess"
|
|
550713
|
+
]
|
|
550714
|
+
}
|
|
550715
|
+
},
|
|
550716
|
+
"/lichess/teams/search": {
|
|
550717
|
+
"get": {
|
|
550718
|
+
"consumes": [
|
|
550719
|
+
"application/json"
|
|
550720
|
+
],
|
|
550721
|
+
"description": "Searches Lichess teams by keyword (sent upstream as text) and returns the paginated team records (15 per page) with page and result counts. Requests use the shared cross-replica serial gate and honor Lichess's 60-second minimum cooldown after HTTP 429.",
|
|
550722
|
+
"operationId": "lichess-teams-search",
|
|
550723
|
+
"parameters": [
|
|
550724
|
+
{
|
|
550725
|
+
"description": "Team search term",
|
|
550726
|
+
"in": "query",
|
|
550727
|
+
"name": "q",
|
|
550728
|
+
"required": true,
|
|
550729
|
+
"type": "string"
|
|
550730
|
+
},
|
|
550731
|
+
{
|
|
550732
|
+
"description": "Source page 1 through 40; default 1. Lichess rejects deeper pages as too old.",
|
|
550733
|
+
"in": "query",
|
|
550734
|
+
"name": "page",
|
|
550735
|
+
"type": "integer"
|
|
550736
|
+
}
|
|
550737
|
+
],
|
|
550738
|
+
"produces": [
|
|
550739
|
+
"application/json"
|
|
550740
|
+
],
|
|
550741
|
+
"responses": {
|
|
550742
|
+
"200": {
|
|
550743
|
+
"description": "OK",
|
|
550744
|
+
"schema": {
|
|
550745
|
+
"allOf": [
|
|
550746
|
+
{
|
|
550747
|
+
"$ref": "#/definitions/app.Response"
|
|
550748
|
+
},
|
|
550749
|
+
{
|
|
550750
|
+
"properties": {
|
|
550751
|
+
"data": {
|
|
550752
|
+
"$ref": "#/definitions/lichess.Response"
|
|
550753
|
+
}
|
|
550754
|
+
},
|
|
550755
|
+
"type": "object"
|
|
550756
|
+
}
|
|
550757
|
+
]
|
|
550758
|
+
}
|
|
550759
|
+
},
|
|
550760
|
+
"400": {
|
|
550761
|
+
"description": "Bad Request",
|
|
550762
|
+
"schema": {
|
|
550763
|
+
"$ref": "#/definitions/app.Response"
|
|
550764
|
+
}
|
|
550765
|
+
},
|
|
550766
|
+
"404": {
|
|
550767
|
+
"description": "Not Found",
|
|
550768
|
+
"schema": {
|
|
550769
|
+
"$ref": "#/definitions/app.Response"
|
|
550770
|
+
}
|
|
550771
|
+
},
|
|
550772
|
+
"429": {
|
|
550773
|
+
"description": "Too Many Requests",
|
|
550774
|
+
"schema": {
|
|
550775
|
+
"$ref": "#/definitions/app.Response"
|
|
550776
|
+
}
|
|
550777
|
+
},
|
|
550778
|
+
"503": {
|
|
550779
|
+
"description": "Service Unavailable",
|
|
550780
|
+
"schema": {
|
|
550781
|
+
"$ref": "#/definitions/app.Response"
|
|
550782
|
+
}
|
|
550783
|
+
}
|
|
550784
|
+
},
|
|
550785
|
+
"security": [
|
|
550786
|
+
{
|
|
550787
|
+
"ApiKeyAuth": []
|
|
550788
|
+
}
|
|
550789
|
+
],
|
|
550790
|
+
"summary": "Search Lichess teams",
|
|
550791
|
+
"tags": [
|
|
550792
|
+
"Lichess"
|
|
550793
|
+
]
|
|
550794
|
+
}
|
|
550795
|
+
},
|
|
550796
|
+
"/lichess/tournament": {
|
|
550797
|
+
"get": {
|
|
550798
|
+
"consumes": [
|
|
550799
|
+
"application/json"
|
|
550800
|
+
],
|
|
550801
|
+
"description": "Returns one Arena tournament by its eight-character ID: settings, podium, current duels, statistics and one page of the standings (page 1 through 200, 10 players per page). Person-level records (usernames, names, ratings) are returned as published under the maintainer's 2026-11-23 approval. Requests use the shared cross-replica serial gate and honor Lichess's 60-second minimum cooldown after HTTP 429.",
|
|
550802
|
+
"operationId": "lichess-tournament",
|
|
550803
|
+
"parameters": [
|
|
550804
|
+
{
|
|
550805
|
+
"description": "Eight-character Arena tournament ID",
|
|
550806
|
+
"in": "query",
|
|
550807
|
+
"name": "id",
|
|
550808
|
+
"required": true,
|
|
550809
|
+
"type": "string"
|
|
550810
|
+
},
|
|
550811
|
+
{
|
|
550812
|
+
"description": "Standings page 1 through 200; default 1",
|
|
550813
|
+
"in": "query",
|
|
550814
|
+
"name": "page",
|
|
550815
|
+
"type": "integer"
|
|
550816
|
+
}
|
|
550817
|
+
],
|
|
550818
|
+
"produces": [
|
|
550819
|
+
"application/json"
|
|
550820
|
+
],
|
|
550821
|
+
"responses": {
|
|
550822
|
+
"200": {
|
|
550823
|
+
"description": "OK",
|
|
550824
|
+
"schema": {
|
|
550825
|
+
"allOf": [
|
|
550826
|
+
{
|
|
550827
|
+
"$ref": "#/definitions/app.Response"
|
|
550828
|
+
},
|
|
550829
|
+
{
|
|
550830
|
+
"properties": {
|
|
550831
|
+
"data": {
|
|
550832
|
+
"$ref": "#/definitions/lichess.Response"
|
|
550833
|
+
}
|
|
550834
|
+
},
|
|
550835
|
+
"type": "object"
|
|
550836
|
+
}
|
|
550837
|
+
]
|
|
550838
|
+
}
|
|
550839
|
+
},
|
|
550840
|
+
"400": {
|
|
550841
|
+
"description": "Bad Request",
|
|
550842
|
+
"schema": {
|
|
550843
|
+
"$ref": "#/definitions/app.Response"
|
|
550844
|
+
}
|
|
550845
|
+
},
|
|
550846
|
+
"404": {
|
|
550847
|
+
"description": "Not Found",
|
|
550848
|
+
"schema": {
|
|
550849
|
+
"$ref": "#/definitions/app.Response"
|
|
550850
|
+
}
|
|
550851
|
+
},
|
|
550852
|
+
"429": {
|
|
550853
|
+
"description": "Too Many Requests",
|
|
550854
|
+
"schema": {
|
|
550855
|
+
"$ref": "#/definitions/app.Response"
|
|
550856
|
+
}
|
|
550857
|
+
},
|
|
550858
|
+
"503": {
|
|
550859
|
+
"description": "Service Unavailable",
|
|
550860
|
+
"schema": {
|
|
550861
|
+
"$ref": "#/definitions/app.Response"
|
|
550862
|
+
}
|
|
550863
|
+
}
|
|
550864
|
+
},
|
|
550865
|
+
"security": [
|
|
550866
|
+
{
|
|
550867
|
+
"ApiKeyAuth": []
|
|
550868
|
+
}
|
|
550869
|
+
],
|
|
550870
|
+
"summary": "Get a Lichess Arena tournament",
|
|
550871
|
+
"tags": [
|
|
550872
|
+
"Lichess"
|
|
550873
|
+
]
|
|
550874
|
+
}
|
|
550875
|
+
},
|
|
550876
|
+
"/lichess/tournament/results": {
|
|
550877
|
+
"get": {
|
|
550878
|
+
"consumes": [
|
|
550879
|
+
"application/json"
|
|
550880
|
+
],
|
|
550881
|
+
"description": "Returns an Arena tournament's ranked players (rank, score, rating, username, title, flair, performance) from the source NDJSON stream, bounded by nb (1 through 200, default 100). sheet adds each player's score sheet. Person-level records (usernames, names, ratings) are returned as published under the maintainer's 2026-11-23 approval. Requests use the shared cross-replica serial gate and honor Lichess's 60-second minimum cooldown after HTTP 429.",
|
|
550882
|
+
"operationId": "lichess-tournament-results",
|
|
550883
|
+
"parameters": [
|
|
550884
|
+
{
|
|
550885
|
+
"description": "Eight-character Arena tournament ID",
|
|
550886
|
+
"in": "query",
|
|
550887
|
+
"name": "id",
|
|
550888
|
+
"required": true,
|
|
550889
|
+
"type": "string"
|
|
550890
|
+
},
|
|
550891
|
+
{
|
|
550892
|
+
"description": "Number of ranked players 1 through 200; default 100",
|
|
550893
|
+
"in": "query",
|
|
550894
|
+
"name": "nb",
|
|
550895
|
+
"type": "integer"
|
|
550896
|
+
},
|
|
550897
|
+
{
|
|
550898
|
+
"description": "Add each player's score sheet; source default false",
|
|
550899
|
+
"in": "query",
|
|
550900
|
+
"name": "sheet",
|
|
550901
|
+
"type": "boolean"
|
|
550902
|
+
}
|
|
550903
|
+
],
|
|
550904
|
+
"produces": [
|
|
550905
|
+
"application/json"
|
|
550906
|
+
],
|
|
550907
|
+
"responses": {
|
|
550908
|
+
"200": {
|
|
550909
|
+
"description": "OK",
|
|
550910
|
+
"schema": {
|
|
550911
|
+
"allOf": [
|
|
550912
|
+
{
|
|
550913
|
+
"$ref": "#/definitions/app.Response"
|
|
550914
|
+
},
|
|
550915
|
+
{
|
|
550916
|
+
"properties": {
|
|
550917
|
+
"data": {
|
|
550918
|
+
"$ref": "#/definitions/lichess.Response"
|
|
550919
|
+
}
|
|
550920
|
+
},
|
|
550921
|
+
"type": "object"
|
|
550922
|
+
}
|
|
550923
|
+
]
|
|
550924
|
+
}
|
|
550925
|
+
},
|
|
550926
|
+
"400": {
|
|
550927
|
+
"description": "Bad Request",
|
|
550928
|
+
"schema": {
|
|
550929
|
+
"$ref": "#/definitions/app.Response"
|
|
550930
|
+
}
|
|
550931
|
+
},
|
|
550932
|
+
"404": {
|
|
550933
|
+
"description": "Not Found",
|
|
550934
|
+
"schema": {
|
|
550935
|
+
"$ref": "#/definitions/app.Response"
|
|
550936
|
+
}
|
|
550937
|
+
},
|
|
550938
|
+
"429": {
|
|
550939
|
+
"description": "Too Many Requests",
|
|
550940
|
+
"schema": {
|
|
550941
|
+
"$ref": "#/definitions/app.Response"
|
|
550942
|
+
}
|
|
550943
|
+
},
|
|
550944
|
+
"503": {
|
|
550945
|
+
"description": "Service Unavailable",
|
|
550946
|
+
"schema": {
|
|
550947
|
+
"$ref": "#/definitions/app.Response"
|
|
550948
|
+
}
|
|
550949
|
+
}
|
|
550950
|
+
},
|
|
550951
|
+
"security": [
|
|
550952
|
+
{
|
|
550953
|
+
"ApiKeyAuth": []
|
|
550954
|
+
}
|
|
550955
|
+
],
|
|
550956
|
+
"summary": "Get Lichess Arena tournament results",
|
|
550957
|
+
"tags": [
|
|
550958
|
+
"Lichess"
|
|
550959
|
+
]
|
|
550960
|
+
}
|
|
550961
|
+
},
|
|
550962
|
+
"/lichess/tournaments": {
|
|
550963
|
+
"get": {
|
|
550964
|
+
"consumes": [
|
|
550965
|
+
"application/json"
|
|
550966
|
+
],
|
|
550967
|
+
"description": "Returns the source's created, started and finished Arena tournament lists with IDs, creator, clock, variant, perf, schedule, player counts, start/finish times and finished-event winners. Requests use the shared cross-replica serial gate and honor Lichess's 60-second minimum cooldown after HTTP 429.",
|
|
550968
|
+
"operationId": "lichess-tournaments",
|
|
550969
|
+
"produces": [
|
|
550970
|
+
"application/json"
|
|
550971
|
+
],
|
|
550972
|
+
"responses": {
|
|
550973
|
+
"200": {
|
|
550974
|
+
"description": "OK",
|
|
550975
|
+
"schema": {
|
|
550976
|
+
"allOf": [
|
|
550977
|
+
{
|
|
550978
|
+
"$ref": "#/definitions/app.Response"
|
|
550979
|
+
},
|
|
550980
|
+
{
|
|
550981
|
+
"properties": {
|
|
550982
|
+
"data": {
|
|
550983
|
+
"$ref": "#/definitions/lichess.Response"
|
|
550984
|
+
}
|
|
550985
|
+
},
|
|
550986
|
+
"type": "object"
|
|
550987
|
+
}
|
|
550988
|
+
]
|
|
550989
|
+
}
|
|
550990
|
+
},
|
|
550991
|
+
"429": {
|
|
550992
|
+
"description": "Too Many Requests",
|
|
550993
|
+
"schema": {
|
|
550994
|
+
"$ref": "#/definitions/app.Response"
|
|
550995
|
+
}
|
|
550996
|
+
},
|
|
550997
|
+
"503": {
|
|
550998
|
+
"description": "Service Unavailable",
|
|
550999
|
+
"schema": {
|
|
551000
|
+
"$ref": "#/definitions/app.Response"
|
|
551001
|
+
}
|
|
551002
|
+
}
|
|
551003
|
+
},
|
|
551004
|
+
"security": [
|
|
551005
|
+
{
|
|
551006
|
+
"ApiKeyAuth": []
|
|
551007
|
+
}
|
|
551008
|
+
],
|
|
551009
|
+
"summary": "List current Lichess Arena tournaments",
|
|
551010
|
+
"tags": [
|
|
551011
|
+
"Lichess"
|
|
551012
|
+
]
|
|
551013
|
+
}
|
|
551014
|
+
},
|
|
551015
|
+
"/lichess/tv/channels": {
|
|
551016
|
+
"get": {
|
|
551017
|
+
"consumes": [
|
|
551018
|
+
"application/json"
|
|
551019
|
+
],
|
|
551020
|
+
"description": "Returns every Lichess TV channel (best, the speeds, the variants, bot and computer) with the featured game's ID, color, rating and player. Person-level records (usernames, names, ratings) are returned as published under the maintainer's 2026-11-23 approval. Requests use the shared cross-replica serial gate and honor Lichess's 60-second minimum cooldown after HTTP 429.",
|
|
551021
|
+
"operationId": "lichess-tv-channels",
|
|
551022
|
+
"produces": [
|
|
551023
|
+
"application/json"
|
|
551024
|
+
],
|
|
551025
|
+
"responses": {
|
|
551026
|
+
"200": {
|
|
551027
|
+
"description": "OK",
|
|
551028
|
+
"schema": {
|
|
551029
|
+
"allOf": [
|
|
551030
|
+
{
|
|
551031
|
+
"$ref": "#/definitions/app.Response"
|
|
551032
|
+
},
|
|
551033
|
+
{
|
|
551034
|
+
"properties": {
|
|
551035
|
+
"data": {
|
|
551036
|
+
"$ref": "#/definitions/lichess.Response"
|
|
551037
|
+
}
|
|
551038
|
+
},
|
|
551039
|
+
"type": "object"
|
|
551040
|
+
}
|
|
551041
|
+
]
|
|
551042
|
+
}
|
|
551043
|
+
},
|
|
551044
|
+
"429": {
|
|
551045
|
+
"description": "Too Many Requests",
|
|
551046
|
+
"schema": {
|
|
551047
|
+
"$ref": "#/definitions/app.Response"
|
|
551048
|
+
}
|
|
551049
|
+
},
|
|
551050
|
+
"503": {
|
|
551051
|
+
"description": "Service Unavailable",
|
|
551052
|
+
"schema": {
|
|
551053
|
+
"$ref": "#/definitions/app.Response"
|
|
551054
|
+
}
|
|
551055
|
+
}
|
|
551056
|
+
},
|
|
551057
|
+
"security": [
|
|
551058
|
+
{
|
|
551059
|
+
"ApiKeyAuth": []
|
|
551060
|
+
}
|
|
551061
|
+
],
|
|
551062
|
+
"summary": "List Lichess TV channels",
|
|
551063
|
+
"tags": [
|
|
551064
|
+
"Lichess"
|
|
551065
|
+
]
|
|
551066
|
+
}
|
|
551067
|
+
},
|
|
551068
|
+
"/lichess/user": {
|
|
551069
|
+
"get": {
|
|
551070
|
+
"consumes": [
|
|
551071
|
+
"application/json"
|
|
551072
|
+
],
|
|
551073
|
+
"description": "Returns one public Lichess user: ID, username, perfs, flair, title, created/seen times, play time, counts, profile, streamer and patron state. trophies adds trophies, rank adds global ranks per perf and profile=false omits the profile block. Person-level records (usernames, names, ratings) are returned as published under the maintainer's 2026-11-23 approval. Requests use the shared cross-replica serial gate and honor Lichess's 60-second minimum cooldown after HTTP 429.",
|
|
551074
|
+
"operationId": "lichess-user",
|
|
551075
|
+
"parameters": [
|
|
551076
|
+
{
|
|
551077
|
+
"description": "Lichess username",
|
|
551078
|
+
"in": "query",
|
|
551079
|
+
"name": "username",
|
|
551080
|
+
"required": true,
|
|
551081
|
+
"type": "string"
|
|
551082
|
+
},
|
|
551083
|
+
{
|
|
551084
|
+
"description": "Include trophies; source default false",
|
|
551085
|
+
"in": "query",
|
|
551086
|
+
"name": "trophies",
|
|
551087
|
+
"type": "boolean"
|
|
551088
|
+
},
|
|
551089
|
+
{
|
|
551090
|
+
"description": "Include profile data; source default true",
|
|
551091
|
+
"in": "query",
|
|
551092
|
+
"name": "profile",
|
|
551093
|
+
"type": "boolean"
|
|
551094
|
+
},
|
|
551095
|
+
{
|
|
551096
|
+
"description": "Include the global rank for each perf; source default false",
|
|
551097
|
+
"in": "query",
|
|
551098
|
+
"name": "rank",
|
|
551099
|
+
"type": "boolean"
|
|
551100
|
+
}
|
|
551101
|
+
],
|
|
551102
|
+
"produces": [
|
|
551103
|
+
"application/json"
|
|
551104
|
+
],
|
|
551105
|
+
"responses": {
|
|
551106
|
+
"200": {
|
|
551107
|
+
"description": "OK",
|
|
551108
|
+
"schema": {
|
|
551109
|
+
"allOf": [
|
|
551110
|
+
{
|
|
551111
|
+
"$ref": "#/definitions/app.Response"
|
|
551112
|
+
},
|
|
551113
|
+
{
|
|
551114
|
+
"properties": {
|
|
551115
|
+
"data": {
|
|
551116
|
+
"$ref": "#/definitions/lichess.Response"
|
|
551117
|
+
}
|
|
551118
|
+
},
|
|
551119
|
+
"type": "object"
|
|
551120
|
+
}
|
|
551121
|
+
]
|
|
551122
|
+
}
|
|
551123
|
+
},
|
|
551124
|
+
"400": {
|
|
551125
|
+
"description": "Bad Request",
|
|
551126
|
+
"schema": {
|
|
551127
|
+
"$ref": "#/definitions/app.Response"
|
|
551128
|
+
}
|
|
551129
|
+
},
|
|
551130
|
+
"404": {
|
|
551131
|
+
"description": "Not Found",
|
|
551132
|
+
"schema": {
|
|
551133
|
+
"$ref": "#/definitions/app.Response"
|
|
551134
|
+
}
|
|
551135
|
+
},
|
|
551136
|
+
"429": {
|
|
551137
|
+
"description": "Too Many Requests",
|
|
551138
|
+
"schema": {
|
|
551139
|
+
"$ref": "#/definitions/app.Response"
|
|
551140
|
+
}
|
|
551141
|
+
},
|
|
551142
|
+
"503": {
|
|
551143
|
+
"description": "Service Unavailable",
|
|
551144
|
+
"schema": {
|
|
551145
|
+
"$ref": "#/definitions/app.Response"
|
|
551146
|
+
}
|
|
551147
|
+
}
|
|
551148
|
+
},
|
|
551149
|
+
"security": [
|
|
551150
|
+
{
|
|
551151
|
+
"ApiKeyAuth": []
|
|
551152
|
+
}
|
|
551153
|
+
],
|
|
551154
|
+
"summary": "Get a Lichess user profile",
|
|
551155
|
+
"tags": [
|
|
551156
|
+
"Lichess"
|
|
551157
|
+
]
|
|
551158
|
+
}
|
|
551159
|
+
},
|
|
551160
|
+
"/lichess/user/perf": {
|
|
551161
|
+
"get": {
|
|
551162
|
+
"consumes": [
|
|
551163
|
+
"application/json"
|
|
551164
|
+
],
|
|
551165
|
+
"description": "Returns one user's statistics for one perf: Glicko rating and deviation, game count, progress, rank, percentile, highest/lowest ratings, best wins, worst losses, result counts and streaks. perf is one of ultraBullet, bullet, blitz, rapid, classical, correspondence, chess960, crazyhouse, antichess, atomic, horde, kingOfTheHill, racingKings, threeCheck. Person-level records (usernames, names, ratings) are returned as published under the maintainer's 2026-11-23 approval. Requests use the shared cross-replica serial gate and honor Lichess's 60-second minimum cooldown after HTTP 429.",
|
|
551166
|
+
"operationId": "lichess-user-perf",
|
|
551167
|
+
"parameters": [
|
|
551168
|
+
{
|
|
551169
|
+
"description": "Lichess username",
|
|
551170
|
+
"in": "query",
|
|
551171
|
+
"name": "username",
|
|
551172
|
+
"required": true,
|
|
551173
|
+
"type": "string"
|
|
551174
|
+
},
|
|
551175
|
+
{
|
|
551176
|
+
"description": "Perf type",
|
|
551177
|
+
"enum": [
|
|
551178
|
+
"ultraBullet",
|
|
551179
|
+
"bullet",
|
|
551180
|
+
"blitz",
|
|
551181
|
+
"rapid",
|
|
551182
|
+
"classical",
|
|
551183
|
+
"correspondence",
|
|
551184
|
+
"chess960",
|
|
551185
|
+
"crazyhouse",
|
|
551186
|
+
"antichess",
|
|
551187
|
+
"atomic",
|
|
551188
|
+
"horde",
|
|
551189
|
+
"kingOfTheHill",
|
|
551190
|
+
"racingKings",
|
|
551191
|
+
"threeCheck"
|
|
551192
|
+
],
|
|
551193
|
+
"in": "query",
|
|
551194
|
+
"name": "perf",
|
|
551195
|
+
"required": true,
|
|
551196
|
+
"type": "string"
|
|
551197
|
+
}
|
|
551198
|
+
],
|
|
551199
|
+
"produces": [
|
|
551200
|
+
"application/json"
|
|
551201
|
+
],
|
|
551202
|
+
"responses": {
|
|
551203
|
+
"200": {
|
|
551204
|
+
"description": "OK",
|
|
551205
|
+
"schema": {
|
|
551206
|
+
"allOf": [
|
|
551207
|
+
{
|
|
551208
|
+
"$ref": "#/definitions/app.Response"
|
|
551209
|
+
},
|
|
551210
|
+
{
|
|
551211
|
+
"properties": {
|
|
551212
|
+
"data": {
|
|
551213
|
+
"$ref": "#/definitions/lichess.Response"
|
|
551214
|
+
}
|
|
551215
|
+
},
|
|
551216
|
+
"type": "object"
|
|
551217
|
+
}
|
|
551218
|
+
]
|
|
551219
|
+
}
|
|
551220
|
+
},
|
|
551221
|
+
"400": {
|
|
551222
|
+
"description": "Bad Request",
|
|
548893
551223
|
"schema": {
|
|
548894
551224
|
"$ref": "#/definitions/app.Response"
|
|
548895
551225
|
}
|
|
548896
551226
|
},
|
|
548897
|
-
"
|
|
548898
|
-
"description": "
|
|
551227
|
+
"404": {
|
|
551228
|
+
"description": "Not Found",
|
|
548899
551229
|
"schema": {
|
|
548900
551230
|
"$ref": "#/definitions/app.Response"
|
|
548901
551231
|
}
|
|
548902
|
-
}
|
|
548903
|
-
},
|
|
548904
|
-
"security": [
|
|
548905
|
-
{
|
|
548906
|
-
"ApiKeyAuth": []
|
|
548907
|
-
}
|
|
548908
|
-
],
|
|
548909
|
-
"summary": "Discover Lichess puzzle themes",
|
|
548910
|
-
"tags": [
|
|
548911
|
-
"Lichess"
|
|
548912
|
-
]
|
|
548913
|
-
}
|
|
548914
|
-
},
|
|
548915
|
-
"/lichess/simuls": {
|
|
548916
|
-
"get": {
|
|
548917
|
-
"consumes": [
|
|
548918
|
-
"application/json"
|
|
548919
|
-
],
|
|
548920
|
-
"description": "Returns public created, started, and finished Simuls with source variants, lifecycle fields, applicant/pairing counts, host ID/name/rating/online state, and user-authored name/text fields. Only pending listings are OAuth-specific and are omitted. Requests use the shared serial gate and honor Lichess's 60-second minimum cooldown after 429.",
|
|
548921
|
-
"operationId": "lichess-simuls",
|
|
548922
|
-
"produces": [
|
|
548923
|
-
"application/json"
|
|
548924
|
-
],
|
|
548925
|
-
"responses": {
|
|
548926
|
-
"200": {
|
|
548927
|
-
"description": "OK",
|
|
548928
|
-
"schema": {
|
|
548929
|
-
"allOf": [
|
|
548930
|
-
{
|
|
548931
|
-
"$ref": "#/definitions/app.Response"
|
|
548932
|
-
},
|
|
548933
|
-
{
|
|
548934
|
-
"properties": {
|
|
548935
|
-
"data": {
|
|
548936
|
-
"$ref": "#/definitions/lichess.Response"
|
|
548937
|
-
}
|
|
548938
|
-
},
|
|
548939
|
-
"type": "object"
|
|
548940
|
-
}
|
|
548941
|
-
]
|
|
548942
|
-
}
|
|
548943
551232
|
},
|
|
548944
551233
|
"429": {
|
|
548945
551234
|
"description": "Too Many Requests",
|
|
@@ -548959,50 +551248,25 @@
|
|
|
548959
551248
|
"ApiKeyAuth": []
|
|
548960
551249
|
}
|
|
548961
551250
|
],
|
|
548962
|
-
"summary": "
|
|
551251
|
+
"summary": "Get a Lichess user's perf statistics",
|
|
548963
551252
|
"tags": [
|
|
548964
551253
|
"Lichess"
|
|
548965
551254
|
]
|
|
548966
551255
|
}
|
|
548967
551256
|
},
|
|
548968
|
-
"/lichess/
|
|
551257
|
+
"/lichess/user/rating-history": {
|
|
548969
551258
|
"get": {
|
|
548970
551259
|
"consumes": [
|
|
548971
551260
|
"application/json"
|
|
548972
551261
|
],
|
|
548973
|
-
"description": "Returns
|
|
548974
|
-
"operationId": "lichess-
|
|
551262
|
+
"description": "Returns one user's rating history per perf as the source's [year, month (0-based), day, rating] points. Users without rated history return an empty list. Person-level records (usernames, names, ratings) are returned as published under the maintainer's 2026-11-23 approval. Requests use the shared cross-replica serial gate and honor Lichess's 60-second minimum cooldown after HTTP 429.",
|
|
551263
|
+
"operationId": "lichess-user-rating-history",
|
|
548975
551264
|
"parameters": [
|
|
548976
551265
|
{
|
|
548977
|
-
"description": "
|
|
548978
|
-
"enum": [
|
|
548979
|
-
"standard",
|
|
548980
|
-
"atomic",
|
|
548981
|
-
"antichess"
|
|
548982
|
-
],
|
|
548983
|
-
"in": "query",
|
|
548984
|
-
"name": "variant",
|
|
548985
|
-
"required": true,
|
|
548986
|
-
"type": "string",
|
|
548987
|
-
"x-example": "standard"
|
|
548988
|
-
},
|
|
548989
|
-
{
|
|
548990
|
-
"description": "Position in Forsyth-Edwards Notation",
|
|
551266
|
+
"description": "Lichess username",
|
|
548991
551267
|
"in": "query",
|
|
548992
|
-
"name": "
|
|
551268
|
+
"name": "username",
|
|
548993
551269
|
"required": true,
|
|
548994
|
-
"type": "string",
|
|
548995
|
-
"x-example": "8/8/8/8/8/8/1K6/6k1 w - - 0 1"
|
|
548996
|
-
},
|
|
548997
|
-
{
|
|
548998
|
-
"description": "Standard tablebase distance-to-conversion mode",
|
|
548999
|
-
"enum": [
|
|
549000
|
-
"never",
|
|
549001
|
-
"auxiliary",
|
|
549002
|
-
"always"
|
|
549003
|
-
],
|
|
549004
|
-
"in": "query",
|
|
549005
|
-
"name": "dtc",
|
|
549006
551270
|
"type": "string"
|
|
549007
551271
|
}
|
|
549008
551272
|
],
|
|
@@ -549058,7 +551322,7 @@
|
|
|
549058
551322
|
"ApiKeyAuth": []
|
|
549059
551323
|
}
|
|
549060
551324
|
],
|
|
549061
|
-
"summary": "
|
|
551325
|
+
"summary": "Get a Lichess user's rating history",
|
|
549062
551326
|
"tags": [
|
|
549063
551327
|
"Lichess"
|
|
549064
551328
|
]
|
|
@@ -730632,6 +732896,213 @@
|
|
|
730632
732896
|
]
|
|
730633
732897
|
}
|
|
730634
732898
|
},
|
|
732899
|
+
"/ufc/events": {
|
|
732900
|
+
"get": {
|
|
732901
|
+
"consumes": [
|
|
732902
|
+
"application/json"
|
|
732903
|
+
],
|
|
732904
|
+
"description": "Returns one page of the www.ufc.com/events directory: the upcoming events list (served on page 0 only) and eight past events per page, newest first. Each event card carries the event slug (the value /ufc/events/{event} accepts), URL, site node id, headline, the displayed date line, main card, prelims and early prelims start times (displayed text and Unix seconds), venue, city, state or province and country, the event id from the card's Fight Card link when present (past events), the displayed action links, the card's bout carousel (segment, bout label and corner headshot images) and the How to Watch start times and ticket sale windows the card lists. page is the directory's own zero-based Load More page (0 to 1000); the source renders a Load More link on every page, so an empty past list marks the end of the directory (page 100 held UFC 1 on 2026-11-28). The directory has no other filters.",
|
|
732905
|
+
"operationId": "ufc-events",
|
|
732906
|
+
"parameters": [
|
|
732907
|
+
{
|
|
732908
|
+
"description": "Zero-based directory page, 0 to 1000 (default 0). The upcoming list is only served on page 0",
|
|
732909
|
+
"in": "query",
|
|
732910
|
+
"maximum": 1000,
|
|
732911
|
+
"minimum": 0,
|
|
732912
|
+
"name": "page",
|
|
732913
|
+
"type": "integer",
|
|
732914
|
+
"x-example": 0
|
|
732915
|
+
}
|
|
732916
|
+
],
|
|
732917
|
+
"produces": [
|
|
732918
|
+
"application/json"
|
|
732919
|
+
],
|
|
732920
|
+
"responses": {
|
|
732921
|
+
"200": {
|
|
732922
|
+
"description": "OK",
|
|
732923
|
+
"schema": {
|
|
732924
|
+
"$ref": "#/definitions/app.Response"
|
|
732925
|
+
}
|
|
732926
|
+
},
|
|
732927
|
+
"400": {
|
|
732928
|
+
"description": "Bad Request",
|
|
732929
|
+
"schema": {
|
|
732930
|
+
"$ref": "#/definitions/app.Response"
|
|
732931
|
+
}
|
|
732932
|
+
},
|
|
732933
|
+
"503": {
|
|
732934
|
+
"description": "Service Unavailable",
|
|
732935
|
+
"schema": {
|
|
732936
|
+
"$ref": "#/definitions/app.Response"
|
|
732937
|
+
}
|
|
732938
|
+
}
|
|
732939
|
+
},
|
|
732940
|
+
"security": [
|
|
732941
|
+
{
|
|
732942
|
+
"ApiKeyAuth": []
|
|
732943
|
+
}
|
|
732944
|
+
],
|
|
732945
|
+
"summary": "List UFC events from the www.ufc.com events directory",
|
|
732946
|
+
"tags": [
|
|
732947
|
+
"UFC"
|
|
732948
|
+
]
|
|
732949
|
+
}
|
|
732950
|
+
},
|
|
732951
|
+
"/ufc/events/{event}": {
|
|
732952
|
+
"get": {
|
|
732953
|
+
"consumes": [
|
|
732954
|
+
"application/json"
|
|
732955
|
+
],
|
|
732956
|
+
"description": "Returns one event's complete fight card from the UFC live-stats feed the www.ufc.com event pages load (d29dxerjsp82wz.cloudfront.net/api/v3/event/live/{event_fmid}.json). event is either an event page slug from /ufc/events (resolved through the event page's own drupalSettings.eventLiveStats.event_fmid) or the numeric event id directly. The feed's LiveEventDetail object is returned unchanged: event id, name, start time, time zone, status, organization and location, and the FightCard array with each fight's FightId (the value /ufc/fights/{fight_id} accepts), order, status, card segment with its start time and broadcaster, both fighters (names, birthplace, fighting-out-of, record, date of birth, age, stance, weight, height, reach, UFC athlete link, weight classes, corner, weigh-in, outcome and bonus flags), the result (method, ending round, time, strike, target, position, submission, notes, fight-of-the-night and judges' fight scores), weight class, accolades, referee, rule set and the FightNightTracking action log. An unknown slug or id is 404.",
|
|
732957
|
+
"operationId": "ufc-event",
|
|
732958
|
+
"parameters": [
|
|
732959
|
+
{
|
|
732960
|
+
"description": "Event page slug from /ufc/events (for example ufc-335) or the numeric event id (for example 1348)",
|
|
732961
|
+
"in": "path",
|
|
732962
|
+
"name": "event",
|
|
732963
|
+
"required": true,
|
|
732964
|
+
"type": "string",
|
|
732965
|
+
"x-example": "ufc-fight-night-november-21-2026"
|
|
732966
|
+
}
|
|
732967
|
+
],
|
|
732968
|
+
"produces": [
|
|
732969
|
+
"application/json"
|
|
732970
|
+
],
|
|
732971
|
+
"responses": {
|
|
732972
|
+
"200": {
|
|
732973
|
+
"description": "OK",
|
|
732974
|
+
"schema": {
|
|
732975
|
+
"$ref": "#/definitions/app.Response"
|
|
732976
|
+
}
|
|
732977
|
+
},
|
|
732978
|
+
"400": {
|
|
732979
|
+
"description": "Bad Request",
|
|
732980
|
+
"schema": {
|
|
732981
|
+
"$ref": "#/definitions/app.Response"
|
|
732982
|
+
}
|
|
732983
|
+
},
|
|
732984
|
+
"404": {
|
|
732985
|
+
"description": "Not Found",
|
|
732986
|
+
"schema": {
|
|
732987
|
+
"$ref": "#/definitions/app.Response"
|
|
732988
|
+
}
|
|
732989
|
+
},
|
|
732990
|
+
"503": {
|
|
732991
|
+
"description": "Service Unavailable",
|
|
732992
|
+
"schema": {
|
|
732993
|
+
"$ref": "#/definitions/app.Response"
|
|
732994
|
+
}
|
|
732995
|
+
}
|
|
732996
|
+
},
|
|
732997
|
+
"security": [
|
|
732998
|
+
{
|
|
732999
|
+
"ApiKeyAuth": []
|
|
733000
|
+
}
|
|
733001
|
+
],
|
|
733002
|
+
"summary": "Get one UFC event's full fight card",
|
|
733003
|
+
"tags": [
|
|
733004
|
+
"UFC"
|
|
733005
|
+
]
|
|
733006
|
+
}
|
|
733007
|
+
},
|
|
733008
|
+
"/ufc/fights/{fight_id}": {
|
|
733009
|
+
"get": {
|
|
733010
|
+
"consumes": [
|
|
733011
|
+
"application/json"
|
|
733012
|
+
],
|
|
733013
|
+
"description": "Returns one fight's document from the UFC live-stats feed (d29dxerjsp82wz.cloudfront.net/api/v3/fight/live/{fight_id}.json), unchanged: the event summary, FightId, order, status, the OfficialStats flag, card segment fields, both fighters, the result including the judges' per-round RoundScores, weight class, accolades, referee, rule set, FightStats (per-fighter fight totals: knockdowns, total, significant, head, body, leg, distance, clinch and ground strikes attempted and landed with accuracy, takedowns, submission attempts, reversals and the position and control times) and RoundStats (the same statistics per fighter per round). fight_id is a FightId from a /ufc/events/{event} fight card; an upcoming fight returns empty statistics arrays and an unknown id is 404.",
|
|
733014
|
+
"operationId": "ufc-fight",
|
|
733015
|
+
"parameters": [
|
|
733016
|
+
{
|
|
733017
|
+
"description": "Numeric FightId from a /ufc/events/{event} fight card",
|
|
733018
|
+
"in": "path",
|
|
733019
|
+
"name": "fight_id",
|
|
733020
|
+
"required": true,
|
|
733021
|
+
"type": "string",
|
|
733022
|
+
"x-example": "13197"
|
|
733023
|
+
}
|
|
733024
|
+
],
|
|
733025
|
+
"produces": [
|
|
733026
|
+
"application/json"
|
|
733027
|
+
],
|
|
733028
|
+
"responses": {
|
|
733029
|
+
"200": {
|
|
733030
|
+
"description": "OK",
|
|
733031
|
+
"schema": {
|
|
733032
|
+
"$ref": "#/definitions/app.Response"
|
|
733033
|
+
}
|
|
733034
|
+
},
|
|
733035
|
+
"400": {
|
|
733036
|
+
"description": "Bad Request",
|
|
733037
|
+
"schema": {
|
|
733038
|
+
"$ref": "#/definitions/app.Response"
|
|
733039
|
+
}
|
|
733040
|
+
},
|
|
733041
|
+
"404": {
|
|
733042
|
+
"description": "Not Found",
|
|
733043
|
+
"schema": {
|
|
733044
|
+
"$ref": "#/definitions/app.Response"
|
|
733045
|
+
}
|
|
733046
|
+
},
|
|
733047
|
+
"503": {
|
|
733048
|
+
"description": "Service Unavailable",
|
|
733049
|
+
"schema": {
|
|
733050
|
+
"$ref": "#/definitions/app.Response"
|
|
733051
|
+
}
|
|
733052
|
+
}
|
|
733053
|
+
},
|
|
733054
|
+
"security": [
|
|
733055
|
+
{
|
|
733056
|
+
"ApiKeyAuth": []
|
|
733057
|
+
}
|
|
733058
|
+
],
|
|
733059
|
+
"summary": "Get one UFC fight's live statistics",
|
|
733060
|
+
"tags": [
|
|
733061
|
+
"UFC"
|
|
733062
|
+
]
|
|
733063
|
+
}
|
|
733064
|
+
},
|
|
733065
|
+
"/ufc/rankings": {
|
|
733066
|
+
"get": {
|
|
733067
|
+
"consumes": [
|
|
733068
|
+
"application/json"
|
|
733069
|
+
],
|
|
733070
|
+
"description": "Returns the www.ufc.com/rankings page's two ranking systems as the page renders them: \"media\" (the media-panel rankings, 13 tables: men's and women's pound-for-pound plus 11 weight divisions) and \"meta\" (the data-model META rankings, 11 weight-division tables). Each table carries the displayed division name, the caption athlete (the division champion with its displayed designation, or the pound-for-pound top rank), and every ranked row in page order with the displayed rank (co-ranked rows are kept, never collapsed), athlete name, athlete slug and profile URL, and the displayed movement indicator (increase or decrease with the number of places, or the NR not-previously-ranked marker). Each system also carries its displayed last-updated note and the page's own methodology text. The page has no filters or pagination.",
|
|
733071
|
+
"operationId": "ufc-rankings",
|
|
733072
|
+
"produces": [
|
|
733073
|
+
"application/json"
|
|
733074
|
+
],
|
|
733075
|
+
"responses": {
|
|
733076
|
+
"200": {
|
|
733077
|
+
"description": "OK",
|
|
733078
|
+
"schema": {
|
|
733079
|
+
"$ref": "#/definitions/app.Response"
|
|
733080
|
+
}
|
|
733081
|
+
},
|
|
733082
|
+
"400": {
|
|
733083
|
+
"description": "Bad Request",
|
|
733084
|
+
"schema": {
|
|
733085
|
+
"$ref": "#/definitions/app.Response"
|
|
733086
|
+
}
|
|
733087
|
+
},
|
|
733088
|
+
"503": {
|
|
733089
|
+
"description": "Service Unavailable",
|
|
733090
|
+
"schema": {
|
|
733091
|
+
"$ref": "#/definitions/app.Response"
|
|
733092
|
+
}
|
|
733093
|
+
}
|
|
733094
|
+
},
|
|
733095
|
+
"security": [
|
|
733096
|
+
{
|
|
733097
|
+
"ApiKeyAuth": []
|
|
733098
|
+
}
|
|
733099
|
+
],
|
|
733100
|
+
"summary": "Get the official UFC rankings",
|
|
733101
|
+
"tags": [
|
|
733102
|
+
"UFC"
|
|
733103
|
+
]
|
|
733104
|
+
}
|
|
733105
|
+
},
|
|
730635
733106
|
"/ufcstats/stat-leaders/{category}": {
|
|
730636
733107
|
"get": {
|
|
730637
733108
|
"consumes": [
|