tornapi-typescript 3.0.6 → 3.0.9
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.
- package/dist/index.d.ts +118 -3
- package/dist/index.ts +155 -3
- package/dist/openapi.json +946 -168
- package/package.json +2 -2
package/dist/openapi.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "Torn API",
|
|
5
5
|
"description": "\n * The development of Torn's API v2 is still ongoing.\n * If selections remain unaltered, they will default to the API v1 version.\n * Unlike API v1, API v2 accepts both selections and IDs as path and query parameters.\n * If any discrepancies or errors are found, please submit a [bug report](https://www.torn.com/forums.php#/p=forums&f=19&b=0&a=0) on the Torn Forums.\n * In case you're using bots to check for changes on openapi.json file, make sure to specificy a custom user-agent header - CloudFlare sometimes prevents requests from default user-agents.",
|
|
6
|
-
"version": "3.0.
|
|
6
|
+
"version": "3.0.9"
|
|
7
7
|
},
|
|
8
8
|
"servers": [
|
|
9
9
|
{
|
|
@@ -120,6 +120,99 @@
|
|
|
120
120
|
"x-stability": "Stable"
|
|
121
121
|
}
|
|
122
122
|
},
|
|
123
|
+
"/user/basic": {
|
|
124
|
+
"get": {
|
|
125
|
+
"tags": [
|
|
126
|
+
"User"
|
|
127
|
+
],
|
|
128
|
+
"summary": "Get your basic profile information",
|
|
129
|
+
"description": "Requires public access key. <br>",
|
|
130
|
+
"operationId": "310ed4d7970121be1c01fc6cb8c14f49",
|
|
131
|
+
"parameters": [
|
|
132
|
+
{
|
|
133
|
+
"$ref": "#/components/parameters/ApiStripTagsTrue"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"$ref": "#/components/parameters/ApiTimestamp"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"$ref": "#/components/parameters/ApiComment"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"$ref": "#/components/parameters/ApiKeyPublic"
|
|
143
|
+
}
|
|
144
|
+
],
|
|
145
|
+
"responses": {
|
|
146
|
+
"200": {
|
|
147
|
+
"description": "Successful operation",
|
|
148
|
+
"content": {
|
|
149
|
+
"application/json": {
|
|
150
|
+
"schema": {
|
|
151
|
+
"$ref": "#/components/schemas/UserBasicResponse"
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"security": [
|
|
158
|
+
{
|
|
159
|
+
"api_key": []
|
|
160
|
+
}
|
|
161
|
+
],
|
|
162
|
+
"x-stability": "Stable"
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
"/user/{id}/basic": {
|
|
166
|
+
"get": {
|
|
167
|
+
"tags": [
|
|
168
|
+
"User"
|
|
169
|
+
],
|
|
170
|
+
"summary": "Get basic profile information for a specific user",
|
|
171
|
+
"description": "Requires public access key. <br>",
|
|
172
|
+
"operationId": "a20c3fcd0afc00cc428f4a8c24467356",
|
|
173
|
+
"parameters": [
|
|
174
|
+
{
|
|
175
|
+
"name": "id",
|
|
176
|
+
"in": "path",
|
|
177
|
+
"description": "User id",
|
|
178
|
+
"required": true,
|
|
179
|
+
"schema": {
|
|
180
|
+
"$ref": "#/components/schemas/UserId"
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"$ref": "#/components/parameters/ApiStripTagsTrue"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"$ref": "#/components/parameters/ApiTimestamp"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"$ref": "#/components/parameters/ApiComment"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"$ref": "#/components/parameters/ApiKeyPublic"
|
|
194
|
+
}
|
|
195
|
+
],
|
|
196
|
+
"responses": {
|
|
197
|
+
"200": {
|
|
198
|
+
"description": "Successful operation",
|
|
199
|
+
"content": {
|
|
200
|
+
"application/json": {
|
|
201
|
+
"schema": {
|
|
202
|
+
"$ref": "#/components/schemas/UserBasicResponse"
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
"security": [
|
|
209
|
+
{
|
|
210
|
+
"api_key": []
|
|
211
|
+
}
|
|
212
|
+
],
|
|
213
|
+
"x-stability": "Stable"
|
|
214
|
+
}
|
|
215
|
+
},
|
|
123
216
|
"/user/bounties": {
|
|
124
217
|
"get": {
|
|
125
218
|
"tags": [
|
|
@@ -159,6 +252,45 @@
|
|
|
159
252
|
"x-stability": "Stable"
|
|
160
253
|
}
|
|
161
254
|
},
|
|
255
|
+
"/user/battlestats": {
|
|
256
|
+
"get": {
|
|
257
|
+
"tags": [
|
|
258
|
+
"User"
|
|
259
|
+
],
|
|
260
|
+
"summary": "Get your battlestats",
|
|
261
|
+
"description": "Requires limited access key. <br>",
|
|
262
|
+
"operationId": "b2395a36b6f5668ade16f460a593b236",
|
|
263
|
+
"parameters": [
|
|
264
|
+
{
|
|
265
|
+
"$ref": "#/components/parameters/ApiTimestamp"
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"$ref": "#/components/parameters/ApiComment"
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"$ref": "#/components/parameters/ApiKeyPublic"
|
|
272
|
+
}
|
|
273
|
+
],
|
|
274
|
+
"responses": {
|
|
275
|
+
"200": {
|
|
276
|
+
"description": "Successful operation",
|
|
277
|
+
"content": {
|
|
278
|
+
"application/json": {
|
|
279
|
+
"schema": {
|
|
280
|
+
"$ref": "#/components/schemas/UserBattleStatsResponse"
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
"security": [
|
|
287
|
+
{
|
|
288
|
+
"api_key": []
|
|
289
|
+
}
|
|
290
|
+
],
|
|
291
|
+
"x-stability": "Unstable"
|
|
292
|
+
}
|
|
293
|
+
},
|
|
162
294
|
"/user/{id}/bounties": {
|
|
163
295
|
"get": {
|
|
164
296
|
"tags": [
|
|
@@ -377,8 +509,8 @@
|
|
|
377
509
|
"tags": [
|
|
378
510
|
"User"
|
|
379
511
|
],
|
|
380
|
-
"summary": "
|
|
381
|
-
"description": "Requires limited access key. <br>",
|
|
512
|
+
"summary": "Deprecated. Use user/money instead",
|
|
513
|
+
"description": "Will be removed on 1st of December 2025. Requires limited access key. <br>",
|
|
382
514
|
"operationId": "b7ebbeea51dc2ef56c3ed5fd9d94e680",
|
|
383
515
|
"parameters": [
|
|
384
516
|
{
|
|
@@ -403,12 +535,13 @@
|
|
|
403
535
|
}
|
|
404
536
|
}
|
|
405
537
|
},
|
|
538
|
+
"deprecated": true,
|
|
406
539
|
"security": [
|
|
407
540
|
{
|
|
408
541
|
"api_key": []
|
|
409
542
|
}
|
|
410
543
|
],
|
|
411
|
-
"x-stability": "
|
|
544
|
+
"x-stability": "Deprecated"
|
|
412
545
|
}
|
|
413
546
|
},
|
|
414
547
|
"/user/forumfeed": {
|
|
@@ -885,6 +1018,45 @@
|
|
|
885
1018
|
"x-stability": "Stable"
|
|
886
1019
|
}
|
|
887
1020
|
},
|
|
1021
|
+
"/user/jobpoints": {
|
|
1022
|
+
"get": {
|
|
1023
|
+
"tags": [
|
|
1024
|
+
"User"
|
|
1025
|
+
],
|
|
1026
|
+
"summary": "Get your jobpoints",
|
|
1027
|
+
"description": "Requires minimal access key. <br>",
|
|
1028
|
+
"operationId": "7d6d988f4aa00b9526c082c2b4247743",
|
|
1029
|
+
"parameters": [
|
|
1030
|
+
{
|
|
1031
|
+
"$ref": "#/components/parameters/ApiTimestamp"
|
|
1032
|
+
},
|
|
1033
|
+
{
|
|
1034
|
+
"$ref": "#/components/parameters/ApiComment"
|
|
1035
|
+
},
|
|
1036
|
+
{
|
|
1037
|
+
"$ref": "#/components/parameters/ApiKeyPublic"
|
|
1038
|
+
}
|
|
1039
|
+
],
|
|
1040
|
+
"responses": {
|
|
1041
|
+
"200": {
|
|
1042
|
+
"description": "Successful operation",
|
|
1043
|
+
"content": {
|
|
1044
|
+
"application/json": {
|
|
1045
|
+
"schema": {
|
|
1046
|
+
"$ref": "#/components/schemas/UserJobPointsResponse"
|
|
1047
|
+
}
|
|
1048
|
+
}
|
|
1049
|
+
}
|
|
1050
|
+
}
|
|
1051
|
+
},
|
|
1052
|
+
"security": [
|
|
1053
|
+
{
|
|
1054
|
+
"api_key": []
|
|
1055
|
+
}
|
|
1056
|
+
],
|
|
1057
|
+
"x-stability": "Unstable"
|
|
1058
|
+
}
|
|
1059
|
+
},
|
|
888
1060
|
"/user/jobranks": {
|
|
889
1061
|
"get": {
|
|
890
1062
|
"tags": [
|
|
@@ -1052,6 +1224,45 @@
|
|
|
1052
1224
|
"x-stability": "Unstable"
|
|
1053
1225
|
}
|
|
1054
1226
|
},
|
|
1227
|
+
"/user/money": {
|
|
1228
|
+
"get": {
|
|
1229
|
+
"tags": [
|
|
1230
|
+
"User"
|
|
1231
|
+
],
|
|
1232
|
+
"summary": "Get your current wealth",
|
|
1233
|
+
"description": "Requires limited access key. <br>",
|
|
1234
|
+
"operationId": "bcda13a4bb3c826ee6c79fb6209d7b69",
|
|
1235
|
+
"parameters": [
|
|
1236
|
+
{
|
|
1237
|
+
"$ref": "#/components/parameters/ApiTimestamp"
|
|
1238
|
+
},
|
|
1239
|
+
{
|
|
1240
|
+
"$ref": "#/components/parameters/ApiComment"
|
|
1241
|
+
},
|
|
1242
|
+
{
|
|
1243
|
+
"$ref": "#/components/parameters/ApiKeyPublic"
|
|
1244
|
+
}
|
|
1245
|
+
],
|
|
1246
|
+
"responses": {
|
|
1247
|
+
"200": {
|
|
1248
|
+
"description": "Successful operation",
|
|
1249
|
+
"content": {
|
|
1250
|
+
"application/json": {
|
|
1251
|
+
"schema": {
|
|
1252
|
+
"$ref": "#/components/schemas/UserMoneyResponse"
|
|
1253
|
+
}
|
|
1254
|
+
}
|
|
1255
|
+
}
|
|
1256
|
+
}
|
|
1257
|
+
},
|
|
1258
|
+
"security": [
|
|
1259
|
+
{
|
|
1260
|
+
"api_key": []
|
|
1261
|
+
}
|
|
1262
|
+
],
|
|
1263
|
+
"x-stability": "Unstable"
|
|
1264
|
+
}
|
|
1265
|
+
},
|
|
1055
1266
|
"/user/organizedcrime": {
|
|
1056
1267
|
"get": {
|
|
1057
1268
|
"tags": [
|
|
@@ -1247,6 +1458,9 @@
|
|
|
1247
1458
|
"description": "Requires public access key. <br>Extended responses are available when requesting the data with Limited or higher access keys.",
|
|
1248
1459
|
"operationId": "574a416ca46717830f03a2f685955b87",
|
|
1249
1460
|
"parameters": [
|
|
1461
|
+
{
|
|
1462
|
+
"$ref": "#/components/parameters/ApiFiltersUserProperties"
|
|
1463
|
+
},
|
|
1250
1464
|
{
|
|
1251
1465
|
"$ref": "#/components/parameters/ApiOffset"
|
|
1252
1466
|
},
|
|
@@ -1301,6 +1515,9 @@
|
|
|
1301
1515
|
"$ref": "#/components/schemas/UserId"
|
|
1302
1516
|
}
|
|
1303
1517
|
},
|
|
1518
|
+
{
|
|
1519
|
+
"$ref": "#/components/parameters/ApiFiltersUserProperties"
|
|
1520
|
+
},
|
|
1304
1521
|
{
|
|
1305
1522
|
"$ref": "#/components/parameters/ApiOffset"
|
|
1306
1523
|
},
|
|
@@ -1700,14 +1917,14 @@
|
|
|
1700
1917
|
"x-stability": "Stable"
|
|
1701
1918
|
}
|
|
1702
1919
|
},
|
|
1703
|
-
"/user/
|
|
1920
|
+
"/user/skills": {
|
|
1704
1921
|
"get": {
|
|
1705
1922
|
"tags": [
|
|
1706
1923
|
"User"
|
|
1707
1924
|
],
|
|
1708
|
-
"summary": "Get
|
|
1709
|
-
"description": "Requires
|
|
1710
|
-
"operationId": "
|
|
1925
|
+
"summary": "Get your skills",
|
|
1926
|
+
"description": "Requires minimal access key. <br>",
|
|
1927
|
+
"operationId": "242cd6844d92aec0223d9c5c88e66403",
|
|
1711
1928
|
"parameters": [
|
|
1712
1929
|
{
|
|
1713
1930
|
"$ref": "#/components/parameters/ApiTimestamp"
|
|
@@ -1725,7 +1942,7 @@
|
|
|
1725
1942
|
"content": {
|
|
1726
1943
|
"application/json": {
|
|
1727
1944
|
"schema": {
|
|
1728
|
-
"$ref": "#/components/schemas/
|
|
1945
|
+
"$ref": "#/components/schemas/UserSkillsResponse"
|
|
1729
1946
|
}
|
|
1730
1947
|
}
|
|
1731
1948
|
}
|
|
@@ -1736,17 +1953,17 @@
|
|
|
1736
1953
|
"api_key": []
|
|
1737
1954
|
}
|
|
1738
1955
|
],
|
|
1739
|
-
"x-stability": "
|
|
1956
|
+
"x-stability": "Unstable"
|
|
1740
1957
|
}
|
|
1741
1958
|
},
|
|
1742
|
-
"/user/
|
|
1959
|
+
"/user/workstats": {
|
|
1743
1960
|
"get": {
|
|
1744
1961
|
"tags": [
|
|
1745
1962
|
"User"
|
|
1746
1963
|
],
|
|
1747
|
-
"summary": "Get
|
|
1748
|
-
"description": "Requires
|
|
1749
|
-
"operationId": "
|
|
1964
|
+
"summary": "Get your working stats",
|
|
1965
|
+
"description": "Requires minimal access key. <br>",
|
|
1966
|
+
"operationId": "8c3acc9ecc8ec39baac5d2be8235d458",
|
|
1750
1967
|
"parameters": [
|
|
1751
1968
|
{
|
|
1752
1969
|
"$ref": "#/components/parameters/ApiTimestamp"
|
|
@@ -1764,7 +1981,7 @@
|
|
|
1764
1981
|
"content": {
|
|
1765
1982
|
"application/json": {
|
|
1766
1983
|
"schema": {
|
|
1767
|
-
"$ref": "#/components/schemas/
|
|
1984
|
+
"$ref": "#/components/schemas/UserWorkStatsResponse"
|
|
1768
1985
|
}
|
|
1769
1986
|
}
|
|
1770
1987
|
}
|
|
@@ -1778,56 +1995,134 @@
|
|
|
1778
1995
|
"x-stability": "Stable"
|
|
1779
1996
|
}
|
|
1780
1997
|
},
|
|
1781
|
-
"/user": {
|
|
1998
|
+
"/user/lookup": {
|
|
1782
1999
|
"get": {
|
|
1783
2000
|
"tags": [
|
|
1784
2001
|
"User"
|
|
1785
2002
|
],
|
|
1786
|
-
"summary": "Get
|
|
1787
|
-
"description": "
|
|
1788
|
-
"operationId": "
|
|
2003
|
+
"summary": "Get all available user selections",
|
|
2004
|
+
"description": "Requires public access key. <br>",
|
|
2005
|
+
"operationId": "c0a6c91697cd1683c39b3c0649a18ec8",
|
|
1789
2006
|
"parameters": [
|
|
1790
2007
|
{
|
|
1791
|
-
"
|
|
1792
|
-
"in": "query",
|
|
1793
|
-
"description": "Selection names",
|
|
1794
|
-
"required": false,
|
|
1795
|
-
"style": "form",
|
|
1796
|
-
"explode": false,
|
|
1797
|
-
"schema": {
|
|
1798
|
-
"type": "array",
|
|
1799
|
-
"items": {
|
|
1800
|
-
"$ref": "#/components/schemas/UserSelectionName"
|
|
1801
|
-
}
|
|
1802
|
-
}
|
|
1803
|
-
},
|
|
1804
|
-
{
|
|
1805
|
-
"name": "id",
|
|
1806
|
-
"in": "query",
|
|
1807
|
-
"description": "selection id",
|
|
1808
|
-
"required": false,
|
|
1809
|
-
"schema": {
|
|
1810
|
-
"oneOf": [
|
|
1811
|
-
{
|
|
1812
|
-
"$ref": "#/components/schemas/UserId"
|
|
1813
|
-
},
|
|
1814
|
-
{
|
|
1815
|
-
"$ref": "#/components/schemas/TornCrimeId"
|
|
1816
|
-
},
|
|
1817
|
-
{
|
|
1818
|
-
"type": "string"
|
|
1819
|
-
}
|
|
1820
|
-
]
|
|
1821
|
-
}
|
|
1822
|
-
},
|
|
1823
|
-
{
|
|
1824
|
-
"$ref": "#/components/parameters/ApiLimit"
|
|
2008
|
+
"$ref": "#/components/parameters/ApiTimestamp"
|
|
1825
2009
|
},
|
|
1826
2010
|
{
|
|
1827
|
-
"$ref": "#/components/parameters/
|
|
2011
|
+
"$ref": "#/components/parameters/ApiComment"
|
|
1828
2012
|
},
|
|
1829
2013
|
{
|
|
1830
|
-
"$ref": "#/components/parameters/
|
|
2014
|
+
"$ref": "#/components/parameters/ApiKeyPublic"
|
|
2015
|
+
}
|
|
2016
|
+
],
|
|
2017
|
+
"responses": {
|
|
2018
|
+
"200": {
|
|
2019
|
+
"description": "Successful operation",
|
|
2020
|
+
"content": {
|
|
2021
|
+
"application/json": {
|
|
2022
|
+
"schema": {
|
|
2023
|
+
"$ref": "#/components/schemas/UserLookupResponse"
|
|
2024
|
+
}
|
|
2025
|
+
}
|
|
2026
|
+
}
|
|
2027
|
+
}
|
|
2028
|
+
},
|
|
2029
|
+
"security": [
|
|
2030
|
+
{
|
|
2031
|
+
"api_key": []
|
|
2032
|
+
}
|
|
2033
|
+
],
|
|
2034
|
+
"x-stability": "Stable"
|
|
2035
|
+
}
|
|
2036
|
+
},
|
|
2037
|
+
"/user/timestamp": {
|
|
2038
|
+
"get": {
|
|
2039
|
+
"tags": [
|
|
2040
|
+
"User"
|
|
2041
|
+
],
|
|
2042
|
+
"summary": "Get current server time",
|
|
2043
|
+
"description": "Requires public access key. <br>",
|
|
2044
|
+
"operationId": "a72308321da0c4a2c31c60218acc7a85",
|
|
2045
|
+
"parameters": [
|
|
2046
|
+
{
|
|
2047
|
+
"$ref": "#/components/parameters/ApiTimestamp"
|
|
2048
|
+
},
|
|
2049
|
+
{
|
|
2050
|
+
"$ref": "#/components/parameters/ApiComment"
|
|
2051
|
+
},
|
|
2052
|
+
{
|
|
2053
|
+
"$ref": "#/components/parameters/ApiKeyPublic"
|
|
2054
|
+
}
|
|
2055
|
+
],
|
|
2056
|
+
"responses": {
|
|
2057
|
+
"200": {
|
|
2058
|
+
"description": "Successful operation",
|
|
2059
|
+
"content": {
|
|
2060
|
+
"application/json": {
|
|
2061
|
+
"schema": {
|
|
2062
|
+
"$ref": "#/components/schemas/TimestampResponse"
|
|
2063
|
+
}
|
|
2064
|
+
}
|
|
2065
|
+
}
|
|
2066
|
+
}
|
|
2067
|
+
},
|
|
2068
|
+
"security": [
|
|
2069
|
+
{
|
|
2070
|
+
"api_key": []
|
|
2071
|
+
}
|
|
2072
|
+
],
|
|
2073
|
+
"x-stability": "Stable"
|
|
2074
|
+
}
|
|
2075
|
+
},
|
|
2076
|
+
"/user": {
|
|
2077
|
+
"get": {
|
|
2078
|
+
"tags": [
|
|
2079
|
+
"User"
|
|
2080
|
+
],
|
|
2081
|
+
"summary": "Get any User selection",
|
|
2082
|
+
"description": "Key access level depends on the required selections. <br>Choose one or more selections (comma separated).",
|
|
2083
|
+
"operationId": "ce480599312126b8a5d77ced3ab8caa8",
|
|
2084
|
+
"parameters": [
|
|
2085
|
+
{
|
|
2086
|
+
"name": "selections",
|
|
2087
|
+
"in": "query",
|
|
2088
|
+
"description": "Selection names",
|
|
2089
|
+
"required": false,
|
|
2090
|
+
"style": "form",
|
|
2091
|
+
"explode": false,
|
|
2092
|
+
"schema": {
|
|
2093
|
+
"type": "array",
|
|
2094
|
+
"items": {
|
|
2095
|
+
"$ref": "#/components/schemas/UserSelectionName"
|
|
2096
|
+
}
|
|
2097
|
+
}
|
|
2098
|
+
},
|
|
2099
|
+
{
|
|
2100
|
+
"name": "id",
|
|
2101
|
+
"in": "query",
|
|
2102
|
+
"description": "selection id",
|
|
2103
|
+
"required": false,
|
|
2104
|
+
"schema": {
|
|
2105
|
+
"oneOf": [
|
|
2106
|
+
{
|
|
2107
|
+
"$ref": "#/components/schemas/UserId"
|
|
2108
|
+
},
|
|
2109
|
+
{
|
|
2110
|
+
"$ref": "#/components/schemas/TornCrimeId"
|
|
2111
|
+
},
|
|
2112
|
+
{
|
|
2113
|
+
"type": "string"
|
|
2114
|
+
}
|
|
2115
|
+
]
|
|
2116
|
+
}
|
|
2117
|
+
},
|
|
2118
|
+
{
|
|
2119
|
+
"$ref": "#/components/parameters/ApiLimit"
|
|
2120
|
+
},
|
|
2121
|
+
{
|
|
2122
|
+
"$ref": "#/components/parameters/ApiFrom"
|
|
2123
|
+
},
|
|
2124
|
+
{
|
|
2125
|
+
"$ref": "#/components/parameters/ApiTo"
|
|
1831
2126
|
},
|
|
1832
2127
|
{
|
|
1833
2128
|
"$ref": "#/components/parameters/ApiSort"
|
|
@@ -1869,7 +2164,7 @@
|
|
|
1869
2164
|
}
|
|
1870
2165
|
},
|
|
1871
2166
|
{
|
|
1872
|
-
"$ref": "#/components/parameters/
|
|
2167
|
+
"$ref": "#/components/parameters/ApiFiltersUser"
|
|
1873
2168
|
},
|
|
1874
2169
|
{
|
|
1875
2170
|
"$ref": "#/components/parameters/ApiStripTags"
|
|
@@ -1942,6 +2237,9 @@
|
|
|
1942
2237
|
{
|
|
1943
2238
|
"$ref": "#/components/schemas/UserFactionBalanceResponse"
|
|
1944
2239
|
},
|
|
2240
|
+
{
|
|
2241
|
+
"$ref": "#/components/schemas/UserBasicResponse"
|
|
2242
|
+
},
|
|
1945
2243
|
{
|
|
1946
2244
|
"$ref": "#/components/schemas/RevivesResponse"
|
|
1947
2245
|
},
|
|
@@ -1966,6 +2264,21 @@
|
|
|
1966
2264
|
{
|
|
1967
2265
|
"$ref": "#/components/schemas/FactionAttacksFullResponse"
|
|
1968
2266
|
},
|
|
2267
|
+
{
|
|
2268
|
+
"$ref": "#/components/schemas/UserMoneyResponse"
|
|
2269
|
+
},
|
|
2270
|
+
{
|
|
2271
|
+
"$ref": "#/components/schemas/UserJobPointsResponse"
|
|
2272
|
+
},
|
|
2273
|
+
{
|
|
2274
|
+
"$ref": "#/components/schemas/UserWorkStatsResponse"
|
|
2275
|
+
},
|
|
2276
|
+
{
|
|
2277
|
+
"$ref": "#/components/schemas/UserSkillsResponse"
|
|
2278
|
+
},
|
|
2279
|
+
{
|
|
2280
|
+
"$ref": "#/components/schemas/UserBattleStatsResponse"
|
|
2281
|
+
},
|
|
1969
2282
|
{
|
|
1970
2283
|
"$ref": "#/components/schemas/UserLookupResponse"
|
|
1971
2284
|
},
|
|
@@ -4489,14 +4802,23 @@
|
|
|
4489
4802
|
"Forum"
|
|
4490
4803
|
],
|
|
4491
4804
|
"summary": "Get specific forum thread posts",
|
|
4492
|
-
"description": "Requires public access key. <br>Returns 20 posts per page for a specific thread.",
|
|
4805
|
+
"description": "Requires public access key. <br>Returns 20 posts per page for a specific thread. <br> By default, it uses 'offset', but it's possible to filter posts with 'from' & 'to' parameters.",
|
|
4493
4806
|
"operationId": "9c5eeb1aebb102b7c62fab11974c359a",
|
|
4494
4807
|
"parameters": [
|
|
4808
|
+
{
|
|
4809
|
+
"$ref": "#/components/parameters/ApiStripTagsTrue"
|
|
4810
|
+
},
|
|
4495
4811
|
{
|
|
4496
4812
|
"$ref": "#/components/parameters/ApiOffsetNoDefault"
|
|
4497
4813
|
},
|
|
4498
4814
|
{
|
|
4499
|
-
"$ref": "#/components/parameters/
|
|
4815
|
+
"$ref": "#/components/parameters/ApiSort"
|
|
4816
|
+
},
|
|
4817
|
+
{
|
|
4818
|
+
"$ref": "#/components/parameters/ApiFrom"
|
|
4819
|
+
},
|
|
4820
|
+
{
|
|
4821
|
+
"$ref": "#/components/parameters/ApiTo"
|
|
4500
4822
|
},
|
|
4501
4823
|
{
|
|
4502
4824
|
"name": "threadId",
|
|
@@ -7325,6 +7647,27 @@
|
|
|
7325
7647
|
"E"
|
|
7326
7648
|
]
|
|
7327
7649
|
},
|
|
7650
|
+
"UserSkillSlugEnum": {
|
|
7651
|
+
"type": "string",
|
|
7652
|
+
"enum": [
|
|
7653
|
+
"hunting",
|
|
7654
|
+
"racing",
|
|
7655
|
+
"reviving",
|
|
7656
|
+
"search_for_cash",
|
|
7657
|
+
"bootlegging",
|
|
7658
|
+
"graffiti",
|
|
7659
|
+
"shoplifting",
|
|
7660
|
+
"pickpocketing",
|
|
7661
|
+
"card_skimming",
|
|
7662
|
+
"burglary",
|
|
7663
|
+
"hustling",
|
|
7664
|
+
"disposal",
|
|
7665
|
+
"cracking",
|
|
7666
|
+
"forgery",
|
|
7667
|
+
"scamming",
|
|
7668
|
+
"arson"
|
|
7669
|
+
]
|
|
7670
|
+
},
|
|
7328
7671
|
"CountryEnum": {
|
|
7329
7672
|
"type": "string",
|
|
7330
7673
|
"enum": [
|
|
@@ -12097,6 +12440,10 @@
|
|
|
12097
12440
|
"type": "integer",
|
|
12098
12441
|
"format": "int32"
|
|
12099
12442
|
},
|
|
12443
|
+
"CompanyTypeId": {
|
|
12444
|
+
"type": "integer",
|
|
12445
|
+
"format": "int32"
|
|
12446
|
+
},
|
|
12100
12447
|
"EducationId": {
|
|
12101
12448
|
"type": "integer",
|
|
12102
12449
|
"format": "int32"
|
|
@@ -12218,6 +12565,14 @@
|
|
|
12218
12565
|
7
|
|
12219
12566
|
]
|
|
12220
12567
|
},
|
|
12568
|
+
"UserGenderEnum": {
|
|
12569
|
+
"type": "string",
|
|
12570
|
+
"enum": [
|
|
12571
|
+
"Male",
|
|
12572
|
+
"Female",
|
|
12573
|
+
"Enby"
|
|
12574
|
+
]
|
|
12575
|
+
},
|
|
12221
12576
|
"Parameters": {
|
|
12222
12577
|
"oneOf": [
|
|
12223
12578
|
{
|
|
@@ -13404,141 +13759,506 @@
|
|
|
13404
13759
|
},
|
|
13405
13760
|
"type": "object"
|
|
13406
13761
|
},
|
|
13407
|
-
"ReportAnonymousBounties": {
|
|
13762
|
+
"ReportAnonymousBounties": {
|
|
13763
|
+
"required": [
|
|
13764
|
+
"bounties"
|
|
13765
|
+
],
|
|
13766
|
+
"properties": {
|
|
13767
|
+
"bounties": {
|
|
13768
|
+
"type": "array",
|
|
13769
|
+
"items": {
|
|
13770
|
+
"required": [
|
|
13771
|
+
"bounty",
|
|
13772
|
+
"user",
|
|
13773
|
+
"text"
|
|
13774
|
+
],
|
|
13775
|
+
"properties": {
|
|
13776
|
+
"text": {
|
|
13777
|
+
"type": "string"
|
|
13778
|
+
},
|
|
13779
|
+
"bounty": {
|
|
13780
|
+
"type": "integer",
|
|
13781
|
+
"format": "int64"
|
|
13782
|
+
},
|
|
13783
|
+
"user": {
|
|
13784
|
+
"oneOf": [
|
|
13785
|
+
{
|
|
13786
|
+
"required": [
|
|
13787
|
+
"id",
|
|
13788
|
+
"name"
|
|
13789
|
+
],
|
|
13790
|
+
"properties": {
|
|
13791
|
+
"id": {
|
|
13792
|
+
"$ref": "#/components/schemas/UserId"
|
|
13793
|
+
},
|
|
13794
|
+
"name": {
|
|
13795
|
+
"type": "string"
|
|
13796
|
+
}
|
|
13797
|
+
},
|
|
13798
|
+
"type": "object"
|
|
13799
|
+
},
|
|
13800
|
+
{
|
|
13801
|
+
"type": "null"
|
|
13802
|
+
}
|
|
13803
|
+
]
|
|
13804
|
+
}
|
|
13805
|
+
},
|
|
13806
|
+
"type": "object"
|
|
13807
|
+
}
|
|
13808
|
+
}
|
|
13809
|
+
},
|
|
13810
|
+
"type": "object"
|
|
13811
|
+
},
|
|
13812
|
+
"ReportReport": {
|
|
13813
|
+
"required": [
|
|
13814
|
+
"report"
|
|
13815
|
+
],
|
|
13816
|
+
"properties": {
|
|
13817
|
+
"report": {
|
|
13818
|
+
"oneOf": [
|
|
13819
|
+
{
|
|
13820
|
+
"$ref": "#/components/schemas/ReportMoney"
|
|
13821
|
+
},
|
|
13822
|
+
{
|
|
13823
|
+
"$ref": "#/components/schemas/ReportStats"
|
|
13824
|
+
},
|
|
13825
|
+
{
|
|
13826
|
+
"$ref": "#/components/schemas/ReportMostWanted"
|
|
13827
|
+
},
|
|
13828
|
+
{
|
|
13829
|
+
"$ref": "#/components/schemas/ReportHistory"
|
|
13830
|
+
},
|
|
13831
|
+
{
|
|
13832
|
+
"$ref": "#/components/schemas/ReportFriendOrFoe"
|
|
13833
|
+
},
|
|
13834
|
+
{
|
|
13835
|
+
"$ref": "#/components/schemas/ReportCompanyFinancials"
|
|
13836
|
+
},
|
|
13837
|
+
{
|
|
13838
|
+
"$ref": "#/components/schemas/ReportTrueLevel"
|
|
13839
|
+
},
|
|
13840
|
+
{
|
|
13841
|
+
"$ref": "#/components/schemas/ReportStockAnalysis"
|
|
13842
|
+
},
|
|
13843
|
+
{
|
|
13844
|
+
"$ref": "#/components/schemas/ReportAnonymousBounties"
|
|
13845
|
+
},
|
|
13846
|
+
{
|
|
13847
|
+
"$ref": "#/components/schemas/ReportInvestment"
|
|
13848
|
+
}
|
|
13849
|
+
]
|
|
13850
|
+
}
|
|
13851
|
+
},
|
|
13852
|
+
"type": "object"
|
|
13853
|
+
},
|
|
13854
|
+
"Report": {
|
|
13855
|
+
"allOf": [
|
|
13856
|
+
{
|
|
13857
|
+
"$ref": "#/components/schemas/ReportBase"
|
|
13858
|
+
},
|
|
13859
|
+
{
|
|
13860
|
+
"$ref": "#/components/schemas/ReportReport"
|
|
13861
|
+
}
|
|
13862
|
+
]
|
|
13863
|
+
},
|
|
13864
|
+
"ReportsResponse": {
|
|
13865
|
+
"required": [
|
|
13866
|
+
"reports",
|
|
13867
|
+
"_metadata"
|
|
13868
|
+
],
|
|
13869
|
+
"properties": {
|
|
13870
|
+
"reports": {
|
|
13871
|
+
"type": "array",
|
|
13872
|
+
"items": {
|
|
13873
|
+
"$ref": "#/components/schemas/Report"
|
|
13874
|
+
}
|
|
13875
|
+
},
|
|
13876
|
+
"_metadata": {
|
|
13877
|
+
"$ref": "#/components/schemas/RequestMetadataWithLinks"
|
|
13878
|
+
}
|
|
13879
|
+
},
|
|
13880
|
+
"type": "object"
|
|
13881
|
+
},
|
|
13882
|
+
"SelectionCategoryEnum": {
|
|
13883
|
+
"oneOf": [
|
|
13884
|
+
{
|
|
13885
|
+
"$ref": "#/components/schemas/ReportTypeEnum"
|
|
13886
|
+
},
|
|
13887
|
+
{
|
|
13888
|
+
"$ref": "#/components/schemas/UserListEnum"
|
|
13889
|
+
},
|
|
13890
|
+
{
|
|
13891
|
+
"$ref": "#/components/schemas/PersonalStatsCategoryEnum"
|
|
13892
|
+
},
|
|
13893
|
+
{
|
|
13894
|
+
"$ref": "#/components/schemas/RacingRaceTypeEnum"
|
|
13895
|
+
}
|
|
13896
|
+
]
|
|
13897
|
+
},
|
|
13898
|
+
"UserMoneyResponse": {
|
|
13899
|
+
"required": [
|
|
13900
|
+
"money"
|
|
13901
|
+
],
|
|
13902
|
+
"properties": {
|
|
13903
|
+
"money": {
|
|
13904
|
+
"required": [
|
|
13905
|
+
"points",
|
|
13906
|
+
"wallet",
|
|
13907
|
+
"company",
|
|
13908
|
+
"vault",
|
|
13909
|
+
"cayman_bank",
|
|
13910
|
+
"city_bank",
|
|
13911
|
+
"faction",
|
|
13912
|
+
"daily_networth"
|
|
13913
|
+
],
|
|
13914
|
+
"properties": {
|
|
13915
|
+
"points": {
|
|
13916
|
+
"type": "integer",
|
|
13917
|
+
"format": "int64"
|
|
13918
|
+
},
|
|
13919
|
+
"wallet": {
|
|
13920
|
+
"type": "integer",
|
|
13921
|
+
"format": "int64"
|
|
13922
|
+
},
|
|
13923
|
+
"company": {
|
|
13924
|
+
"type": "integer",
|
|
13925
|
+
"format": "int64"
|
|
13926
|
+
},
|
|
13927
|
+
"vault": {
|
|
13928
|
+
"type": "integer",
|
|
13929
|
+
"format": "int64"
|
|
13930
|
+
},
|
|
13931
|
+
"cayman_bank": {
|
|
13932
|
+
"type": "integer",
|
|
13933
|
+
"format": "int64"
|
|
13934
|
+
},
|
|
13935
|
+
"city_bank": {
|
|
13936
|
+
"required": [
|
|
13937
|
+
"amount",
|
|
13938
|
+
"until"
|
|
13939
|
+
],
|
|
13940
|
+
"properties": {
|
|
13941
|
+
"amount": {
|
|
13942
|
+
"type": "integer",
|
|
13943
|
+
"format": "int64"
|
|
13944
|
+
},
|
|
13945
|
+
"until": {
|
|
13946
|
+
"type": "integer",
|
|
13947
|
+
"format": "int64"
|
|
13948
|
+
}
|
|
13949
|
+
},
|
|
13950
|
+
"type": "object"
|
|
13951
|
+
},
|
|
13952
|
+
"faction": {
|
|
13953
|
+
"required": [
|
|
13954
|
+
"money",
|
|
13955
|
+
"points"
|
|
13956
|
+
],
|
|
13957
|
+
"properties": {
|
|
13958
|
+
"money": {
|
|
13959
|
+
"type": "integer",
|
|
13960
|
+
"format": "int64"
|
|
13961
|
+
},
|
|
13962
|
+
"points": {
|
|
13963
|
+
"type": "integer",
|
|
13964
|
+
"format": "int64"
|
|
13965
|
+
}
|
|
13966
|
+
},
|
|
13967
|
+
"type": "object"
|
|
13968
|
+
},
|
|
13969
|
+
"daily_networth": {
|
|
13970
|
+
"type": "integer",
|
|
13971
|
+
"format": "int64"
|
|
13972
|
+
}
|
|
13973
|
+
},
|
|
13974
|
+
"type": "object"
|
|
13975
|
+
}
|
|
13976
|
+
},
|
|
13977
|
+
"type": "object"
|
|
13978
|
+
},
|
|
13979
|
+
"UserSkillsResponse": {
|
|
13980
|
+
"required": [
|
|
13981
|
+
"skills"
|
|
13982
|
+
],
|
|
13983
|
+
"properties": {
|
|
13984
|
+
"skills": {
|
|
13985
|
+
"type": "array",
|
|
13986
|
+
"items": {
|
|
13987
|
+
"$ref": "#/components/schemas/UserSkillDetail"
|
|
13988
|
+
}
|
|
13989
|
+
}
|
|
13990
|
+
},
|
|
13991
|
+
"type": "object"
|
|
13992
|
+
},
|
|
13993
|
+
"UserSkillDetail": {
|
|
13994
|
+
"required": [
|
|
13995
|
+
"slug",
|
|
13996
|
+
"name",
|
|
13997
|
+
"level"
|
|
13998
|
+
],
|
|
13999
|
+
"properties": {
|
|
14000
|
+
"slug": {
|
|
14001
|
+
"type": "string",
|
|
14002
|
+
"oneOf": [
|
|
14003
|
+
{
|
|
14004
|
+
"$ref": "#/components/schemas/UserSkillSlugEnum"
|
|
14005
|
+
},
|
|
14006
|
+
{
|
|
14007
|
+
"type": "string"
|
|
14008
|
+
}
|
|
14009
|
+
]
|
|
14010
|
+
},
|
|
14011
|
+
"name": {
|
|
14012
|
+
"type": "string"
|
|
14013
|
+
},
|
|
14014
|
+
"level": {
|
|
14015
|
+
"type": "number",
|
|
14016
|
+
"format": "float"
|
|
14017
|
+
}
|
|
14018
|
+
},
|
|
14019
|
+
"type": "object"
|
|
14020
|
+
},
|
|
14021
|
+
"UserJobPointsResponse": {
|
|
14022
|
+
"required": [
|
|
14023
|
+
"jobpoints"
|
|
14024
|
+
],
|
|
14025
|
+
"properties": {
|
|
14026
|
+
"jobpoints": {
|
|
14027
|
+
"required": [
|
|
14028
|
+
"jobs",
|
|
14029
|
+
"companies"
|
|
14030
|
+
],
|
|
14031
|
+
"properties": {
|
|
14032
|
+
"jobs": {
|
|
14033
|
+
"required": [
|
|
14034
|
+
"army",
|
|
14035
|
+
"casino",
|
|
14036
|
+
"education",
|
|
14037
|
+
"grocer",
|
|
14038
|
+
"law",
|
|
14039
|
+
"medical"
|
|
14040
|
+
],
|
|
14041
|
+
"properties": {
|
|
14042
|
+
"army": {
|
|
14043
|
+
"type": "integer",
|
|
14044
|
+
"format": "int32"
|
|
14045
|
+
},
|
|
14046
|
+
"casino": {
|
|
14047
|
+
"type": "integer",
|
|
14048
|
+
"format": "int32"
|
|
14049
|
+
},
|
|
14050
|
+
"education": {
|
|
14051
|
+
"type": "integer",
|
|
14052
|
+
"format": "int32"
|
|
14053
|
+
},
|
|
14054
|
+
"grocer": {
|
|
14055
|
+
"type": "integer",
|
|
14056
|
+
"format": "int32"
|
|
14057
|
+
},
|
|
14058
|
+
"law": {
|
|
14059
|
+
"type": "integer",
|
|
14060
|
+
"format": "int32"
|
|
14061
|
+
},
|
|
14062
|
+
"medical": {
|
|
14063
|
+
"type": "integer",
|
|
14064
|
+
"format": "int32"
|
|
14065
|
+
}
|
|
14066
|
+
},
|
|
14067
|
+
"type": "object"
|
|
14068
|
+
},
|
|
14069
|
+
"companies": {
|
|
14070
|
+
"type": "array",
|
|
14071
|
+
"items": {
|
|
14072
|
+
"$ref": "#/components/schemas/UserCompanyPoints"
|
|
14073
|
+
}
|
|
14074
|
+
}
|
|
14075
|
+
},
|
|
14076
|
+
"type": "object"
|
|
14077
|
+
}
|
|
14078
|
+
},
|
|
14079
|
+
"type": "object"
|
|
14080
|
+
},
|
|
14081
|
+
"UserCompanyPoints": {
|
|
14082
|
+
"required": [
|
|
14083
|
+
"company",
|
|
14084
|
+
"points"
|
|
14085
|
+
],
|
|
14086
|
+
"properties": {
|
|
14087
|
+
"company": {
|
|
14088
|
+
"required": [
|
|
14089
|
+
"id",
|
|
14090
|
+
"name"
|
|
14091
|
+
],
|
|
14092
|
+
"properties": {
|
|
14093
|
+
"id": {
|
|
14094
|
+
"$ref": "#/components/schemas/CompanyTypeId"
|
|
14095
|
+
},
|
|
14096
|
+
"name": {
|
|
14097
|
+
"type": "string"
|
|
14098
|
+
}
|
|
14099
|
+
},
|
|
14100
|
+
"type": "object"
|
|
14101
|
+
},
|
|
14102
|
+
"points": {
|
|
14103
|
+
"type": "integer",
|
|
14104
|
+
"format": "int32"
|
|
14105
|
+
}
|
|
14106
|
+
},
|
|
14107
|
+
"type": "object"
|
|
14108
|
+
},
|
|
14109
|
+
"UserWorkStatsResponse": {
|
|
13408
14110
|
"required": [
|
|
13409
|
-
"
|
|
14111
|
+
"workstats"
|
|
13410
14112
|
],
|
|
13411
14113
|
"properties": {
|
|
13412
|
-
"
|
|
13413
|
-
"
|
|
13414
|
-
|
|
13415
|
-
"
|
|
13416
|
-
|
|
13417
|
-
|
|
13418
|
-
|
|
13419
|
-
|
|
13420
|
-
"
|
|
13421
|
-
"
|
|
13422
|
-
|
|
13423
|
-
},
|
|
13424
|
-
"bounty": {
|
|
13425
|
-
"type": "integer",
|
|
13426
|
-
"format": "int64"
|
|
13427
|
-
},
|
|
13428
|
-
"user": {
|
|
13429
|
-
"oneOf": [
|
|
13430
|
-
{
|
|
13431
|
-
"required": [
|
|
13432
|
-
"id",
|
|
13433
|
-
"name"
|
|
13434
|
-
],
|
|
13435
|
-
"properties": {
|
|
13436
|
-
"id": {
|
|
13437
|
-
"$ref": "#/components/schemas/UserId"
|
|
13438
|
-
},
|
|
13439
|
-
"name": {
|
|
13440
|
-
"type": "string"
|
|
13441
|
-
}
|
|
13442
|
-
},
|
|
13443
|
-
"type": "object"
|
|
13444
|
-
},
|
|
13445
|
-
{
|
|
13446
|
-
"type": "null"
|
|
13447
|
-
}
|
|
13448
|
-
]
|
|
13449
|
-
}
|
|
14114
|
+
"workstats": {
|
|
14115
|
+
"required": [
|
|
14116
|
+
"endurance",
|
|
14117
|
+
"intelligence",
|
|
14118
|
+
"manual_labor",
|
|
14119
|
+
"total"
|
|
14120
|
+
],
|
|
14121
|
+
"properties": {
|
|
14122
|
+
"endurance": {
|
|
14123
|
+
"type": "integer",
|
|
14124
|
+
"format": "int32"
|
|
13450
14125
|
},
|
|
13451
|
-
"
|
|
13452
|
-
|
|
14126
|
+
"intelligence": {
|
|
14127
|
+
"type": "integer",
|
|
14128
|
+
"format": "int32"
|
|
14129
|
+
},
|
|
14130
|
+
"manual_labor": {
|
|
14131
|
+
"type": "integer",
|
|
14132
|
+
"format": "int32"
|
|
14133
|
+
},
|
|
14134
|
+
"total": {
|
|
14135
|
+
"type": "integer",
|
|
14136
|
+
"format": "int32"
|
|
14137
|
+
}
|
|
14138
|
+
},
|
|
14139
|
+
"type": "object"
|
|
13453
14140
|
}
|
|
13454
14141
|
},
|
|
13455
14142
|
"type": "object"
|
|
13456
14143
|
},
|
|
13457
|
-
"
|
|
14144
|
+
"UserBattleStatsResponse": {
|
|
13458
14145
|
"required": [
|
|
13459
|
-
"
|
|
14146
|
+
"battlestats"
|
|
13460
14147
|
],
|
|
13461
14148
|
"properties": {
|
|
13462
|
-
"
|
|
13463
|
-
"
|
|
13464
|
-
|
|
13465
|
-
|
|
13466
|
-
|
|
13467
|
-
|
|
13468
|
-
|
|
13469
|
-
|
|
13470
|
-
|
|
13471
|
-
|
|
13472
|
-
|
|
13473
|
-
{
|
|
13474
|
-
"$ref": "#/components/schemas/ReportHistory"
|
|
13475
|
-
},
|
|
13476
|
-
{
|
|
13477
|
-
"$ref": "#/components/schemas/ReportFriendOrFoe"
|
|
13478
|
-
},
|
|
13479
|
-
{
|
|
13480
|
-
"$ref": "#/components/schemas/ReportCompanyFinancials"
|
|
14149
|
+
"battlestats": {
|
|
14150
|
+
"required": [
|
|
14151
|
+
"strength",
|
|
14152
|
+
"defense",
|
|
14153
|
+
"speed",
|
|
14154
|
+
"dexterity",
|
|
14155
|
+
"total"
|
|
14156
|
+
],
|
|
14157
|
+
"properties": {
|
|
14158
|
+
"strength": {
|
|
14159
|
+
"$ref": "#/components/schemas/UserBattleStatDetail"
|
|
13481
14160
|
},
|
|
13482
|
-
{
|
|
13483
|
-
"$ref": "#/components/schemas/
|
|
14161
|
+
"defense": {
|
|
14162
|
+
"$ref": "#/components/schemas/UserBattleStatDetail"
|
|
13484
14163
|
},
|
|
13485
|
-
{
|
|
13486
|
-
"$ref": "#/components/schemas/
|
|
14164
|
+
"speed": {
|
|
14165
|
+
"$ref": "#/components/schemas/UserBattleStatDetail"
|
|
13487
14166
|
},
|
|
13488
|
-
{
|
|
13489
|
-
"$ref": "#/components/schemas/
|
|
14167
|
+
"dexterity": {
|
|
14168
|
+
"$ref": "#/components/schemas/UserBattleStatDetail"
|
|
13490
14169
|
},
|
|
13491
|
-
{
|
|
13492
|
-
"
|
|
14170
|
+
"total": {
|
|
14171
|
+
"type": "integer",
|
|
14172
|
+
"format": "int64"
|
|
13493
14173
|
}
|
|
13494
|
-
|
|
14174
|
+
},
|
|
14175
|
+
"type": "object"
|
|
13495
14176
|
}
|
|
13496
14177
|
},
|
|
13497
14178
|
"type": "object"
|
|
13498
14179
|
},
|
|
13499
|
-
"
|
|
13500
|
-
"allOf": [
|
|
13501
|
-
{
|
|
13502
|
-
"$ref": "#/components/schemas/ReportBase"
|
|
13503
|
-
},
|
|
13504
|
-
{
|
|
13505
|
-
"$ref": "#/components/schemas/ReportReport"
|
|
13506
|
-
}
|
|
13507
|
-
]
|
|
13508
|
-
},
|
|
13509
|
-
"ReportsResponse": {
|
|
14180
|
+
"UserBattleStatDetail": {
|
|
13510
14181
|
"required": [
|
|
13511
|
-
"
|
|
13512
|
-
"
|
|
14182
|
+
"value",
|
|
14183
|
+
"modifier",
|
|
14184
|
+
"modifiers"
|
|
13513
14185
|
],
|
|
13514
14186
|
"properties": {
|
|
13515
|
-
"
|
|
14187
|
+
"value": {
|
|
14188
|
+
"type": "integer",
|
|
14189
|
+
"format": "int64"
|
|
14190
|
+
},
|
|
14191
|
+
"modifier": {
|
|
14192
|
+
"type": "integer",
|
|
14193
|
+
"format": "int32"
|
|
14194
|
+
},
|
|
14195
|
+
"modifiers": {
|
|
13516
14196
|
"type": "array",
|
|
13517
14197
|
"items": {
|
|
13518
|
-
"$ref": "#/components/schemas/
|
|
14198
|
+
"$ref": "#/components/schemas/UserBattleStatModifierDetail"
|
|
13519
14199
|
}
|
|
14200
|
+
}
|
|
14201
|
+
},
|
|
14202
|
+
"type": "object"
|
|
14203
|
+
},
|
|
14204
|
+
"UserBattleStatModifierDetail": {
|
|
14205
|
+
"required": [
|
|
14206
|
+
"effect",
|
|
14207
|
+
"value",
|
|
14208
|
+
"type"
|
|
14209
|
+
],
|
|
14210
|
+
"properties": {
|
|
14211
|
+
"effect": {
|
|
14212
|
+
"type": "string"
|
|
13520
14213
|
},
|
|
13521
|
-
"
|
|
13522
|
-
"
|
|
14214
|
+
"value": {
|
|
14215
|
+
"type": "integer",
|
|
14216
|
+
"format": "int32"
|
|
14217
|
+
},
|
|
14218
|
+
"type": {
|
|
14219
|
+
"type": "string"
|
|
13523
14220
|
}
|
|
13524
14221
|
},
|
|
13525
14222
|
"type": "object"
|
|
13526
14223
|
},
|
|
13527
|
-
"
|
|
13528
|
-
"
|
|
13529
|
-
|
|
13530
|
-
|
|
14224
|
+
"UserBasic": {
|
|
14225
|
+
"required": [
|
|
14226
|
+
"id",
|
|
14227
|
+
"name",
|
|
14228
|
+
"level",
|
|
14229
|
+
"gender",
|
|
14230
|
+
"status"
|
|
14231
|
+
],
|
|
14232
|
+
"properties": {
|
|
14233
|
+
"id": {
|
|
14234
|
+
"$ref": "#/components/schemas/UserId"
|
|
13531
14235
|
},
|
|
13532
|
-
{
|
|
13533
|
-
"
|
|
14236
|
+
"name": {
|
|
14237
|
+
"type": "string"
|
|
13534
14238
|
},
|
|
13535
|
-
{
|
|
13536
|
-
"
|
|
14239
|
+
"level": {
|
|
14240
|
+
"type": "integer",
|
|
14241
|
+
"format": "int32"
|
|
13537
14242
|
},
|
|
13538
|
-
{
|
|
13539
|
-
"$ref": "#/components/schemas/
|
|
14243
|
+
"gender": {
|
|
14244
|
+
"$ref": "#/components/schemas/UserGenderEnum"
|
|
14245
|
+
},
|
|
14246
|
+
"status": {
|
|
14247
|
+
"$ref": "#/components/schemas/UserStatus"
|
|
13540
14248
|
}
|
|
13541
|
-
|
|
14249
|
+
},
|
|
14250
|
+
"type": "object"
|
|
14251
|
+
},
|
|
14252
|
+
"UserBasicResponse": {
|
|
14253
|
+
"required": [
|
|
14254
|
+
"profile"
|
|
14255
|
+
],
|
|
14256
|
+
"properties": {
|
|
14257
|
+
"profile": {
|
|
14258
|
+
"$ref": "#/components/schemas/UserBasic"
|
|
14259
|
+
}
|
|
14260
|
+
},
|
|
14261
|
+
"type": "object"
|
|
13542
14262
|
},
|
|
13543
14263
|
"UserLog": {
|
|
13544
14264
|
"required": [
|
|
@@ -13788,7 +14508,8 @@
|
|
|
13788
14508
|
"cost",
|
|
13789
14509
|
"cost_per_day",
|
|
13790
14510
|
"rental_period",
|
|
13791
|
-
"rental_period_remaining"
|
|
14511
|
+
"rental_period_remaining",
|
|
14512
|
+
"lease_extension"
|
|
13792
14513
|
],
|
|
13793
14514
|
"properties": {
|
|
13794
14515
|
"used_by": {
|
|
@@ -13821,6 +14542,35 @@
|
|
|
13821
14542
|
},
|
|
13822
14543
|
"rented_by": {
|
|
13823
14544
|
"$ref": "#/components/schemas/BasicUser"
|
|
14545
|
+
},
|
|
14546
|
+
"lease_extension": {
|
|
14547
|
+
"oneOf": [
|
|
14548
|
+
{
|
|
14549
|
+
"required": [
|
|
14550
|
+
"cost",
|
|
14551
|
+
"period",
|
|
14552
|
+
"created_at"
|
|
14553
|
+
],
|
|
14554
|
+
"properties": {
|
|
14555
|
+
"cost": {
|
|
14556
|
+
"type": "integer",
|
|
14557
|
+
"format": "int64"
|
|
14558
|
+
},
|
|
14559
|
+
"period": {
|
|
14560
|
+
"type": "integer",
|
|
14561
|
+
"format": "int32"
|
|
14562
|
+
},
|
|
14563
|
+
"created_at": {
|
|
14564
|
+
"type": "integer",
|
|
14565
|
+
"format": "int32"
|
|
14566
|
+
}
|
|
14567
|
+
},
|
|
14568
|
+
"type": "object"
|
|
14569
|
+
},
|
|
14570
|
+
{
|
|
14571
|
+
"type": "null"
|
|
14572
|
+
}
|
|
14573
|
+
]
|
|
13824
14574
|
}
|
|
13825
14575
|
},
|
|
13826
14576
|
"type": "object"
|
|
@@ -15353,11 +16103,13 @@
|
|
|
15353
16103
|
"UserSelectionName": {
|
|
15354
16104
|
"oneOf": [
|
|
15355
16105
|
{
|
|
15356
|
-
"description": "The following selections will fallback to API v1 and may change at any time: 'ammo','bars','
|
|
16106
|
+
"description": "The following selections will fallback to API v1 and may change at any time: 'ammo','bars','bazaar','cooldowns','criminalrecord','discord','display','education','equipment','events','gym','honors','icons','inventory','log','medals','merits','messages','missions','networth','newevents','newmessages','notifications','perks','profile','refills','stocks','travel','weaponexp'.",
|
|
15357
16107
|
"type": "string",
|
|
15358
16108
|
"enum": [
|
|
15359
16109
|
"attacks",
|
|
15360
16110
|
"attacksfull",
|
|
16111
|
+
"basic",
|
|
16112
|
+
"battlestats",
|
|
15361
16113
|
"bounties",
|
|
15362
16114
|
"calendar",
|
|
15363
16115
|
"crimes",
|
|
@@ -15370,22 +16122,25 @@
|
|
|
15370
16122
|
"forumthreads",
|
|
15371
16123
|
"hof",
|
|
15372
16124
|
"itemmarket",
|
|
16125
|
+
"jobpoints",
|
|
15373
16126
|
"jobranks",
|
|
15374
16127
|
"list",
|
|
15375
16128
|
"lookup",
|
|
16129
|
+
"money",
|
|
15376
16130
|
"organizedcrime",
|
|
15377
16131
|
"personalstats",
|
|
15378
16132
|
"properties",
|
|
15379
16133
|
"property",
|
|
15380
16134
|
"races",
|
|
15381
16135
|
"racingrecords",
|
|
16136
|
+
"reports",
|
|
15382
16137
|
"revives",
|
|
15383
16138
|
"revivesfull",
|
|
16139
|
+
"skills",
|
|
15384
16140
|
"timestamp",
|
|
16141
|
+
"workstats",
|
|
15385
16142
|
"ammo",
|
|
15386
16143
|
"bars",
|
|
15387
|
-
"basic",
|
|
15388
|
-
"battlestats",
|
|
15389
16144
|
"bazaar",
|
|
15390
16145
|
"cooldowns",
|
|
15391
16146
|
"criminalrecord",
|
|
@@ -15398,13 +16153,11 @@
|
|
|
15398
16153
|
"honors",
|
|
15399
16154
|
"icons",
|
|
15400
16155
|
"inventory",
|
|
15401
|
-
"jobpoints",
|
|
15402
16156
|
"log",
|
|
15403
16157
|
"medals",
|
|
15404
16158
|
"merits",
|
|
15405
16159
|
"messages",
|
|
15406
16160
|
"missions",
|
|
15407
|
-
"money",
|
|
15408
16161
|
"networth",
|
|
15409
16162
|
"newevents",
|
|
15410
16163
|
"newmessages",
|
|
@@ -15412,12 +16165,9 @@
|
|
|
15412
16165
|
"perks",
|
|
15413
16166
|
"profile",
|
|
15414
16167
|
"refills",
|
|
15415
|
-
"reports",
|
|
15416
|
-
"skills",
|
|
15417
16168
|
"stocks",
|
|
15418
16169
|
"travel",
|
|
15419
|
-
"weaponexp"
|
|
15420
|
-
"workstats"
|
|
16170
|
+
"weaponexp"
|
|
15421
16171
|
]
|
|
15422
16172
|
},
|
|
15423
16173
|
{
|
|
@@ -25522,6 +26272,34 @@
|
|
|
25522
26272
|
]
|
|
25523
26273
|
}
|
|
25524
26274
|
},
|
|
26275
|
+
"ApiFiltersUser": {
|
|
26276
|
+
"name": "filters",
|
|
26277
|
+
"in": "query",
|
|
26278
|
+
"description": "It's possible to use this query parameter to only get incoming or outgoing attacks / revives. If not specified, this selection will return both incoming and outgoing attacks / revives.",
|
|
26279
|
+
"required": false,
|
|
26280
|
+
"schema": {
|
|
26281
|
+
"type": "string",
|
|
26282
|
+
"enum": [
|
|
26283
|
+
"incoming",
|
|
26284
|
+
"outgoing",
|
|
26285
|
+
"ownedByUser",
|
|
26286
|
+
"ownedBySpouse"
|
|
26287
|
+
]
|
|
26288
|
+
}
|
|
26289
|
+
},
|
|
26290
|
+
"ApiFiltersUserProperties": {
|
|
26291
|
+
"name": "filters",
|
|
26292
|
+
"in": "query",
|
|
26293
|
+
"description": "It's possible to use this query parameter to filter properties by the key owner or their spouse.",
|
|
26294
|
+
"required": false,
|
|
26295
|
+
"schema": {
|
|
26296
|
+
"type": "string",
|
|
26297
|
+
"enum": [
|
|
26298
|
+
"ownedByUser",
|
|
26299
|
+
"ownedBySpouse"
|
|
26300
|
+
]
|
|
26301
|
+
}
|
|
26302
|
+
},
|
|
25525
26303
|
"ApiFactionSearchFilter": {
|
|
25526
26304
|
"name": "filters",
|
|
25527
26305
|
"in": "query",
|