tornapi-typescript 3.0.6 → 3.0.8
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 +111 -1
- package/dist/index.ts +141 -1
- package/dist/openapi.json +947 -242
- 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.8"
|
|
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": [
|
|
@@ -1700,14 +1911,14 @@
|
|
|
1700
1911
|
"x-stability": "Stable"
|
|
1701
1912
|
}
|
|
1702
1913
|
},
|
|
1703
|
-
"/user/
|
|
1914
|
+
"/user/skills": {
|
|
1704
1915
|
"get": {
|
|
1705
1916
|
"tags": [
|
|
1706
1917
|
"User"
|
|
1707
1918
|
],
|
|
1708
|
-
"summary": "Get
|
|
1709
|
-
"description": "Requires
|
|
1710
|
-
"operationId": "
|
|
1919
|
+
"summary": "Get your skills",
|
|
1920
|
+
"description": "Requires minimal access key. <br>",
|
|
1921
|
+
"operationId": "242cd6844d92aec0223d9c5c88e66403",
|
|
1711
1922
|
"parameters": [
|
|
1712
1923
|
{
|
|
1713
1924
|
"$ref": "#/components/parameters/ApiTimestamp"
|
|
@@ -1725,7 +1936,7 @@
|
|
|
1725
1936
|
"content": {
|
|
1726
1937
|
"application/json": {
|
|
1727
1938
|
"schema": {
|
|
1728
|
-
"$ref": "#/components/schemas/
|
|
1939
|
+
"$ref": "#/components/schemas/UserSkillsResponse"
|
|
1729
1940
|
}
|
|
1730
1941
|
}
|
|
1731
1942
|
}
|
|
@@ -1736,17 +1947,17 @@
|
|
|
1736
1947
|
"api_key": []
|
|
1737
1948
|
}
|
|
1738
1949
|
],
|
|
1739
|
-
"x-stability": "
|
|
1950
|
+
"x-stability": "Unstable"
|
|
1740
1951
|
}
|
|
1741
1952
|
},
|
|
1742
|
-
"/user/
|
|
1953
|
+
"/user/workstats": {
|
|
1743
1954
|
"get": {
|
|
1744
1955
|
"tags": [
|
|
1745
1956
|
"User"
|
|
1746
1957
|
],
|
|
1747
|
-
"summary": "Get
|
|
1748
|
-
"description": "Requires
|
|
1749
|
-
"operationId": "
|
|
1958
|
+
"summary": "Get your working stats",
|
|
1959
|
+
"description": "Requires minimal access key. <br>",
|
|
1960
|
+
"operationId": "8c3acc9ecc8ec39baac5d2be8235d458",
|
|
1750
1961
|
"parameters": [
|
|
1751
1962
|
{
|
|
1752
1963
|
"$ref": "#/components/parameters/ApiTimestamp"
|
|
@@ -1764,7 +1975,7 @@
|
|
|
1764
1975
|
"content": {
|
|
1765
1976
|
"application/json": {
|
|
1766
1977
|
"schema": {
|
|
1767
|
-
"$ref": "#/components/schemas/
|
|
1978
|
+
"$ref": "#/components/schemas/UserWorkStatsResponse"
|
|
1768
1979
|
}
|
|
1769
1980
|
}
|
|
1770
1981
|
}
|
|
@@ -1778,60 +1989,138 @@
|
|
|
1778
1989
|
"x-stability": "Stable"
|
|
1779
1990
|
}
|
|
1780
1991
|
},
|
|
1781
|
-
"/user": {
|
|
1992
|
+
"/user/lookup": {
|
|
1782
1993
|
"get": {
|
|
1783
1994
|
"tags": [
|
|
1784
1995
|
"User"
|
|
1785
1996
|
],
|
|
1786
|
-
"summary": "Get
|
|
1787
|
-
"description": "
|
|
1788
|
-
"operationId": "
|
|
1997
|
+
"summary": "Get all available user selections",
|
|
1998
|
+
"description": "Requires public access key. <br>",
|
|
1999
|
+
"operationId": "c0a6c91697cd1683c39b3c0649a18ec8",
|
|
1789
2000
|
"parameters": [
|
|
1790
2001
|
{
|
|
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"
|
|
1825
|
-
},
|
|
1826
|
-
{
|
|
1827
|
-
"$ref": "#/components/parameters/ApiFrom"
|
|
2002
|
+
"$ref": "#/components/parameters/ApiTimestamp"
|
|
1828
2003
|
},
|
|
1829
2004
|
{
|
|
1830
|
-
"$ref": "#/components/parameters/
|
|
2005
|
+
"$ref": "#/components/parameters/ApiComment"
|
|
1831
2006
|
},
|
|
1832
2007
|
{
|
|
1833
|
-
"$ref": "#/components/parameters/
|
|
1834
|
-
}
|
|
2008
|
+
"$ref": "#/components/parameters/ApiKeyPublic"
|
|
2009
|
+
}
|
|
2010
|
+
],
|
|
2011
|
+
"responses": {
|
|
2012
|
+
"200": {
|
|
2013
|
+
"description": "Successful operation",
|
|
2014
|
+
"content": {
|
|
2015
|
+
"application/json": {
|
|
2016
|
+
"schema": {
|
|
2017
|
+
"$ref": "#/components/schemas/UserLookupResponse"
|
|
2018
|
+
}
|
|
2019
|
+
}
|
|
2020
|
+
}
|
|
2021
|
+
}
|
|
2022
|
+
},
|
|
2023
|
+
"security": [
|
|
2024
|
+
{
|
|
2025
|
+
"api_key": []
|
|
2026
|
+
}
|
|
2027
|
+
],
|
|
2028
|
+
"x-stability": "Stable"
|
|
2029
|
+
}
|
|
2030
|
+
},
|
|
2031
|
+
"/user/timestamp": {
|
|
2032
|
+
"get": {
|
|
2033
|
+
"tags": [
|
|
2034
|
+
"User"
|
|
2035
|
+
],
|
|
2036
|
+
"summary": "Get current server time",
|
|
2037
|
+
"description": "Requires public access key. <br>",
|
|
2038
|
+
"operationId": "a72308321da0c4a2c31c60218acc7a85",
|
|
2039
|
+
"parameters": [
|
|
2040
|
+
{
|
|
2041
|
+
"$ref": "#/components/parameters/ApiTimestamp"
|
|
2042
|
+
},
|
|
2043
|
+
{
|
|
2044
|
+
"$ref": "#/components/parameters/ApiComment"
|
|
2045
|
+
},
|
|
2046
|
+
{
|
|
2047
|
+
"$ref": "#/components/parameters/ApiKeyPublic"
|
|
2048
|
+
}
|
|
2049
|
+
],
|
|
2050
|
+
"responses": {
|
|
2051
|
+
"200": {
|
|
2052
|
+
"description": "Successful operation",
|
|
2053
|
+
"content": {
|
|
2054
|
+
"application/json": {
|
|
2055
|
+
"schema": {
|
|
2056
|
+
"$ref": "#/components/schemas/TimestampResponse"
|
|
2057
|
+
}
|
|
2058
|
+
}
|
|
2059
|
+
}
|
|
2060
|
+
}
|
|
2061
|
+
},
|
|
2062
|
+
"security": [
|
|
2063
|
+
{
|
|
2064
|
+
"api_key": []
|
|
2065
|
+
}
|
|
2066
|
+
],
|
|
2067
|
+
"x-stability": "Stable"
|
|
2068
|
+
}
|
|
2069
|
+
},
|
|
2070
|
+
"/user": {
|
|
2071
|
+
"get": {
|
|
2072
|
+
"tags": [
|
|
2073
|
+
"User"
|
|
2074
|
+
],
|
|
2075
|
+
"summary": "Get any User selection",
|
|
2076
|
+
"description": "Key access level depends on the required selections. <br>Choose one or more selections (comma separated).",
|
|
2077
|
+
"operationId": "ce480599312126b8a5d77ced3ab8caa8",
|
|
2078
|
+
"parameters": [
|
|
2079
|
+
{
|
|
2080
|
+
"name": "selections",
|
|
2081
|
+
"in": "query",
|
|
2082
|
+
"description": "Selection names",
|
|
2083
|
+
"required": false,
|
|
2084
|
+
"style": "form",
|
|
2085
|
+
"explode": false,
|
|
2086
|
+
"schema": {
|
|
2087
|
+
"type": "array",
|
|
2088
|
+
"items": {
|
|
2089
|
+
"$ref": "#/components/schemas/UserSelectionName"
|
|
2090
|
+
}
|
|
2091
|
+
}
|
|
2092
|
+
},
|
|
2093
|
+
{
|
|
2094
|
+
"name": "id",
|
|
2095
|
+
"in": "query",
|
|
2096
|
+
"description": "selection id",
|
|
2097
|
+
"required": false,
|
|
2098
|
+
"schema": {
|
|
2099
|
+
"oneOf": [
|
|
2100
|
+
{
|
|
2101
|
+
"$ref": "#/components/schemas/UserId"
|
|
2102
|
+
},
|
|
2103
|
+
{
|
|
2104
|
+
"$ref": "#/components/schemas/TornCrimeId"
|
|
2105
|
+
},
|
|
2106
|
+
{
|
|
2107
|
+
"type": "string"
|
|
2108
|
+
}
|
|
2109
|
+
]
|
|
2110
|
+
}
|
|
2111
|
+
},
|
|
2112
|
+
{
|
|
2113
|
+
"$ref": "#/components/parameters/ApiLimit"
|
|
2114
|
+
},
|
|
2115
|
+
{
|
|
2116
|
+
"$ref": "#/components/parameters/ApiFrom"
|
|
2117
|
+
},
|
|
2118
|
+
{
|
|
2119
|
+
"$ref": "#/components/parameters/ApiTo"
|
|
2120
|
+
},
|
|
2121
|
+
{
|
|
2122
|
+
"$ref": "#/components/parameters/ApiSort"
|
|
2123
|
+
},
|
|
1835
2124
|
{
|
|
1836
2125
|
"name": "cat",
|
|
1837
2126
|
"in": "query",
|
|
@@ -1942,6 +2231,9 @@
|
|
|
1942
2231
|
{
|
|
1943
2232
|
"$ref": "#/components/schemas/UserFactionBalanceResponse"
|
|
1944
2233
|
},
|
|
2234
|
+
{
|
|
2235
|
+
"$ref": "#/components/schemas/UserBasicResponse"
|
|
2236
|
+
},
|
|
1945
2237
|
{
|
|
1946
2238
|
"$ref": "#/components/schemas/RevivesResponse"
|
|
1947
2239
|
},
|
|
@@ -1966,6 +2258,21 @@
|
|
|
1966
2258
|
{
|
|
1967
2259
|
"$ref": "#/components/schemas/FactionAttacksFullResponse"
|
|
1968
2260
|
},
|
|
2261
|
+
{
|
|
2262
|
+
"$ref": "#/components/schemas/UserMoneyResponse"
|
|
2263
|
+
},
|
|
2264
|
+
{
|
|
2265
|
+
"$ref": "#/components/schemas/UserJobPointsResponse"
|
|
2266
|
+
},
|
|
2267
|
+
{
|
|
2268
|
+
"$ref": "#/components/schemas/UserWorkStatsResponse"
|
|
2269
|
+
},
|
|
2270
|
+
{
|
|
2271
|
+
"$ref": "#/components/schemas/UserSkillsResponse"
|
|
2272
|
+
},
|
|
2273
|
+
{
|
|
2274
|
+
"$ref": "#/components/schemas/UserBattleStatsResponse"
|
|
2275
|
+
},
|
|
1969
2276
|
{
|
|
1970
2277
|
"$ref": "#/components/schemas/UserLookupResponse"
|
|
1971
2278
|
},
|
|
@@ -7325,6 +7632,27 @@
|
|
|
7325
7632
|
"E"
|
|
7326
7633
|
]
|
|
7327
7634
|
},
|
|
7635
|
+
"UserSkillSlugEnum": {
|
|
7636
|
+
"type": "string",
|
|
7637
|
+
"enum": [
|
|
7638
|
+
"hunting",
|
|
7639
|
+
"racing",
|
|
7640
|
+
"reviving",
|
|
7641
|
+
"search_for_cash",
|
|
7642
|
+
"bootlegging",
|
|
7643
|
+
"graffiti",
|
|
7644
|
+
"shoplifting",
|
|
7645
|
+
"pickpocketing",
|
|
7646
|
+
"card_skimming",
|
|
7647
|
+
"burglary",
|
|
7648
|
+
"hustling",
|
|
7649
|
+
"disposal",
|
|
7650
|
+
"cracking",
|
|
7651
|
+
"forgery",
|
|
7652
|
+
"scamming",
|
|
7653
|
+
"arson"
|
|
7654
|
+
]
|
|
7655
|
+
},
|
|
7328
7656
|
"CountryEnum": {
|
|
7329
7657
|
"type": "string",
|
|
7330
7658
|
"enum": [
|
|
@@ -12097,6 +12425,10 @@
|
|
|
12097
12425
|
"type": "integer",
|
|
12098
12426
|
"format": "int32"
|
|
12099
12427
|
},
|
|
12428
|
+
"CompanyTypeId": {
|
|
12429
|
+
"type": "integer",
|
|
12430
|
+
"format": "int32"
|
|
12431
|
+
},
|
|
12100
12432
|
"EducationId": {
|
|
12101
12433
|
"type": "integer",
|
|
12102
12434
|
"format": "int32"
|
|
@@ -12218,6 +12550,14 @@
|
|
|
12218
12550
|
7
|
|
12219
12551
|
]
|
|
12220
12552
|
},
|
|
12553
|
+
"UserGenderEnum": {
|
|
12554
|
+
"type": "string",
|
|
12555
|
+
"enum": [
|
|
12556
|
+
"Male",
|
|
12557
|
+
"Female",
|
|
12558
|
+
"Enby"
|
|
12559
|
+
]
|
|
12560
|
+
},
|
|
12221
12561
|
"Parameters": {
|
|
12222
12562
|
"oneOf": [
|
|
12223
12563
|
{
|
|
@@ -13319,11 +13659,464 @@
|
|
|
13319
13659
|
"type": "integer",
|
|
13320
13660
|
"format": "int32"
|
|
13321
13661
|
},
|
|
13322
|
-
"lowest": {
|
|
13662
|
+
"lowest": {
|
|
13663
|
+
"type": "integer",
|
|
13664
|
+
"format": "int32"
|
|
13665
|
+
},
|
|
13666
|
+
"average": {
|
|
13667
|
+
"type": "integer",
|
|
13668
|
+
"format": "int32"
|
|
13669
|
+
}
|
|
13670
|
+
},
|
|
13671
|
+
"type": "object"
|
|
13672
|
+
}
|
|
13673
|
+
},
|
|
13674
|
+
"type": "object"
|
|
13675
|
+
},
|
|
13676
|
+
"ReportStockAnalysis": {
|
|
13677
|
+
"required": [
|
|
13678
|
+
"items"
|
|
13679
|
+
],
|
|
13680
|
+
"properties": {
|
|
13681
|
+
"items": {
|
|
13682
|
+
"type": "array",
|
|
13683
|
+
"items": {
|
|
13684
|
+
"required": [
|
|
13685
|
+
"country",
|
|
13686
|
+
"item",
|
|
13687
|
+
"trip_duration",
|
|
13688
|
+
"hourly_profit"
|
|
13689
|
+
],
|
|
13690
|
+
"properties": {
|
|
13691
|
+
"country": {
|
|
13692
|
+
"$ref": "#/components/schemas/CountryEnum"
|
|
13693
|
+
},
|
|
13694
|
+
"item": {
|
|
13695
|
+
"required": [
|
|
13696
|
+
"id",
|
|
13697
|
+
"name",
|
|
13698
|
+
"stock",
|
|
13699
|
+
"price",
|
|
13700
|
+
"value",
|
|
13701
|
+
"due"
|
|
13702
|
+
],
|
|
13703
|
+
"properties": {
|
|
13704
|
+
"id": {
|
|
13705
|
+
"$ref": "#/components/schemas/ItemId"
|
|
13706
|
+
},
|
|
13707
|
+
"name": {
|
|
13708
|
+
"type": "string"
|
|
13709
|
+
},
|
|
13710
|
+
"price": {
|
|
13711
|
+
"type": "integer",
|
|
13712
|
+
"format": "int32"
|
|
13713
|
+
},
|
|
13714
|
+
"value": {
|
|
13715
|
+
"type": "integer",
|
|
13716
|
+
"format": "int32"
|
|
13717
|
+
},
|
|
13718
|
+
"due": {
|
|
13719
|
+
"oneOf": [
|
|
13720
|
+
{
|
|
13721
|
+
"type": "integer",
|
|
13722
|
+
"format": "int32"
|
|
13723
|
+
},
|
|
13724
|
+
{
|
|
13725
|
+
"type": "null"
|
|
13726
|
+
}
|
|
13727
|
+
]
|
|
13728
|
+
}
|
|
13729
|
+
},
|
|
13730
|
+
"type": "object"
|
|
13731
|
+
},
|
|
13732
|
+
"trip_duration": {
|
|
13733
|
+
"type": "integer",
|
|
13734
|
+
"format": "int32"
|
|
13735
|
+
},
|
|
13736
|
+
"hourly_profit": {
|
|
13737
|
+
"type": "integer",
|
|
13738
|
+
"format": "int32"
|
|
13739
|
+
}
|
|
13740
|
+
},
|
|
13741
|
+
"type": "object"
|
|
13742
|
+
}
|
|
13743
|
+
}
|
|
13744
|
+
},
|
|
13745
|
+
"type": "object"
|
|
13746
|
+
},
|
|
13747
|
+
"ReportAnonymousBounties": {
|
|
13748
|
+
"required": [
|
|
13749
|
+
"bounties"
|
|
13750
|
+
],
|
|
13751
|
+
"properties": {
|
|
13752
|
+
"bounties": {
|
|
13753
|
+
"type": "array",
|
|
13754
|
+
"items": {
|
|
13755
|
+
"required": [
|
|
13756
|
+
"bounty",
|
|
13757
|
+
"user",
|
|
13758
|
+
"text"
|
|
13759
|
+
],
|
|
13760
|
+
"properties": {
|
|
13761
|
+
"text": {
|
|
13762
|
+
"type": "string"
|
|
13763
|
+
},
|
|
13764
|
+
"bounty": {
|
|
13765
|
+
"type": "integer",
|
|
13766
|
+
"format": "int64"
|
|
13767
|
+
},
|
|
13768
|
+
"user": {
|
|
13769
|
+
"oneOf": [
|
|
13770
|
+
{
|
|
13771
|
+
"required": [
|
|
13772
|
+
"id",
|
|
13773
|
+
"name"
|
|
13774
|
+
],
|
|
13775
|
+
"properties": {
|
|
13776
|
+
"id": {
|
|
13777
|
+
"$ref": "#/components/schemas/UserId"
|
|
13778
|
+
},
|
|
13779
|
+
"name": {
|
|
13780
|
+
"type": "string"
|
|
13781
|
+
}
|
|
13782
|
+
},
|
|
13783
|
+
"type": "object"
|
|
13784
|
+
},
|
|
13785
|
+
{
|
|
13786
|
+
"type": "null"
|
|
13787
|
+
}
|
|
13788
|
+
]
|
|
13789
|
+
}
|
|
13790
|
+
},
|
|
13791
|
+
"type": "object"
|
|
13792
|
+
}
|
|
13793
|
+
}
|
|
13794
|
+
},
|
|
13795
|
+
"type": "object"
|
|
13796
|
+
},
|
|
13797
|
+
"ReportReport": {
|
|
13798
|
+
"required": [
|
|
13799
|
+
"report"
|
|
13800
|
+
],
|
|
13801
|
+
"properties": {
|
|
13802
|
+
"report": {
|
|
13803
|
+
"oneOf": [
|
|
13804
|
+
{
|
|
13805
|
+
"$ref": "#/components/schemas/ReportMoney"
|
|
13806
|
+
},
|
|
13807
|
+
{
|
|
13808
|
+
"$ref": "#/components/schemas/ReportStats"
|
|
13809
|
+
},
|
|
13810
|
+
{
|
|
13811
|
+
"$ref": "#/components/schemas/ReportMostWanted"
|
|
13812
|
+
},
|
|
13813
|
+
{
|
|
13814
|
+
"$ref": "#/components/schemas/ReportHistory"
|
|
13815
|
+
},
|
|
13816
|
+
{
|
|
13817
|
+
"$ref": "#/components/schemas/ReportFriendOrFoe"
|
|
13818
|
+
},
|
|
13819
|
+
{
|
|
13820
|
+
"$ref": "#/components/schemas/ReportCompanyFinancials"
|
|
13821
|
+
},
|
|
13822
|
+
{
|
|
13823
|
+
"$ref": "#/components/schemas/ReportTrueLevel"
|
|
13824
|
+
},
|
|
13825
|
+
{
|
|
13826
|
+
"$ref": "#/components/schemas/ReportStockAnalysis"
|
|
13827
|
+
},
|
|
13828
|
+
{
|
|
13829
|
+
"$ref": "#/components/schemas/ReportAnonymousBounties"
|
|
13830
|
+
},
|
|
13831
|
+
{
|
|
13832
|
+
"$ref": "#/components/schemas/ReportInvestment"
|
|
13833
|
+
}
|
|
13834
|
+
]
|
|
13835
|
+
}
|
|
13836
|
+
},
|
|
13837
|
+
"type": "object"
|
|
13838
|
+
},
|
|
13839
|
+
"Report": {
|
|
13840
|
+
"allOf": [
|
|
13841
|
+
{
|
|
13842
|
+
"$ref": "#/components/schemas/ReportBase"
|
|
13843
|
+
},
|
|
13844
|
+
{
|
|
13845
|
+
"$ref": "#/components/schemas/ReportReport"
|
|
13846
|
+
}
|
|
13847
|
+
]
|
|
13848
|
+
},
|
|
13849
|
+
"ReportsResponse": {
|
|
13850
|
+
"required": [
|
|
13851
|
+
"reports",
|
|
13852
|
+
"_metadata"
|
|
13853
|
+
],
|
|
13854
|
+
"properties": {
|
|
13855
|
+
"reports": {
|
|
13856
|
+
"type": "array",
|
|
13857
|
+
"items": {
|
|
13858
|
+
"$ref": "#/components/schemas/Report"
|
|
13859
|
+
}
|
|
13860
|
+
},
|
|
13861
|
+
"_metadata": {
|
|
13862
|
+
"$ref": "#/components/schemas/RequestMetadataWithLinks"
|
|
13863
|
+
}
|
|
13864
|
+
},
|
|
13865
|
+
"type": "object"
|
|
13866
|
+
},
|
|
13867
|
+
"SelectionCategoryEnum": {
|
|
13868
|
+
"oneOf": [
|
|
13869
|
+
{
|
|
13870
|
+
"$ref": "#/components/schemas/ReportTypeEnum"
|
|
13871
|
+
},
|
|
13872
|
+
{
|
|
13873
|
+
"$ref": "#/components/schemas/UserListEnum"
|
|
13874
|
+
},
|
|
13875
|
+
{
|
|
13876
|
+
"$ref": "#/components/schemas/PersonalStatsCategoryEnum"
|
|
13877
|
+
},
|
|
13878
|
+
{
|
|
13879
|
+
"$ref": "#/components/schemas/RacingRaceTypeEnum"
|
|
13880
|
+
}
|
|
13881
|
+
]
|
|
13882
|
+
},
|
|
13883
|
+
"UserMoneyResponse": {
|
|
13884
|
+
"required": [
|
|
13885
|
+
"money"
|
|
13886
|
+
],
|
|
13887
|
+
"properties": {
|
|
13888
|
+
"money": {
|
|
13889
|
+
"required": [
|
|
13890
|
+
"points",
|
|
13891
|
+
"wallet",
|
|
13892
|
+
"company",
|
|
13893
|
+
"vault",
|
|
13894
|
+
"cayman_bank",
|
|
13895
|
+
"city_bank",
|
|
13896
|
+
"faction",
|
|
13897
|
+
"daily_networth"
|
|
13898
|
+
],
|
|
13899
|
+
"properties": {
|
|
13900
|
+
"points": {
|
|
13901
|
+
"type": "integer",
|
|
13902
|
+
"format": "int64"
|
|
13903
|
+
},
|
|
13904
|
+
"wallet": {
|
|
13905
|
+
"type": "integer",
|
|
13906
|
+
"format": "int64"
|
|
13907
|
+
},
|
|
13908
|
+
"company": {
|
|
13909
|
+
"type": "integer",
|
|
13910
|
+
"format": "int64"
|
|
13911
|
+
},
|
|
13912
|
+
"vault": {
|
|
13913
|
+
"type": "integer",
|
|
13914
|
+
"format": "int64"
|
|
13915
|
+
},
|
|
13916
|
+
"cayman_bank": {
|
|
13917
|
+
"type": "integer",
|
|
13918
|
+
"format": "int64"
|
|
13919
|
+
},
|
|
13920
|
+
"city_bank": {
|
|
13921
|
+
"required": [
|
|
13922
|
+
"amount",
|
|
13923
|
+
"until"
|
|
13924
|
+
],
|
|
13925
|
+
"properties": {
|
|
13926
|
+
"amount": {
|
|
13927
|
+
"type": "integer",
|
|
13928
|
+
"format": "int64"
|
|
13929
|
+
},
|
|
13930
|
+
"until": {
|
|
13931
|
+
"type": "integer",
|
|
13932
|
+
"format": "int64"
|
|
13933
|
+
}
|
|
13934
|
+
},
|
|
13935
|
+
"type": "object"
|
|
13936
|
+
},
|
|
13937
|
+
"faction": {
|
|
13938
|
+
"required": [
|
|
13939
|
+
"money",
|
|
13940
|
+
"points"
|
|
13941
|
+
],
|
|
13942
|
+
"properties": {
|
|
13943
|
+
"money": {
|
|
13944
|
+
"type": "integer",
|
|
13945
|
+
"format": "int64"
|
|
13946
|
+
},
|
|
13947
|
+
"points": {
|
|
13948
|
+
"type": "integer",
|
|
13949
|
+
"format": "int64"
|
|
13950
|
+
}
|
|
13951
|
+
},
|
|
13952
|
+
"type": "object"
|
|
13953
|
+
},
|
|
13954
|
+
"daily_networth": {
|
|
13955
|
+
"type": "integer",
|
|
13956
|
+
"format": "int64"
|
|
13957
|
+
}
|
|
13958
|
+
},
|
|
13959
|
+
"type": "object"
|
|
13960
|
+
}
|
|
13961
|
+
},
|
|
13962
|
+
"type": "object"
|
|
13963
|
+
},
|
|
13964
|
+
"UserSkillsResponse": {
|
|
13965
|
+
"required": [
|
|
13966
|
+
"skills"
|
|
13967
|
+
],
|
|
13968
|
+
"properties": {
|
|
13969
|
+
"skills": {
|
|
13970
|
+
"type": "array",
|
|
13971
|
+
"items": {
|
|
13972
|
+
"$ref": "#/components/schemas/UserSkillDetail"
|
|
13973
|
+
}
|
|
13974
|
+
}
|
|
13975
|
+
},
|
|
13976
|
+
"type": "object"
|
|
13977
|
+
},
|
|
13978
|
+
"UserSkillDetail": {
|
|
13979
|
+
"required": [
|
|
13980
|
+
"slug",
|
|
13981
|
+
"name",
|
|
13982
|
+
"level"
|
|
13983
|
+
],
|
|
13984
|
+
"properties": {
|
|
13985
|
+
"slug": {
|
|
13986
|
+
"type": "string",
|
|
13987
|
+
"oneOf": [
|
|
13988
|
+
{
|
|
13989
|
+
"$ref": "#/components/schemas/UserSkillSlugEnum"
|
|
13990
|
+
},
|
|
13991
|
+
{
|
|
13992
|
+
"type": "string"
|
|
13993
|
+
}
|
|
13994
|
+
]
|
|
13995
|
+
},
|
|
13996
|
+
"name": {
|
|
13997
|
+
"type": "string"
|
|
13998
|
+
},
|
|
13999
|
+
"level": {
|
|
14000
|
+
"type": "number",
|
|
14001
|
+
"format": "float"
|
|
14002
|
+
}
|
|
14003
|
+
},
|
|
14004
|
+
"type": "object"
|
|
14005
|
+
},
|
|
14006
|
+
"UserJobPointsResponse": {
|
|
14007
|
+
"required": [
|
|
14008
|
+
"jobpoints"
|
|
14009
|
+
],
|
|
14010
|
+
"properties": {
|
|
14011
|
+
"jobpoints": {
|
|
14012
|
+
"required": [
|
|
14013
|
+
"jobs",
|
|
14014
|
+
"companies"
|
|
14015
|
+
],
|
|
14016
|
+
"properties": {
|
|
14017
|
+
"jobs": {
|
|
14018
|
+
"required": [
|
|
14019
|
+
"army",
|
|
14020
|
+
"casino",
|
|
14021
|
+
"education",
|
|
14022
|
+
"grocer",
|
|
14023
|
+
"law",
|
|
14024
|
+
"medical"
|
|
14025
|
+
],
|
|
14026
|
+
"properties": {
|
|
14027
|
+
"army": {
|
|
14028
|
+
"type": "integer",
|
|
14029
|
+
"format": "int32"
|
|
14030
|
+
},
|
|
14031
|
+
"casino": {
|
|
14032
|
+
"type": "integer",
|
|
14033
|
+
"format": "int32"
|
|
14034
|
+
},
|
|
14035
|
+
"education": {
|
|
14036
|
+
"type": "integer",
|
|
14037
|
+
"format": "int32"
|
|
14038
|
+
},
|
|
14039
|
+
"grocer": {
|
|
14040
|
+
"type": "integer",
|
|
14041
|
+
"format": "int32"
|
|
14042
|
+
},
|
|
14043
|
+
"law": {
|
|
14044
|
+
"type": "integer",
|
|
14045
|
+
"format": "int32"
|
|
14046
|
+
},
|
|
14047
|
+
"medical": {
|
|
14048
|
+
"type": "integer",
|
|
14049
|
+
"format": "int32"
|
|
14050
|
+
}
|
|
14051
|
+
},
|
|
14052
|
+
"type": "object"
|
|
14053
|
+
},
|
|
14054
|
+
"companies": {
|
|
14055
|
+
"type": "array",
|
|
14056
|
+
"items": {
|
|
14057
|
+
"$ref": "#/components/schemas/UserCompanyPoints"
|
|
14058
|
+
}
|
|
14059
|
+
}
|
|
14060
|
+
},
|
|
14061
|
+
"type": "object"
|
|
14062
|
+
}
|
|
14063
|
+
},
|
|
14064
|
+
"type": "object"
|
|
14065
|
+
},
|
|
14066
|
+
"UserCompanyPoints": {
|
|
14067
|
+
"required": [
|
|
14068
|
+
"company",
|
|
14069
|
+
"points"
|
|
14070
|
+
],
|
|
14071
|
+
"properties": {
|
|
14072
|
+
"company": {
|
|
14073
|
+
"required": [
|
|
14074
|
+
"id",
|
|
14075
|
+
"name"
|
|
14076
|
+
],
|
|
14077
|
+
"properties": {
|
|
14078
|
+
"id": {
|
|
14079
|
+
"$ref": "#/components/schemas/CompanyTypeId"
|
|
14080
|
+
},
|
|
14081
|
+
"name": {
|
|
14082
|
+
"type": "string"
|
|
14083
|
+
}
|
|
14084
|
+
},
|
|
14085
|
+
"type": "object"
|
|
14086
|
+
},
|
|
14087
|
+
"points": {
|
|
14088
|
+
"type": "integer",
|
|
14089
|
+
"format": "int32"
|
|
14090
|
+
}
|
|
14091
|
+
},
|
|
14092
|
+
"type": "object"
|
|
14093
|
+
},
|
|
14094
|
+
"UserWorkStatsResponse": {
|
|
14095
|
+
"required": [
|
|
14096
|
+
"workstats"
|
|
14097
|
+
],
|
|
14098
|
+
"properties": {
|
|
14099
|
+
"workstats": {
|
|
14100
|
+
"required": [
|
|
14101
|
+
"endurance",
|
|
14102
|
+
"intelligence",
|
|
14103
|
+
"manual_labor",
|
|
14104
|
+
"total"
|
|
14105
|
+
],
|
|
14106
|
+
"properties": {
|
|
14107
|
+
"endurance": {
|
|
14108
|
+
"type": "integer",
|
|
14109
|
+
"format": "int32"
|
|
14110
|
+
},
|
|
14111
|
+
"intelligence": {
|
|
14112
|
+
"type": "integer",
|
|
14113
|
+
"format": "int32"
|
|
14114
|
+
},
|
|
14115
|
+
"manual_labor": {
|
|
13323
14116
|
"type": "integer",
|
|
13324
14117
|
"format": "int32"
|
|
13325
14118
|
},
|
|
13326
|
-
"
|
|
14119
|
+
"total": {
|
|
13327
14120
|
"type": "integer",
|
|
13328
14121
|
"format": "int32"
|
|
13329
14122
|
}
|
|
@@ -13333,212 +14126,124 @@
|
|
|
13333
14126
|
},
|
|
13334
14127
|
"type": "object"
|
|
13335
14128
|
},
|
|
13336
|
-
"
|
|
14129
|
+
"UserBattleStatsResponse": {
|
|
13337
14130
|
"required": [
|
|
13338
|
-
"
|
|
14131
|
+
"battlestats"
|
|
13339
14132
|
],
|
|
13340
14133
|
"properties": {
|
|
13341
|
-
"
|
|
13342
|
-
"
|
|
13343
|
-
|
|
13344
|
-
"
|
|
13345
|
-
|
|
13346
|
-
|
|
13347
|
-
|
|
13348
|
-
|
|
13349
|
-
|
|
13350
|
-
"
|
|
13351
|
-
"
|
|
13352
|
-
"$ref": "#/components/schemas/CountryEnum"
|
|
13353
|
-
},
|
|
13354
|
-
"item": {
|
|
13355
|
-
"required": [
|
|
13356
|
-
"id",
|
|
13357
|
-
"name",
|
|
13358
|
-
"stock",
|
|
13359
|
-
"price",
|
|
13360
|
-
"value",
|
|
13361
|
-
"due"
|
|
13362
|
-
],
|
|
13363
|
-
"properties": {
|
|
13364
|
-
"id": {
|
|
13365
|
-
"$ref": "#/components/schemas/ItemId"
|
|
13366
|
-
},
|
|
13367
|
-
"name": {
|
|
13368
|
-
"type": "string"
|
|
13369
|
-
},
|
|
13370
|
-
"price": {
|
|
13371
|
-
"type": "integer",
|
|
13372
|
-
"format": "int32"
|
|
13373
|
-
},
|
|
13374
|
-
"value": {
|
|
13375
|
-
"type": "integer",
|
|
13376
|
-
"format": "int32"
|
|
13377
|
-
},
|
|
13378
|
-
"due": {
|
|
13379
|
-
"oneOf": [
|
|
13380
|
-
{
|
|
13381
|
-
"type": "integer",
|
|
13382
|
-
"format": "int32"
|
|
13383
|
-
},
|
|
13384
|
-
{
|
|
13385
|
-
"type": "null"
|
|
13386
|
-
}
|
|
13387
|
-
]
|
|
13388
|
-
}
|
|
13389
|
-
},
|
|
13390
|
-
"type": "object"
|
|
13391
|
-
},
|
|
13392
|
-
"trip_duration": {
|
|
13393
|
-
"type": "integer",
|
|
13394
|
-
"format": "int32"
|
|
13395
|
-
},
|
|
13396
|
-
"hourly_profit": {
|
|
13397
|
-
"type": "integer",
|
|
13398
|
-
"format": "int32"
|
|
13399
|
-
}
|
|
14134
|
+
"battlestats": {
|
|
14135
|
+
"required": [
|
|
14136
|
+
"strength",
|
|
14137
|
+
"defense",
|
|
14138
|
+
"speed",
|
|
14139
|
+
"dexterity",
|
|
14140
|
+
"total"
|
|
14141
|
+
],
|
|
14142
|
+
"properties": {
|
|
14143
|
+
"strength": {
|
|
14144
|
+
"$ref": "#/components/schemas/UserBattleStatDetail"
|
|
13400
14145
|
},
|
|
13401
|
-
"
|
|
13402
|
-
|
|
14146
|
+
"defense": {
|
|
14147
|
+
"$ref": "#/components/schemas/UserBattleStatDetail"
|
|
14148
|
+
},
|
|
14149
|
+
"speed": {
|
|
14150
|
+
"$ref": "#/components/schemas/UserBattleStatDetail"
|
|
14151
|
+
},
|
|
14152
|
+
"dexterity": {
|
|
14153
|
+
"$ref": "#/components/schemas/UserBattleStatDetail"
|
|
14154
|
+
},
|
|
14155
|
+
"total": {
|
|
14156
|
+
"type": "integer",
|
|
14157
|
+
"format": "int64"
|
|
14158
|
+
}
|
|
14159
|
+
},
|
|
14160
|
+
"type": "object"
|
|
13403
14161
|
}
|
|
13404
14162
|
},
|
|
13405
14163
|
"type": "object"
|
|
13406
14164
|
},
|
|
13407
|
-
"
|
|
14165
|
+
"UserBattleStatDetail": {
|
|
13408
14166
|
"required": [
|
|
13409
|
-
"
|
|
14167
|
+
"value",
|
|
14168
|
+
"modifier",
|
|
14169
|
+
"modifiers"
|
|
13410
14170
|
],
|
|
13411
14171
|
"properties": {
|
|
13412
|
-
"
|
|
14172
|
+
"value": {
|
|
14173
|
+
"type": "integer",
|
|
14174
|
+
"format": "int64"
|
|
14175
|
+
},
|
|
14176
|
+
"modifier": {
|
|
14177
|
+
"type": "integer",
|
|
14178
|
+
"format": "int32"
|
|
14179
|
+
},
|
|
14180
|
+
"modifiers": {
|
|
13413
14181
|
"type": "array",
|
|
13414
14182
|
"items": {
|
|
13415
|
-
"
|
|
13416
|
-
"bounty",
|
|
13417
|
-
"user",
|
|
13418
|
-
"text"
|
|
13419
|
-
],
|
|
13420
|
-
"properties": {
|
|
13421
|
-
"text": {
|
|
13422
|
-
"type": "string"
|
|
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
|
-
}
|
|
13450
|
-
},
|
|
13451
|
-
"type": "object"
|
|
14183
|
+
"$ref": "#/components/schemas/UserBattleStatModifierDetail"
|
|
13452
14184
|
}
|
|
13453
14185
|
}
|
|
13454
14186
|
},
|
|
13455
14187
|
"type": "object"
|
|
13456
14188
|
},
|
|
13457
|
-
"
|
|
14189
|
+
"UserBattleStatModifierDetail": {
|
|
13458
14190
|
"required": [
|
|
13459
|
-
"
|
|
14191
|
+
"effect",
|
|
14192
|
+
"value",
|
|
14193
|
+
"type"
|
|
13460
14194
|
],
|
|
13461
14195
|
"properties": {
|
|
13462
|
-
"
|
|
13463
|
-
"
|
|
13464
|
-
|
|
13465
|
-
|
|
13466
|
-
|
|
13467
|
-
|
|
13468
|
-
|
|
13469
|
-
|
|
13470
|
-
|
|
13471
|
-
"$ref": "#/components/schemas/ReportMostWanted"
|
|
13472
|
-
},
|
|
13473
|
-
{
|
|
13474
|
-
"$ref": "#/components/schemas/ReportHistory"
|
|
13475
|
-
},
|
|
13476
|
-
{
|
|
13477
|
-
"$ref": "#/components/schemas/ReportFriendOrFoe"
|
|
13478
|
-
},
|
|
13479
|
-
{
|
|
13480
|
-
"$ref": "#/components/schemas/ReportCompanyFinancials"
|
|
13481
|
-
},
|
|
13482
|
-
{
|
|
13483
|
-
"$ref": "#/components/schemas/ReportTrueLevel"
|
|
13484
|
-
},
|
|
13485
|
-
{
|
|
13486
|
-
"$ref": "#/components/schemas/ReportStockAnalysis"
|
|
13487
|
-
},
|
|
13488
|
-
{
|
|
13489
|
-
"$ref": "#/components/schemas/ReportAnonymousBounties"
|
|
13490
|
-
},
|
|
13491
|
-
{
|
|
13492
|
-
"$ref": "#/components/schemas/ReportInvestment"
|
|
13493
|
-
}
|
|
13494
|
-
]
|
|
14196
|
+
"effect": {
|
|
14197
|
+
"type": "string"
|
|
14198
|
+
},
|
|
14199
|
+
"value": {
|
|
14200
|
+
"type": "integer",
|
|
14201
|
+
"format": "int32"
|
|
14202
|
+
},
|
|
14203
|
+
"type": {
|
|
14204
|
+
"type": "string"
|
|
13495
14205
|
}
|
|
13496
14206
|
},
|
|
13497
14207
|
"type": "object"
|
|
13498
14208
|
},
|
|
13499
|
-
"
|
|
13500
|
-
"allOf": [
|
|
13501
|
-
{
|
|
13502
|
-
"$ref": "#/components/schemas/ReportBase"
|
|
13503
|
-
},
|
|
13504
|
-
{
|
|
13505
|
-
"$ref": "#/components/schemas/ReportReport"
|
|
13506
|
-
}
|
|
13507
|
-
]
|
|
13508
|
-
},
|
|
13509
|
-
"ReportsResponse": {
|
|
14209
|
+
"UserBasic": {
|
|
13510
14210
|
"required": [
|
|
13511
|
-
"
|
|
13512
|
-
"
|
|
14211
|
+
"id",
|
|
14212
|
+
"name",
|
|
14213
|
+
"level",
|
|
14214
|
+
"gender",
|
|
14215
|
+
"status"
|
|
13513
14216
|
],
|
|
13514
14217
|
"properties": {
|
|
13515
|
-
"
|
|
13516
|
-
"
|
|
13517
|
-
"items": {
|
|
13518
|
-
"$ref": "#/components/schemas/Report"
|
|
13519
|
-
}
|
|
14218
|
+
"id": {
|
|
14219
|
+
"$ref": "#/components/schemas/UserId"
|
|
13520
14220
|
},
|
|
13521
|
-
"
|
|
13522
|
-
"
|
|
14221
|
+
"name": {
|
|
14222
|
+
"type": "string"
|
|
14223
|
+
},
|
|
14224
|
+
"level": {
|
|
14225
|
+
"type": "integer",
|
|
14226
|
+
"format": "int32"
|
|
14227
|
+
},
|
|
14228
|
+
"gender": {
|
|
14229
|
+
"$ref": "#/components/schemas/UserGenderEnum"
|
|
14230
|
+
},
|
|
14231
|
+
"status": {
|
|
14232
|
+
"$ref": "#/components/schemas/UserStatus"
|
|
13523
14233
|
}
|
|
13524
14234
|
},
|
|
13525
14235
|
"type": "object"
|
|
13526
14236
|
},
|
|
13527
|
-
"
|
|
13528
|
-
"
|
|
13529
|
-
|
|
13530
|
-
|
|
13531
|
-
|
|
13532
|
-
{
|
|
13533
|
-
"$ref": "#/components/schemas/
|
|
13534
|
-
},
|
|
13535
|
-
{
|
|
13536
|
-
"$ref": "#/components/schemas/PersonalStatsCategoryEnum"
|
|
13537
|
-
},
|
|
13538
|
-
{
|
|
13539
|
-
"$ref": "#/components/schemas/RacingRaceTypeEnum"
|
|
14237
|
+
"UserBasicResponse": {
|
|
14238
|
+
"required": [
|
|
14239
|
+
"profile"
|
|
14240
|
+
],
|
|
14241
|
+
"properties": {
|
|
14242
|
+
"profile": {
|
|
14243
|
+
"$ref": "#/components/schemas/UserBasic"
|
|
13540
14244
|
}
|
|
13541
|
-
|
|
14245
|
+
},
|
|
14246
|
+
"type": "object"
|
|
13542
14247
|
},
|
|
13543
14248
|
"UserLog": {
|
|
13544
14249
|
"required": [
|
|
@@ -15353,11 +16058,13 @@
|
|
|
15353
16058
|
"UserSelectionName": {
|
|
15354
16059
|
"oneOf": [
|
|
15355
16060
|
{
|
|
15356
|
-
"description": "The following selections will fallback to API v1 and may change at any time: 'ammo','bars','
|
|
16061
|
+
"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
16062
|
"type": "string",
|
|
15358
16063
|
"enum": [
|
|
15359
16064
|
"attacks",
|
|
15360
16065
|
"attacksfull",
|
|
16066
|
+
"basic",
|
|
16067
|
+
"battlestats",
|
|
15361
16068
|
"bounties",
|
|
15362
16069
|
"calendar",
|
|
15363
16070
|
"crimes",
|
|
@@ -15370,22 +16077,25 @@
|
|
|
15370
16077
|
"forumthreads",
|
|
15371
16078
|
"hof",
|
|
15372
16079
|
"itemmarket",
|
|
16080
|
+
"jobpoints",
|
|
15373
16081
|
"jobranks",
|
|
15374
16082
|
"list",
|
|
15375
16083
|
"lookup",
|
|
16084
|
+
"money",
|
|
15376
16085
|
"organizedcrime",
|
|
15377
16086
|
"personalstats",
|
|
15378
16087
|
"properties",
|
|
15379
16088
|
"property",
|
|
15380
16089
|
"races",
|
|
15381
16090
|
"racingrecords",
|
|
16091
|
+
"reports",
|
|
15382
16092
|
"revives",
|
|
15383
16093
|
"revivesfull",
|
|
16094
|
+
"skills",
|
|
15384
16095
|
"timestamp",
|
|
16096
|
+
"workstats",
|
|
15385
16097
|
"ammo",
|
|
15386
16098
|
"bars",
|
|
15387
|
-
"basic",
|
|
15388
|
-
"battlestats",
|
|
15389
16099
|
"bazaar",
|
|
15390
16100
|
"cooldowns",
|
|
15391
16101
|
"criminalrecord",
|
|
@@ -15398,13 +16108,11 @@
|
|
|
15398
16108
|
"honors",
|
|
15399
16109
|
"icons",
|
|
15400
16110
|
"inventory",
|
|
15401
|
-
"jobpoints",
|
|
15402
16111
|
"log",
|
|
15403
16112
|
"medals",
|
|
15404
16113
|
"merits",
|
|
15405
16114
|
"messages",
|
|
15406
16115
|
"missions",
|
|
15407
|
-
"money",
|
|
15408
16116
|
"networth",
|
|
15409
16117
|
"newevents",
|
|
15410
16118
|
"newmessages",
|
|
@@ -15412,12 +16120,9 @@
|
|
|
15412
16120
|
"perks",
|
|
15413
16121
|
"profile",
|
|
15414
16122
|
"refills",
|
|
15415
|
-
"reports",
|
|
15416
|
-
"skills",
|
|
15417
16123
|
"stocks",
|
|
15418
16124
|
"travel",
|
|
15419
|
-
"weaponexp"
|
|
15420
|
-
"workstats"
|
|
16125
|
+
"weaponexp"
|
|
15421
16126
|
]
|
|
15422
16127
|
},
|
|
15423
16128
|
{
|