tornapi-typescript 3.0.11 → 3.0.18
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 +142 -3
- package/dist/index.ts +265 -3
- package/dist/openapi.json +1313 -150
- 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.18"
|
|
7
7
|
},
|
|
8
8
|
"servers": [
|
|
9
9
|
{
|
|
@@ -378,6 +378,93 @@
|
|
|
378
378
|
"x-stability": "Stable"
|
|
379
379
|
}
|
|
380
380
|
},
|
|
381
|
+
"/user/competition": {
|
|
382
|
+
"get": {
|
|
383
|
+
"tags": [
|
|
384
|
+
"User"
|
|
385
|
+
],
|
|
386
|
+
"summary": "Get your competition information",
|
|
387
|
+
"description": "Requires public access key.",
|
|
388
|
+
"operationId": "e9a7cd580a231f5a31212d4601a5f686",
|
|
389
|
+
"parameters": [
|
|
390
|
+
{
|
|
391
|
+
"$ref": "#/components/parameters/ApiTimestamp"
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
"$ref": "#/components/parameters/ApiComment"
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
"$ref": "#/components/parameters/ApiKeyPublic"
|
|
398
|
+
}
|
|
399
|
+
],
|
|
400
|
+
"responses": {
|
|
401
|
+
"200": {
|
|
402
|
+
"description": "Successful operation",
|
|
403
|
+
"content": {
|
|
404
|
+
"application/json": {
|
|
405
|
+
"schema": {
|
|
406
|
+
"$ref": "#/components/schemas/UserCompetitionResponse"
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
},
|
|
412
|
+
"security": [
|
|
413
|
+
{
|
|
414
|
+
"api_key": []
|
|
415
|
+
}
|
|
416
|
+
],
|
|
417
|
+
"x-stability": "Unstable"
|
|
418
|
+
}
|
|
419
|
+
},
|
|
420
|
+
"/user/{id}/competition": {
|
|
421
|
+
"get": {
|
|
422
|
+
"tags": [
|
|
423
|
+
"User"
|
|
424
|
+
],
|
|
425
|
+
"summary": "Get competition information for a specific player",
|
|
426
|
+
"description": "Requires public access key.",
|
|
427
|
+
"operationId": "3ff933d6a90488c30fb55a9d25e0f2d8",
|
|
428
|
+
"parameters": [
|
|
429
|
+
{
|
|
430
|
+
"name": "id",
|
|
431
|
+
"in": "path",
|
|
432
|
+
"description": "User id",
|
|
433
|
+
"required": true,
|
|
434
|
+
"schema": {
|
|
435
|
+
"$ref": "#/components/schemas/UserId"
|
|
436
|
+
}
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
"$ref": "#/components/parameters/ApiTimestamp"
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
"$ref": "#/components/parameters/ApiComment"
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
"$ref": "#/components/parameters/ApiKeyPublic"
|
|
446
|
+
}
|
|
447
|
+
],
|
|
448
|
+
"responses": {
|
|
449
|
+
"200": {
|
|
450
|
+
"description": "Successful operation",
|
|
451
|
+
"content": {
|
|
452
|
+
"application/json": {
|
|
453
|
+
"schema": {
|
|
454
|
+
"$ref": "#/components/schemas/UserCompetitionResponse"
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
},
|
|
460
|
+
"security": [
|
|
461
|
+
{
|
|
462
|
+
"api_key": []
|
|
463
|
+
}
|
|
464
|
+
],
|
|
465
|
+
"x-stability": "Unstable"
|
|
466
|
+
}
|
|
467
|
+
},
|
|
381
468
|
"/user/{crimeId}/crimes": {
|
|
382
469
|
"get": {
|
|
383
470
|
"tags": [
|
|
@@ -504,6 +591,93 @@
|
|
|
504
591
|
"x-stability": "Stable"
|
|
505
592
|
}
|
|
506
593
|
},
|
|
594
|
+
"/user/faction": {
|
|
595
|
+
"get": {
|
|
596
|
+
"tags": [
|
|
597
|
+
"User"
|
|
598
|
+
],
|
|
599
|
+
"summary": "Get your faction information",
|
|
600
|
+
"description": "Requires public access key.",
|
|
601
|
+
"operationId": "c82d282102d0d4f54768a6a465639673",
|
|
602
|
+
"parameters": [
|
|
603
|
+
{
|
|
604
|
+
"$ref": "#/components/parameters/ApiTimestamp"
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
"$ref": "#/components/parameters/ApiComment"
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
"$ref": "#/components/parameters/ApiKeyPublic"
|
|
611
|
+
}
|
|
612
|
+
],
|
|
613
|
+
"responses": {
|
|
614
|
+
"200": {
|
|
615
|
+
"description": "Successful operation",
|
|
616
|
+
"content": {
|
|
617
|
+
"application/json": {
|
|
618
|
+
"schema": {
|
|
619
|
+
"$ref": "#/components/schemas/UserFactionResponse"
|
|
620
|
+
}
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
}
|
|
624
|
+
},
|
|
625
|
+
"security": [
|
|
626
|
+
{
|
|
627
|
+
"api_key": []
|
|
628
|
+
}
|
|
629
|
+
],
|
|
630
|
+
"x-stability": "Unstable"
|
|
631
|
+
}
|
|
632
|
+
},
|
|
633
|
+
"/user/{id}/faction": {
|
|
634
|
+
"get": {
|
|
635
|
+
"tags": [
|
|
636
|
+
"User"
|
|
637
|
+
],
|
|
638
|
+
"summary": "Get faction information for a specific player",
|
|
639
|
+
"description": "Requires public access key.",
|
|
640
|
+
"operationId": "94dfc0c0663c9dc53241abbc59e39597",
|
|
641
|
+
"parameters": [
|
|
642
|
+
{
|
|
643
|
+
"name": "id",
|
|
644
|
+
"in": "path",
|
|
645
|
+
"description": "User id",
|
|
646
|
+
"required": true,
|
|
647
|
+
"schema": {
|
|
648
|
+
"$ref": "#/components/schemas/UserId"
|
|
649
|
+
}
|
|
650
|
+
},
|
|
651
|
+
{
|
|
652
|
+
"$ref": "#/components/parameters/ApiTimestamp"
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
"$ref": "#/components/parameters/ApiComment"
|
|
656
|
+
},
|
|
657
|
+
{
|
|
658
|
+
"$ref": "#/components/parameters/ApiKeyPublic"
|
|
659
|
+
}
|
|
660
|
+
],
|
|
661
|
+
"responses": {
|
|
662
|
+
"200": {
|
|
663
|
+
"description": "Successful operation",
|
|
664
|
+
"content": {
|
|
665
|
+
"application/json": {
|
|
666
|
+
"schema": {
|
|
667
|
+
"$ref": "#/components/schemas/UserFactionResponse"
|
|
668
|
+
}
|
|
669
|
+
}
|
|
670
|
+
}
|
|
671
|
+
}
|
|
672
|
+
},
|
|
673
|
+
"security": [
|
|
674
|
+
{
|
|
675
|
+
"api_key": []
|
|
676
|
+
}
|
|
677
|
+
],
|
|
678
|
+
"x-stability": "Unstable"
|
|
679
|
+
}
|
|
680
|
+
},
|
|
507
681
|
"/user/factionbalance": {
|
|
508
682
|
"get": {
|
|
509
683
|
"tags": [
|
|
@@ -1015,18 +1189,15 @@
|
|
|
1015
1189
|
"x-stability": "Stable"
|
|
1016
1190
|
}
|
|
1017
1191
|
},
|
|
1018
|
-
"/user/
|
|
1192
|
+
"/user/icons": {
|
|
1019
1193
|
"get": {
|
|
1020
1194
|
"tags": [
|
|
1021
1195
|
"User"
|
|
1022
1196
|
],
|
|
1023
|
-
"summary": "Get your
|
|
1024
|
-
"description": "Requires
|
|
1025
|
-
"operationId": "
|
|
1197
|
+
"summary": "Get your icons information",
|
|
1198
|
+
"description": "Requires public access key. <br> When requesting data for yourself with 'Custom', 'Limited' or 'Full' access keys, the response will be of type UserIconPrivate, otherwise UserIconPublic.",
|
|
1199
|
+
"operationId": "40cf7455b4cf6e8cc08e1b82125fad53",
|
|
1026
1200
|
"parameters": [
|
|
1027
|
-
{
|
|
1028
|
-
"$ref": "#/components/parameters/ApiOffset"
|
|
1029
|
-
},
|
|
1030
1201
|
{
|
|
1031
1202
|
"$ref": "#/components/parameters/ApiTimestamp"
|
|
1032
1203
|
},
|
|
@@ -1034,7 +1205,7 @@
|
|
|
1034
1205
|
"$ref": "#/components/parameters/ApiComment"
|
|
1035
1206
|
},
|
|
1036
1207
|
{
|
|
1037
|
-
"$ref": "#/components/parameters/
|
|
1208
|
+
"$ref": "#/components/parameters/ApiKeyPublic"
|
|
1038
1209
|
}
|
|
1039
1210
|
],
|
|
1040
1211
|
"responses": {
|
|
@@ -1043,7 +1214,7 @@
|
|
|
1043
1214
|
"content": {
|
|
1044
1215
|
"application/json": {
|
|
1045
1216
|
"schema": {
|
|
1046
|
-
"$ref": "#/components/schemas/
|
|
1217
|
+
"$ref": "#/components/schemas/UserIconsResponse"
|
|
1047
1218
|
}
|
|
1048
1219
|
}
|
|
1049
1220
|
}
|
|
@@ -1054,18 +1225,27 @@
|
|
|
1054
1225
|
"api_key": []
|
|
1055
1226
|
}
|
|
1056
1227
|
],
|
|
1057
|
-
"x-stability": "
|
|
1228
|
+
"x-stability": "Unstable"
|
|
1058
1229
|
}
|
|
1059
1230
|
},
|
|
1060
|
-
"/user/
|
|
1231
|
+
"/user/{id}/icons": {
|
|
1061
1232
|
"get": {
|
|
1062
1233
|
"tags": [
|
|
1063
1234
|
"User"
|
|
1064
1235
|
],
|
|
1065
|
-
"summary": "Get
|
|
1066
|
-
"description": "Requires
|
|
1067
|
-
"operationId": "
|
|
1236
|
+
"summary": "Get icons information for a specific player",
|
|
1237
|
+
"description": "Requires public access key.<br> When requesting data for yourself with 'Custom', 'Limited' or 'Full' access keys, the response will be of type UserIconPrivate, otherwise UserIconPublic.",
|
|
1238
|
+
"operationId": "72c4c23b9d60172e696c9a104e56b7bd",
|
|
1068
1239
|
"parameters": [
|
|
1240
|
+
{
|
|
1241
|
+
"name": "id",
|
|
1242
|
+
"in": "path",
|
|
1243
|
+
"description": "User id",
|
|
1244
|
+
"required": true,
|
|
1245
|
+
"schema": {
|
|
1246
|
+
"$ref": "#/components/schemas/UserId"
|
|
1247
|
+
}
|
|
1248
|
+
},
|
|
1069
1249
|
{
|
|
1070
1250
|
"$ref": "#/components/parameters/ApiTimestamp"
|
|
1071
1251
|
},
|
|
@@ -1082,7 +1262,7 @@
|
|
|
1082
1262
|
"content": {
|
|
1083
1263
|
"application/json": {
|
|
1084
1264
|
"schema": {
|
|
1085
|
-
"$ref": "#/components/schemas/
|
|
1265
|
+
"$ref": "#/components/schemas/UserIconsResponse"
|
|
1086
1266
|
}
|
|
1087
1267
|
}
|
|
1088
1268
|
}
|
|
@@ -1096,15 +1276,18 @@
|
|
|
1096
1276
|
"x-stability": "Unstable"
|
|
1097
1277
|
}
|
|
1098
1278
|
},
|
|
1099
|
-
"/user/
|
|
1279
|
+
"/user/itemmarket": {
|
|
1100
1280
|
"get": {
|
|
1101
1281
|
"tags": [
|
|
1102
1282
|
"User"
|
|
1103
1283
|
],
|
|
1104
|
-
"summary": "Get your
|
|
1105
|
-
"description": "Requires
|
|
1106
|
-
"operationId": "
|
|
1284
|
+
"summary": "Get your item market listings for a specific item",
|
|
1285
|
+
"description": "Requires limited access key. <br>",
|
|
1286
|
+
"operationId": "8fcbe4dcf8a3a28e31e2eaab877feea1",
|
|
1107
1287
|
"parameters": [
|
|
1288
|
+
{
|
|
1289
|
+
"$ref": "#/components/parameters/ApiOffset"
|
|
1290
|
+
},
|
|
1108
1291
|
{
|
|
1109
1292
|
"$ref": "#/components/parameters/ApiTimestamp"
|
|
1110
1293
|
},
|
|
@@ -1112,7 +1295,7 @@
|
|
|
1112
1295
|
"$ref": "#/components/parameters/ApiComment"
|
|
1113
1296
|
},
|
|
1114
1297
|
{
|
|
1115
|
-
"$ref": "#/components/parameters/
|
|
1298
|
+
"$ref": "#/components/parameters/ApiKeyLimited"
|
|
1116
1299
|
}
|
|
1117
1300
|
],
|
|
1118
1301
|
"responses": {
|
|
@@ -1121,7 +1304,7 @@
|
|
|
1121
1304
|
"content": {
|
|
1122
1305
|
"application/json": {
|
|
1123
1306
|
"schema": {
|
|
1124
|
-
"$ref": "#/components/schemas/
|
|
1307
|
+
"$ref": "#/components/schemas/UserItemMarketResponse"
|
|
1125
1308
|
}
|
|
1126
1309
|
}
|
|
1127
1310
|
}
|
|
@@ -1135,33 +1318,15 @@
|
|
|
1135
1318
|
"x-stability": "Stable"
|
|
1136
1319
|
}
|
|
1137
1320
|
},
|
|
1138
|
-
"/user/
|
|
1321
|
+
"/user/job": {
|
|
1139
1322
|
"get": {
|
|
1140
1323
|
"tags": [
|
|
1141
1324
|
"User"
|
|
1142
1325
|
],
|
|
1143
|
-
"summary": "Get your
|
|
1144
|
-
"description": "Requires
|
|
1145
|
-
"operationId": "
|
|
1326
|
+
"summary": "Get your job information",
|
|
1327
|
+
"description": "Requires public access key.",
|
|
1328
|
+
"operationId": "3ce15c1a0fa2f1c2c35a88f659f1f4b3",
|
|
1146
1329
|
"parameters": [
|
|
1147
|
-
{
|
|
1148
|
-
"name": "cat",
|
|
1149
|
-
"in": "query",
|
|
1150
|
-
"description": "Select list type",
|
|
1151
|
-
"required": true,
|
|
1152
|
-
"schema": {
|
|
1153
|
-
"$ref": "#/components/schemas/UserListEnum"
|
|
1154
|
-
}
|
|
1155
|
-
},
|
|
1156
|
-
{
|
|
1157
|
-
"$ref": "#/components/parameters/ApiLimit50"
|
|
1158
|
-
},
|
|
1159
|
-
{
|
|
1160
|
-
"$ref": "#/components/parameters/ApiOffsetNoDefault"
|
|
1161
|
-
},
|
|
1162
|
-
{
|
|
1163
|
-
"$ref": "#/components/parameters/ApiSortAsc"
|
|
1164
|
-
},
|
|
1165
1330
|
{
|
|
1166
1331
|
"$ref": "#/components/parameters/ApiTimestamp"
|
|
1167
1332
|
},
|
|
@@ -1169,7 +1334,7 @@
|
|
|
1169
1334
|
"$ref": "#/components/parameters/ApiComment"
|
|
1170
1335
|
},
|
|
1171
1336
|
{
|
|
1172
|
-
"$ref": "#/components/parameters/
|
|
1337
|
+
"$ref": "#/components/parameters/ApiKeyPublic"
|
|
1173
1338
|
}
|
|
1174
1339
|
],
|
|
1175
1340
|
"responses": {
|
|
@@ -1178,7 +1343,7 @@
|
|
|
1178
1343
|
"content": {
|
|
1179
1344
|
"application/json": {
|
|
1180
1345
|
"schema": {
|
|
1181
|
-
"$ref": "#/components/schemas/
|
|
1346
|
+
"$ref": "#/components/schemas/UserJobResponse"
|
|
1182
1347
|
}
|
|
1183
1348
|
}
|
|
1184
1349
|
}
|
|
@@ -1189,50 +1354,233 @@
|
|
|
1189
1354
|
"api_key": []
|
|
1190
1355
|
}
|
|
1191
1356
|
],
|
|
1192
|
-
"x-stability": "
|
|
1357
|
+
"x-stability": "Unstable"
|
|
1193
1358
|
}
|
|
1194
1359
|
},
|
|
1195
|
-
"/user/
|
|
1360
|
+
"/user/{id}/job": {
|
|
1196
1361
|
"get": {
|
|
1197
1362
|
"tags": [
|
|
1198
1363
|
"User"
|
|
1199
1364
|
],
|
|
1200
|
-
"summary": "Get
|
|
1201
|
-
"description": "Requires
|
|
1202
|
-
"operationId": "
|
|
1365
|
+
"summary": "Get job information for a specific player",
|
|
1366
|
+
"description": "Requires public access key.",
|
|
1367
|
+
"operationId": "3046478bdee661f77bace171f60de62f",
|
|
1203
1368
|
"parameters": [
|
|
1204
1369
|
{
|
|
1205
|
-
"name": "
|
|
1206
|
-
"in": "
|
|
1207
|
-
"description": "
|
|
1208
|
-
"required":
|
|
1209
|
-
"style": "form",
|
|
1210
|
-
"explode": false,
|
|
1211
|
-
"schema": {
|
|
1212
|
-
"type": "array",
|
|
1213
|
-
"items": {
|
|
1214
|
-
"$ref": "#/components/schemas/LogId"
|
|
1215
|
-
}
|
|
1216
|
-
}
|
|
1217
|
-
},
|
|
1218
|
-
{
|
|
1219
|
-
"name": "cat",
|
|
1220
|
-
"in": "query",
|
|
1221
|
-
"description": "Log category id",
|
|
1222
|
-
"required": false,
|
|
1370
|
+
"name": "id",
|
|
1371
|
+
"in": "path",
|
|
1372
|
+
"description": "User id",
|
|
1373
|
+
"required": true,
|
|
1223
1374
|
"schema": {
|
|
1224
|
-
"$ref": "#/components/schemas/
|
|
1375
|
+
"$ref": "#/components/schemas/UserId"
|
|
1225
1376
|
}
|
|
1226
1377
|
},
|
|
1227
1378
|
{
|
|
1228
|
-
"$ref": "#/components/parameters/
|
|
1379
|
+
"$ref": "#/components/parameters/ApiTimestamp"
|
|
1229
1380
|
},
|
|
1230
1381
|
{
|
|
1231
|
-
"$ref": "#/components/parameters/
|
|
1382
|
+
"$ref": "#/components/parameters/ApiComment"
|
|
1232
1383
|
},
|
|
1233
1384
|
{
|
|
1234
|
-
"$ref": "#/components/parameters/
|
|
1235
|
-
}
|
|
1385
|
+
"$ref": "#/components/parameters/ApiKeyPublic"
|
|
1386
|
+
}
|
|
1387
|
+
],
|
|
1388
|
+
"responses": {
|
|
1389
|
+
"200": {
|
|
1390
|
+
"description": "Successful operation",
|
|
1391
|
+
"content": {
|
|
1392
|
+
"application/json": {
|
|
1393
|
+
"schema": {
|
|
1394
|
+
"$ref": "#/components/schemas/UserJobResponse"
|
|
1395
|
+
}
|
|
1396
|
+
}
|
|
1397
|
+
}
|
|
1398
|
+
}
|
|
1399
|
+
},
|
|
1400
|
+
"security": [
|
|
1401
|
+
{
|
|
1402
|
+
"api_key": []
|
|
1403
|
+
}
|
|
1404
|
+
],
|
|
1405
|
+
"x-stability": "Unstable"
|
|
1406
|
+
}
|
|
1407
|
+
},
|
|
1408
|
+
"/user/jobpoints": {
|
|
1409
|
+
"get": {
|
|
1410
|
+
"tags": [
|
|
1411
|
+
"User"
|
|
1412
|
+
],
|
|
1413
|
+
"summary": "Get your jobpoints",
|
|
1414
|
+
"description": "Requires minimal access key. <br>",
|
|
1415
|
+
"operationId": "7d6d988f4aa00b9526c082c2b4247743",
|
|
1416
|
+
"parameters": [
|
|
1417
|
+
{
|
|
1418
|
+
"$ref": "#/components/parameters/ApiTimestamp"
|
|
1419
|
+
},
|
|
1420
|
+
{
|
|
1421
|
+
"$ref": "#/components/parameters/ApiComment"
|
|
1422
|
+
},
|
|
1423
|
+
{
|
|
1424
|
+
"$ref": "#/components/parameters/ApiKeyPublic"
|
|
1425
|
+
}
|
|
1426
|
+
],
|
|
1427
|
+
"responses": {
|
|
1428
|
+
"200": {
|
|
1429
|
+
"description": "Successful operation",
|
|
1430
|
+
"content": {
|
|
1431
|
+
"application/json": {
|
|
1432
|
+
"schema": {
|
|
1433
|
+
"$ref": "#/components/schemas/UserJobPointsResponse"
|
|
1434
|
+
}
|
|
1435
|
+
}
|
|
1436
|
+
}
|
|
1437
|
+
}
|
|
1438
|
+
},
|
|
1439
|
+
"security": [
|
|
1440
|
+
{
|
|
1441
|
+
"api_key": []
|
|
1442
|
+
}
|
|
1443
|
+
],
|
|
1444
|
+
"x-stability": "Unstable"
|
|
1445
|
+
}
|
|
1446
|
+
},
|
|
1447
|
+
"/user/jobranks": {
|
|
1448
|
+
"get": {
|
|
1449
|
+
"tags": [
|
|
1450
|
+
"User"
|
|
1451
|
+
],
|
|
1452
|
+
"summary": "Get your starter job positions",
|
|
1453
|
+
"description": "Requires minimal access key. <br>",
|
|
1454
|
+
"operationId": "facf1ddeef80a440229941f49aec6ccc",
|
|
1455
|
+
"parameters": [
|
|
1456
|
+
{
|
|
1457
|
+
"$ref": "#/components/parameters/ApiTimestamp"
|
|
1458
|
+
},
|
|
1459
|
+
{
|
|
1460
|
+
"$ref": "#/components/parameters/ApiComment"
|
|
1461
|
+
},
|
|
1462
|
+
{
|
|
1463
|
+
"$ref": "#/components/parameters/ApiKeyMinimal"
|
|
1464
|
+
}
|
|
1465
|
+
],
|
|
1466
|
+
"responses": {
|
|
1467
|
+
"200": {
|
|
1468
|
+
"description": "Successful operation",
|
|
1469
|
+
"content": {
|
|
1470
|
+
"application/json": {
|
|
1471
|
+
"schema": {
|
|
1472
|
+
"$ref": "#/components/schemas/UserJobRanksResponse"
|
|
1473
|
+
}
|
|
1474
|
+
}
|
|
1475
|
+
}
|
|
1476
|
+
}
|
|
1477
|
+
},
|
|
1478
|
+
"security": [
|
|
1479
|
+
{
|
|
1480
|
+
"api_key": []
|
|
1481
|
+
}
|
|
1482
|
+
],
|
|
1483
|
+
"x-stability": "Stable"
|
|
1484
|
+
}
|
|
1485
|
+
},
|
|
1486
|
+
"/user/list": {
|
|
1487
|
+
"get": {
|
|
1488
|
+
"tags": [
|
|
1489
|
+
"User"
|
|
1490
|
+
],
|
|
1491
|
+
"summary": "Get your friends, enemies or targets list",
|
|
1492
|
+
"description": "Requires limited access key. <br>",
|
|
1493
|
+
"operationId": "e93ba44fcc7ad2eb3063dec7469ee2f6",
|
|
1494
|
+
"parameters": [
|
|
1495
|
+
{
|
|
1496
|
+
"name": "cat",
|
|
1497
|
+
"in": "query",
|
|
1498
|
+
"description": "Select list type",
|
|
1499
|
+
"required": true,
|
|
1500
|
+
"schema": {
|
|
1501
|
+
"$ref": "#/components/schemas/UserListEnum"
|
|
1502
|
+
}
|
|
1503
|
+
},
|
|
1504
|
+
{
|
|
1505
|
+
"$ref": "#/components/parameters/ApiLimit50"
|
|
1506
|
+
},
|
|
1507
|
+
{
|
|
1508
|
+
"$ref": "#/components/parameters/ApiOffsetNoDefault"
|
|
1509
|
+
},
|
|
1510
|
+
{
|
|
1511
|
+
"$ref": "#/components/parameters/ApiSortAsc"
|
|
1512
|
+
},
|
|
1513
|
+
{
|
|
1514
|
+
"$ref": "#/components/parameters/ApiTimestamp"
|
|
1515
|
+
},
|
|
1516
|
+
{
|
|
1517
|
+
"$ref": "#/components/parameters/ApiComment"
|
|
1518
|
+
},
|
|
1519
|
+
{
|
|
1520
|
+
"$ref": "#/components/parameters/ApiKeyLimited"
|
|
1521
|
+
}
|
|
1522
|
+
],
|
|
1523
|
+
"responses": {
|
|
1524
|
+
"200": {
|
|
1525
|
+
"description": "Successful operation",
|
|
1526
|
+
"content": {
|
|
1527
|
+
"application/json": {
|
|
1528
|
+
"schema": {
|
|
1529
|
+
"$ref": "#/components/schemas/UserListResponse"
|
|
1530
|
+
}
|
|
1531
|
+
}
|
|
1532
|
+
}
|
|
1533
|
+
}
|
|
1534
|
+
},
|
|
1535
|
+
"security": [
|
|
1536
|
+
{
|
|
1537
|
+
"api_key": []
|
|
1538
|
+
}
|
|
1539
|
+
],
|
|
1540
|
+
"x-stability": "Stable"
|
|
1541
|
+
}
|
|
1542
|
+
},
|
|
1543
|
+
"/user/log": {
|
|
1544
|
+
"get": {
|
|
1545
|
+
"tags": [
|
|
1546
|
+
"User"
|
|
1547
|
+
],
|
|
1548
|
+
"summary": "Get your logs",
|
|
1549
|
+
"description": "Requires limited access key. <br> It's possible to pass a list of log ids or a log category id.<br>",
|
|
1550
|
+
"operationId": "f354f40bc5d6cbadf57fdecb453c976f",
|
|
1551
|
+
"parameters": [
|
|
1552
|
+
{
|
|
1553
|
+
"name": "log",
|
|
1554
|
+
"in": "query",
|
|
1555
|
+
"description": "Log ids, comma separated, e.g. 105,4900,4905",
|
|
1556
|
+
"required": false,
|
|
1557
|
+
"style": "form",
|
|
1558
|
+
"explode": false,
|
|
1559
|
+
"schema": {
|
|
1560
|
+
"type": "array",
|
|
1561
|
+
"items": {
|
|
1562
|
+
"$ref": "#/components/schemas/LogId"
|
|
1563
|
+
}
|
|
1564
|
+
}
|
|
1565
|
+
},
|
|
1566
|
+
{
|
|
1567
|
+
"name": "cat",
|
|
1568
|
+
"in": "query",
|
|
1569
|
+
"description": "Log category id",
|
|
1570
|
+
"required": false,
|
|
1571
|
+
"schema": {
|
|
1572
|
+
"$ref": "#/components/schemas/LogCategoryId"
|
|
1573
|
+
}
|
|
1574
|
+
},
|
|
1575
|
+
{
|
|
1576
|
+
"$ref": "#/components/parameters/ApiLimit100Default20"
|
|
1577
|
+
},
|
|
1578
|
+
{
|
|
1579
|
+
"$ref": "#/components/parameters/ApiTo"
|
|
1580
|
+
},
|
|
1581
|
+
{
|
|
1582
|
+
"$ref": "#/components/parameters/ApiFrom"
|
|
1583
|
+
},
|
|
1236
1584
|
{
|
|
1237
1585
|
"$ref": "#/components/parameters/ApiTimestamp"
|
|
1238
1586
|
},
|
|
@@ -1566,23 +1914,17 @@
|
|
|
1566
1914
|
"x-stability": "Stable"
|
|
1567
1915
|
}
|
|
1568
1916
|
},
|
|
1569
|
-
"/user/
|
|
1917
|
+
"/user/profile": {
|
|
1570
1918
|
"get": {
|
|
1571
1919
|
"tags": [
|
|
1572
1920
|
"User"
|
|
1573
1921
|
],
|
|
1574
|
-
"summary": "Get your own
|
|
1575
|
-
"description": "Requires public access key.
|
|
1576
|
-
"operationId": "
|
|
1922
|
+
"summary": "Get your own profile",
|
|
1923
|
+
"description": "Requires public access key.",
|
|
1924
|
+
"operationId": "e945ec5e68a2794a7a7310000fbfba99",
|
|
1577
1925
|
"parameters": [
|
|
1578
1926
|
{
|
|
1579
|
-
"$ref": "#/components/parameters/
|
|
1580
|
-
},
|
|
1581
|
-
{
|
|
1582
|
-
"$ref": "#/components/parameters/ApiOffset"
|
|
1583
|
-
},
|
|
1584
|
-
{
|
|
1585
|
-
"$ref": "#/components/parameters/ApiLimit100Default20"
|
|
1927
|
+
"$ref": "#/components/parameters/ApiStripTagsTrue"
|
|
1586
1928
|
},
|
|
1587
1929
|
{
|
|
1588
1930
|
"$ref": "#/components/parameters/ApiTimestamp"
|
|
@@ -1600,7 +1942,7 @@
|
|
|
1600
1942
|
"content": {
|
|
1601
1943
|
"application/json": {
|
|
1602
1944
|
"schema": {
|
|
1603
|
-
"$ref": "#/components/schemas/
|
|
1945
|
+
"$ref": "#/components/schemas/UserProfileResponse"
|
|
1604
1946
|
}
|
|
1605
1947
|
}
|
|
1606
1948
|
}
|
|
@@ -1614,14 +1956,14 @@
|
|
|
1614
1956
|
"x-stability": "Unstable"
|
|
1615
1957
|
}
|
|
1616
1958
|
},
|
|
1617
|
-
"/user/{id}/
|
|
1959
|
+
"/user/{id}/profile": {
|
|
1618
1960
|
"get": {
|
|
1619
1961
|
"tags": [
|
|
1620
1962
|
"User"
|
|
1621
1963
|
],
|
|
1622
|
-
"summary": "Get specific
|
|
1623
|
-
"description": "Requires public access key.
|
|
1624
|
-
"operationId": "
|
|
1964
|
+
"summary": "Get profile information for a specific player",
|
|
1965
|
+
"description": "Requires public access key.",
|
|
1966
|
+
"operationId": "dda77cdddd962fb60f1beed24330ca93",
|
|
1625
1967
|
"parameters": [
|
|
1626
1968
|
{
|
|
1627
1969
|
"name": "id",
|
|
@@ -1633,13 +1975,7 @@
|
|
|
1633
1975
|
}
|
|
1634
1976
|
},
|
|
1635
1977
|
{
|
|
1636
|
-
"$ref": "#/components/parameters/
|
|
1637
|
-
},
|
|
1638
|
-
{
|
|
1639
|
-
"$ref": "#/components/parameters/ApiOffset"
|
|
1640
|
-
},
|
|
1641
|
-
{
|
|
1642
|
-
"$ref": "#/components/parameters/ApiLimit100Default20"
|
|
1978
|
+
"$ref": "#/components/parameters/ApiStripTagsTrue"
|
|
1643
1979
|
},
|
|
1644
1980
|
{
|
|
1645
1981
|
"$ref": "#/components/parameters/ApiTimestamp"
|
|
@@ -1657,7 +1993,7 @@
|
|
|
1657
1993
|
"content": {
|
|
1658
1994
|
"application/json": {
|
|
1659
1995
|
"schema": {
|
|
1660
|
-
"$ref": "#/components/schemas/
|
|
1996
|
+
"$ref": "#/components/schemas/UserProfileResponse"
|
|
1661
1997
|
}
|
|
1662
1998
|
}
|
|
1663
1999
|
}
|
|
@@ -1671,15 +2007,24 @@
|
|
|
1671
2007
|
"x-stability": "Unstable"
|
|
1672
2008
|
}
|
|
1673
2009
|
},
|
|
1674
|
-
"/user/
|
|
2010
|
+
"/user/properties": {
|
|
1675
2011
|
"get": {
|
|
1676
2012
|
"tags": [
|
|
1677
2013
|
"User"
|
|
1678
2014
|
],
|
|
1679
|
-
"summary": "Get your
|
|
1680
|
-
"description": "Requires public access key. <br>",
|
|
1681
|
-
"operationId": "
|
|
2015
|
+
"summary": "Get your own properties",
|
|
2016
|
+
"description": "Requires public access key. <br>Extended responses are available when requesting the data with Limited or higher access keys.",
|
|
2017
|
+
"operationId": "574a416ca46717830f03a2f685955b87",
|
|
1682
2018
|
"parameters": [
|
|
2019
|
+
{
|
|
2020
|
+
"$ref": "#/components/parameters/ApiFiltersUserProperties"
|
|
2021
|
+
},
|
|
2022
|
+
{
|
|
2023
|
+
"$ref": "#/components/parameters/ApiOffset"
|
|
2024
|
+
},
|
|
2025
|
+
{
|
|
2026
|
+
"$ref": "#/components/parameters/ApiLimit100Default20"
|
|
2027
|
+
},
|
|
1683
2028
|
{
|
|
1684
2029
|
"$ref": "#/components/parameters/ApiTimestamp"
|
|
1685
2030
|
},
|
|
@@ -1696,7 +2041,7 @@
|
|
|
1696
2041
|
"content": {
|
|
1697
2042
|
"application/json": {
|
|
1698
2043
|
"schema": {
|
|
1699
|
-
"$ref": "#/components/schemas/
|
|
2044
|
+
"$ref": "#/components/schemas/UserPropertiesResponse"
|
|
1700
2045
|
}
|
|
1701
2046
|
}
|
|
1702
2047
|
}
|
|
@@ -1710,14 +2055,14 @@
|
|
|
1710
2055
|
"x-stability": "Unstable"
|
|
1711
2056
|
}
|
|
1712
2057
|
},
|
|
1713
|
-
"/user/{id}/
|
|
2058
|
+
"/user/{id}/properties": {
|
|
1714
2059
|
"get": {
|
|
1715
2060
|
"tags": [
|
|
1716
2061
|
"User"
|
|
1717
2062
|
],
|
|
1718
|
-
"summary": "Get specific user's
|
|
1719
|
-
"description": "Requires public access key. <br>",
|
|
1720
|
-
"operationId": "
|
|
2063
|
+
"summary": "Get specific user's properties",
|
|
2064
|
+
"description": "Requires public access key. <br>Extended responses are available when requesting the data with Limited or higher access keys for yourself or your spouse.",
|
|
2065
|
+
"operationId": "601f7b38ac25e1ac47b33fb64120198b",
|
|
1721
2066
|
"parameters": [
|
|
1722
2067
|
{
|
|
1723
2068
|
"name": "id",
|
|
@@ -1729,13 +2074,109 @@
|
|
|
1729
2074
|
}
|
|
1730
2075
|
},
|
|
1731
2076
|
{
|
|
1732
|
-
"$ref": "#/components/parameters/
|
|
2077
|
+
"$ref": "#/components/parameters/ApiFiltersUserProperties"
|
|
1733
2078
|
},
|
|
1734
2079
|
{
|
|
1735
|
-
"$ref": "#/components/parameters/
|
|
2080
|
+
"$ref": "#/components/parameters/ApiOffset"
|
|
1736
2081
|
},
|
|
1737
2082
|
{
|
|
1738
|
-
"$ref": "#/components/parameters/
|
|
2083
|
+
"$ref": "#/components/parameters/ApiLimit100Default20"
|
|
2084
|
+
},
|
|
2085
|
+
{
|
|
2086
|
+
"$ref": "#/components/parameters/ApiTimestamp"
|
|
2087
|
+
},
|
|
2088
|
+
{
|
|
2089
|
+
"$ref": "#/components/parameters/ApiComment"
|
|
2090
|
+
},
|
|
2091
|
+
{
|
|
2092
|
+
"$ref": "#/components/parameters/ApiKeyPublic"
|
|
2093
|
+
}
|
|
2094
|
+
],
|
|
2095
|
+
"responses": {
|
|
2096
|
+
"200": {
|
|
2097
|
+
"description": "Successful operation",
|
|
2098
|
+
"content": {
|
|
2099
|
+
"application/json": {
|
|
2100
|
+
"schema": {
|
|
2101
|
+
"$ref": "#/components/schemas/UserPropertiesResponse"
|
|
2102
|
+
}
|
|
2103
|
+
}
|
|
2104
|
+
}
|
|
2105
|
+
}
|
|
2106
|
+
},
|
|
2107
|
+
"security": [
|
|
2108
|
+
{
|
|
2109
|
+
"api_key": []
|
|
2110
|
+
}
|
|
2111
|
+
],
|
|
2112
|
+
"x-stability": "Unstable"
|
|
2113
|
+
}
|
|
2114
|
+
},
|
|
2115
|
+
"/user/property": {
|
|
2116
|
+
"get": {
|
|
2117
|
+
"tags": [
|
|
2118
|
+
"User"
|
|
2119
|
+
],
|
|
2120
|
+
"summary": "Get your current property",
|
|
2121
|
+
"description": "Requires public access key. <br>",
|
|
2122
|
+
"operationId": "0452cb8fd031b80d3b7e9fcb7b0bdf09",
|
|
2123
|
+
"parameters": [
|
|
2124
|
+
{
|
|
2125
|
+
"$ref": "#/components/parameters/ApiTimestamp"
|
|
2126
|
+
},
|
|
2127
|
+
{
|
|
2128
|
+
"$ref": "#/components/parameters/ApiComment"
|
|
2129
|
+
},
|
|
2130
|
+
{
|
|
2131
|
+
"$ref": "#/components/parameters/ApiKeyPublic"
|
|
2132
|
+
}
|
|
2133
|
+
],
|
|
2134
|
+
"responses": {
|
|
2135
|
+
"200": {
|
|
2136
|
+
"description": "Successful operation",
|
|
2137
|
+
"content": {
|
|
2138
|
+
"application/json": {
|
|
2139
|
+
"schema": {
|
|
2140
|
+
"$ref": "#/components/schemas/UserPropertyResponse"
|
|
2141
|
+
}
|
|
2142
|
+
}
|
|
2143
|
+
}
|
|
2144
|
+
}
|
|
2145
|
+
},
|
|
2146
|
+
"security": [
|
|
2147
|
+
{
|
|
2148
|
+
"api_key": []
|
|
2149
|
+
}
|
|
2150
|
+
],
|
|
2151
|
+
"x-stability": "Unstable"
|
|
2152
|
+
}
|
|
2153
|
+
},
|
|
2154
|
+
"/user/{id}/property": {
|
|
2155
|
+
"get": {
|
|
2156
|
+
"tags": [
|
|
2157
|
+
"User"
|
|
2158
|
+
],
|
|
2159
|
+
"summary": "Get specific user's property",
|
|
2160
|
+
"description": "Requires public access key. <br>",
|
|
2161
|
+
"operationId": "f36ce18449194dd9d2b62bccd4bb8343",
|
|
2162
|
+
"parameters": [
|
|
2163
|
+
{
|
|
2164
|
+
"name": "id",
|
|
2165
|
+
"in": "path",
|
|
2166
|
+
"description": "User id",
|
|
2167
|
+
"required": true,
|
|
2168
|
+
"schema": {
|
|
2169
|
+
"$ref": "#/components/schemas/UserId"
|
|
2170
|
+
}
|
|
2171
|
+
},
|
|
2172
|
+
{
|
|
2173
|
+
"$ref": "#/components/parameters/ApiTimestamp"
|
|
2174
|
+
},
|
|
2175
|
+
{
|
|
2176
|
+
"$ref": "#/components/parameters/ApiComment"
|
|
2177
|
+
},
|
|
2178
|
+
{
|
|
2179
|
+
"$ref": "#/components/parameters/ApiKeyPublic"
|
|
1739
2180
|
}
|
|
1740
2181
|
],
|
|
1741
2182
|
"responses": {
|
|
@@ -2372,6 +2813,21 @@
|
|
|
2372
2813
|
{
|
|
2373
2814
|
"$ref": "#/components/schemas/RevivesFullResponse"
|
|
2374
2815
|
},
|
|
2816
|
+
{
|
|
2817
|
+
"$ref": "#/components/schemas/UserProfileResponse"
|
|
2818
|
+
},
|
|
2819
|
+
{
|
|
2820
|
+
"$ref": "#/components/schemas/UserJobResponse"
|
|
2821
|
+
},
|
|
2822
|
+
{
|
|
2823
|
+
"$ref": "#/components/schemas/UserFactionResponse"
|
|
2824
|
+
},
|
|
2825
|
+
{
|
|
2826
|
+
"$ref": "#/components/schemas/UserCompetitionResponse"
|
|
2827
|
+
},
|
|
2828
|
+
{
|
|
2829
|
+
"$ref": "#/components/schemas/UserIconsResponse"
|
|
2830
|
+
},
|
|
2375
2831
|
{
|
|
2376
2832
|
"$ref": "#/components/schemas/UserItemMarketResponse"
|
|
2377
2833
|
},
|
|
@@ -8017,6 +8473,140 @@
|
|
|
8017
8473
|
"E"
|
|
8018
8474
|
]
|
|
8019
8475
|
},
|
|
8476
|
+
"UserDonatorStatusEnum": {
|
|
8477
|
+
"type": "string",
|
|
8478
|
+
"enum": [
|
|
8479
|
+
"Donator",
|
|
8480
|
+
"Subscriber"
|
|
8481
|
+
]
|
|
8482
|
+
},
|
|
8483
|
+
"JobTypeEnum": {
|
|
8484
|
+
"type": "string",
|
|
8485
|
+
"enum": [
|
|
8486
|
+
"Army",
|
|
8487
|
+
"Casino",
|
|
8488
|
+
"Education",
|
|
8489
|
+
"Grocer",
|
|
8490
|
+
"Law",
|
|
8491
|
+
"Medical"
|
|
8492
|
+
]
|
|
8493
|
+
},
|
|
8494
|
+
"UserMaritalStatusEnum": {
|
|
8495
|
+
"type": "string",
|
|
8496
|
+
"enum": [
|
|
8497
|
+
"Engaged",
|
|
8498
|
+
"Newlywed",
|
|
8499
|
+
"Married"
|
|
8500
|
+
]
|
|
8501
|
+
},
|
|
8502
|
+
"UserRoleEnum": {
|
|
8503
|
+
"type": "string",
|
|
8504
|
+
"enum": [
|
|
8505
|
+
"Admin",
|
|
8506
|
+
"Officer",
|
|
8507
|
+
"Moderator",
|
|
8508
|
+
"Helper",
|
|
8509
|
+
"Tester",
|
|
8510
|
+
"NPC",
|
|
8511
|
+
"Committee",
|
|
8512
|
+
"Reporter",
|
|
8513
|
+
"Wiki Contributor",
|
|
8514
|
+
"Wiki Editor",
|
|
8515
|
+
"Civilian"
|
|
8516
|
+
]
|
|
8517
|
+
},
|
|
8518
|
+
"UserTitleEnum": {
|
|
8519
|
+
"type": "string",
|
|
8520
|
+
"enum": [
|
|
8521
|
+
"Alcoholic",
|
|
8522
|
+
"Sharpshooter",
|
|
8523
|
+
"Accomplice",
|
|
8524
|
+
"Loser",
|
|
8525
|
+
"Silent Killer",
|
|
8526
|
+
"Killer",
|
|
8527
|
+
"Merchant",
|
|
8528
|
+
"Medalist",
|
|
8529
|
+
"Tycoon",
|
|
8530
|
+
"Damage Dealer",
|
|
8531
|
+
"Slayer",
|
|
8532
|
+
"Hired Gun",
|
|
8533
|
+
"Egotist",
|
|
8534
|
+
"Outcast",
|
|
8535
|
+
"Punchbag",
|
|
8536
|
+
"Tank",
|
|
8537
|
+
"Antagonist",
|
|
8538
|
+
"Druggy",
|
|
8539
|
+
"Scavenger",
|
|
8540
|
+
"Boxer",
|
|
8541
|
+
"Importer",
|
|
8542
|
+
"Looter",
|
|
8543
|
+
"Samaritan",
|
|
8544
|
+
"Felon",
|
|
8545
|
+
"Socialite",
|
|
8546
|
+
"Mercenary",
|
|
8547
|
+
"Investor",
|
|
8548
|
+
"Thief",
|
|
8549
|
+
"One Hit Killer",
|
|
8550
|
+
"Mobster",
|
|
8551
|
+
"Addict",
|
|
8552
|
+
"Bonds Agent",
|
|
8553
|
+
"Buster",
|
|
8554
|
+
"Hoarder",
|
|
8555
|
+
"Racer",
|
|
8556
|
+
"Soldier",
|
|
8557
|
+
"Avenger",
|
|
8558
|
+
"Healer",
|
|
8559
|
+
"Booster",
|
|
8560
|
+
"Intimidator",
|
|
8561
|
+
"Trader",
|
|
8562
|
+
"Jobsworth",
|
|
8563
|
+
"Tourist",
|
|
8564
|
+
"Nudist",
|
|
8565
|
+
"Sage",
|
|
8566
|
+
"Coward",
|
|
8567
|
+
"Newcomer",
|
|
8568
|
+
"Deserter"
|
|
8569
|
+
]
|
|
8570
|
+
},
|
|
8571
|
+
"UserRankEnum": {
|
|
8572
|
+
"type": "string",
|
|
8573
|
+
"enum": [
|
|
8574
|
+
"Absolute beginner",
|
|
8575
|
+
"Beginner",
|
|
8576
|
+
"Inexperienced",
|
|
8577
|
+
"Rookie",
|
|
8578
|
+
"Novice",
|
|
8579
|
+
"Below average",
|
|
8580
|
+
"Average",
|
|
8581
|
+
"Reasonable",
|
|
8582
|
+
"Above average",
|
|
8583
|
+
"Competent",
|
|
8584
|
+
"Highly competent",
|
|
8585
|
+
"Veteran",
|
|
8586
|
+
"Distinguished",
|
|
8587
|
+
"Highly distinguished",
|
|
8588
|
+
"Professional",
|
|
8589
|
+
"Star",
|
|
8590
|
+
"Master",
|
|
8591
|
+
"Outstanding",
|
|
8592
|
+
"Celebrity",
|
|
8593
|
+
"Supreme",
|
|
8594
|
+
"Idolized",
|
|
8595
|
+
"Champion",
|
|
8596
|
+
"Heroic",
|
|
8597
|
+
"Legendary",
|
|
8598
|
+
"Elite",
|
|
8599
|
+
"Invincible"
|
|
8600
|
+
]
|
|
8601
|
+
},
|
|
8602
|
+
"UserRpsStatus": {
|
|
8603
|
+
"type": "string",
|
|
8604
|
+
"enum": [
|
|
8605
|
+
"scissors",
|
|
8606
|
+
"rock",
|
|
8607
|
+
"paper"
|
|
8608
|
+
]
|
|
8609
|
+
},
|
|
8020
8610
|
"UserSkillSlugEnum": {
|
|
8021
8611
|
"type": "string",
|
|
8022
8612
|
"enum": [
|
|
@@ -12799,6 +13389,10 @@
|
|
|
12799
13389
|
"type": "integer",
|
|
12800
13390
|
"format": "int32"
|
|
12801
13391
|
},
|
|
13392
|
+
"UserIconId": {
|
|
13393
|
+
"type": "integer",
|
|
13394
|
+
"format": "int32"
|
|
13395
|
+
},
|
|
12802
13396
|
"ReviveId": {
|
|
12803
13397
|
"type": "integer",
|
|
12804
13398
|
"format": "int32"
|
|
@@ -14260,71 +14854,607 @@
|
|
|
14260
14854
|
"$ref": "#/components/schemas/ReportHistory"
|
|
14261
14855
|
},
|
|
14262
14856
|
{
|
|
14263
|
-
"$ref": "#/components/schemas/ReportFriendOrFoe"
|
|
14857
|
+
"$ref": "#/components/schemas/ReportFriendOrFoe"
|
|
14858
|
+
},
|
|
14859
|
+
{
|
|
14860
|
+
"$ref": "#/components/schemas/ReportCompanyFinancials"
|
|
14861
|
+
},
|
|
14862
|
+
{
|
|
14863
|
+
"$ref": "#/components/schemas/ReportTrueLevel"
|
|
14864
|
+
},
|
|
14865
|
+
{
|
|
14866
|
+
"$ref": "#/components/schemas/ReportStockAnalysis"
|
|
14867
|
+
},
|
|
14868
|
+
{
|
|
14869
|
+
"$ref": "#/components/schemas/ReportAnonymousBounties"
|
|
14870
|
+
},
|
|
14871
|
+
{
|
|
14872
|
+
"$ref": "#/components/schemas/ReportInvestment"
|
|
14873
|
+
}
|
|
14874
|
+
]
|
|
14875
|
+
}
|
|
14876
|
+
},
|
|
14877
|
+
"type": "object"
|
|
14878
|
+
},
|
|
14879
|
+
"Report": {
|
|
14880
|
+
"allOf": [
|
|
14881
|
+
{
|
|
14882
|
+
"$ref": "#/components/schemas/ReportBase"
|
|
14883
|
+
},
|
|
14884
|
+
{
|
|
14885
|
+
"$ref": "#/components/schemas/ReportReport"
|
|
14886
|
+
}
|
|
14887
|
+
]
|
|
14888
|
+
},
|
|
14889
|
+
"ReportsResponse": {
|
|
14890
|
+
"required": [
|
|
14891
|
+
"reports",
|
|
14892
|
+
"_metadata"
|
|
14893
|
+
],
|
|
14894
|
+
"properties": {
|
|
14895
|
+
"reports": {
|
|
14896
|
+
"type": "array",
|
|
14897
|
+
"items": {
|
|
14898
|
+
"$ref": "#/components/schemas/Report"
|
|
14899
|
+
}
|
|
14900
|
+
},
|
|
14901
|
+
"_metadata": {
|
|
14902
|
+
"$ref": "#/components/schemas/RequestMetadataWithLinks"
|
|
14903
|
+
}
|
|
14904
|
+
},
|
|
14905
|
+
"type": "object"
|
|
14906
|
+
},
|
|
14907
|
+
"SelectionCategoryEnum": {
|
|
14908
|
+
"oneOf": [
|
|
14909
|
+
{
|
|
14910
|
+
"$ref": "#/components/schemas/ReportTypeEnum"
|
|
14911
|
+
},
|
|
14912
|
+
{
|
|
14913
|
+
"$ref": "#/components/schemas/UserListEnum"
|
|
14914
|
+
},
|
|
14915
|
+
{
|
|
14916
|
+
"$ref": "#/components/schemas/PersonalStatsCategoryEnum"
|
|
14917
|
+
},
|
|
14918
|
+
{
|
|
14919
|
+
"$ref": "#/components/schemas/RacingRaceTypeEnum"
|
|
14920
|
+
}
|
|
14921
|
+
]
|
|
14922
|
+
},
|
|
14923
|
+
"UserIconPublic": {
|
|
14924
|
+
"required": [
|
|
14925
|
+
"id",
|
|
14926
|
+
"title",
|
|
14927
|
+
"description"
|
|
14928
|
+
],
|
|
14929
|
+
"properties": {
|
|
14930
|
+
"id": {
|
|
14931
|
+
"$ref": "#/components/schemas/UserIconId"
|
|
14932
|
+
},
|
|
14933
|
+
"title": {
|
|
14934
|
+
"type": "string"
|
|
14935
|
+
},
|
|
14936
|
+
"description": {
|
|
14937
|
+
"type": "string"
|
|
14938
|
+
}
|
|
14939
|
+
},
|
|
14940
|
+
"type": "object"
|
|
14941
|
+
},
|
|
14942
|
+
"UserIconPrivate": {
|
|
14943
|
+
"allOf": [
|
|
14944
|
+
{
|
|
14945
|
+
"$ref": "#/components/schemas/UserIconPublic"
|
|
14946
|
+
},
|
|
14947
|
+
{
|
|
14948
|
+
"required": [
|
|
14949
|
+
"until"
|
|
14950
|
+
],
|
|
14951
|
+
"properties": {
|
|
14952
|
+
"until": {
|
|
14953
|
+
"oneOf": [
|
|
14954
|
+
{
|
|
14955
|
+
"type": "integer",
|
|
14956
|
+
"format": "int32"
|
|
14957
|
+
},
|
|
14958
|
+
{
|
|
14959
|
+
"type": "null"
|
|
14960
|
+
}
|
|
14961
|
+
]
|
|
14962
|
+
}
|
|
14963
|
+
},
|
|
14964
|
+
"type": "object"
|
|
14965
|
+
}
|
|
14966
|
+
]
|
|
14967
|
+
},
|
|
14968
|
+
"UserIconsResponse": {
|
|
14969
|
+
"required": [
|
|
14970
|
+
"icons"
|
|
14971
|
+
],
|
|
14972
|
+
"properties": {
|
|
14973
|
+
"icons": {
|
|
14974
|
+
"oneOf": [
|
|
14975
|
+
{
|
|
14976
|
+
"type": "array",
|
|
14977
|
+
"items": {
|
|
14978
|
+
"$ref": "#/components/schemas/UserIconPrivate"
|
|
14979
|
+
}
|
|
14980
|
+
},
|
|
14981
|
+
{
|
|
14982
|
+
"type": "array",
|
|
14983
|
+
"items": {
|
|
14984
|
+
"$ref": "#/components/schemas/UserIconPublic"
|
|
14985
|
+
}
|
|
14986
|
+
}
|
|
14987
|
+
]
|
|
14988
|
+
}
|
|
14989
|
+
},
|
|
14990
|
+
"type": "object"
|
|
14991
|
+
},
|
|
14992
|
+
"UserCompetitionHalloween": {
|
|
14993
|
+
"required": [
|
|
14994
|
+
"name",
|
|
14995
|
+
"treats_collected",
|
|
14996
|
+
"basket"
|
|
14997
|
+
],
|
|
14998
|
+
"properties": {
|
|
14999
|
+
"name": {
|
|
15000
|
+
"type": "string",
|
|
15001
|
+
"enum": [
|
|
15002
|
+
"Halloween"
|
|
15003
|
+
]
|
|
15004
|
+
},
|
|
15005
|
+
"treats_collected": {
|
|
15006
|
+
"type": "integer",
|
|
15007
|
+
"format": "int32"
|
|
15008
|
+
},
|
|
15009
|
+
"basket": {
|
|
15010
|
+
"required": [
|
|
15011
|
+
"id",
|
|
15012
|
+
"name"
|
|
15013
|
+
],
|
|
15014
|
+
"properties": {
|
|
15015
|
+
"id": {
|
|
15016
|
+
"$ref": "#/components/schemas/ItemId"
|
|
15017
|
+
},
|
|
15018
|
+
"name": {
|
|
15019
|
+
"type": "string"
|
|
15020
|
+
}
|
|
15021
|
+
},
|
|
15022
|
+
"type": "object"
|
|
15023
|
+
}
|
|
15024
|
+
},
|
|
15025
|
+
"type": "object"
|
|
15026
|
+
},
|
|
15027
|
+
"UserCompetitionEasterEggs": {
|
|
15028
|
+
"required": [
|
|
15029
|
+
"name",
|
|
15030
|
+
"score",
|
|
15031
|
+
"total"
|
|
15032
|
+
],
|
|
15033
|
+
"properties": {
|
|
15034
|
+
"name": {
|
|
15035
|
+
"type": "string",
|
|
15036
|
+
"enum": [
|
|
15037
|
+
"Easter Egg Hunt"
|
|
15038
|
+
]
|
|
15039
|
+
},
|
|
15040
|
+
"score": {
|
|
15041
|
+
"type": "integer",
|
|
15042
|
+
"format": "int32"
|
|
15043
|
+
},
|
|
15044
|
+
"total": {
|
|
15045
|
+
"type": "integer",
|
|
15046
|
+
"format": "int32"
|
|
15047
|
+
}
|
|
15048
|
+
},
|
|
15049
|
+
"type": "object"
|
|
15050
|
+
},
|
|
15051
|
+
"UserCompetitionRps": {
|
|
15052
|
+
"required": [
|
|
15053
|
+
"name",
|
|
15054
|
+
"status",
|
|
15055
|
+
"hp"
|
|
15056
|
+
],
|
|
15057
|
+
"properties": {
|
|
15058
|
+
"name": {
|
|
15059
|
+
"type": "string",
|
|
15060
|
+
"enum": [
|
|
15061
|
+
"Rock, Paper, Scissors"
|
|
15062
|
+
]
|
|
15063
|
+
},
|
|
15064
|
+
"status": {
|
|
15065
|
+
"$ref": "#/components/schemas/UserRpsStatus"
|
|
15066
|
+
},
|
|
15067
|
+
"hp": {
|
|
15068
|
+
"required": [
|
|
15069
|
+
"current",
|
|
15070
|
+
"maximum"
|
|
15071
|
+
],
|
|
15072
|
+
"properties": {
|
|
15073
|
+
"current": {
|
|
15074
|
+
"type": "integer",
|
|
15075
|
+
"format": "int32"
|
|
15076
|
+
},
|
|
15077
|
+
"maximum": {
|
|
15078
|
+
"type": "integer",
|
|
15079
|
+
"format": "int32"
|
|
15080
|
+
}
|
|
15081
|
+
},
|
|
15082
|
+
"type": "object"
|
|
15083
|
+
}
|
|
15084
|
+
},
|
|
15085
|
+
"type": "object"
|
|
15086
|
+
},
|
|
15087
|
+
"UserCompetitionResponse": {
|
|
15088
|
+
"required": [
|
|
15089
|
+
"competition"
|
|
15090
|
+
],
|
|
15091
|
+
"properties": {
|
|
15092
|
+
"competition": {
|
|
15093
|
+
"oneOf": [
|
|
15094
|
+
{
|
|
15095
|
+
"$ref": "#/components/schemas/UserCompetitionHalloween"
|
|
15096
|
+
},
|
|
15097
|
+
{
|
|
15098
|
+
"$ref": "#/components/schemas/UserCompetitionEasterEggs"
|
|
15099
|
+
},
|
|
15100
|
+
{
|
|
15101
|
+
"$ref": "#/components/schemas/UserCompetitionRps"
|
|
15102
|
+
}
|
|
15103
|
+
]
|
|
15104
|
+
}
|
|
15105
|
+
},
|
|
15106
|
+
"type": "object"
|
|
15107
|
+
},
|
|
15108
|
+
"UserFaction": {
|
|
15109
|
+
"required": [
|
|
15110
|
+
"id",
|
|
15111
|
+
"name",
|
|
15112
|
+
"tag",
|
|
15113
|
+
"tag_image",
|
|
15114
|
+
"position",
|
|
15115
|
+
"days_in_faction"
|
|
15116
|
+
],
|
|
15117
|
+
"properties": {
|
|
15118
|
+
"id": {
|
|
15119
|
+
"$ref": "#/components/schemas/FactionId"
|
|
15120
|
+
},
|
|
15121
|
+
"name": {
|
|
15122
|
+
"type": "string"
|
|
15123
|
+
},
|
|
15124
|
+
"tag": {
|
|
15125
|
+
"type": "string"
|
|
15126
|
+
},
|
|
15127
|
+
"tag_image": {
|
|
15128
|
+
"type": "string"
|
|
15129
|
+
},
|
|
15130
|
+
"position": {
|
|
15131
|
+
"type": "string"
|
|
15132
|
+
},
|
|
15133
|
+
"days_in_faction": {
|
|
15134
|
+
"type": "integer",
|
|
15135
|
+
"format": "int32"
|
|
15136
|
+
}
|
|
15137
|
+
},
|
|
15138
|
+
"type": "object"
|
|
15139
|
+
},
|
|
15140
|
+
"UserFactionResponse": {
|
|
15141
|
+
"required": [
|
|
15142
|
+
"faction"
|
|
15143
|
+
],
|
|
15144
|
+
"properties": {
|
|
15145
|
+
"faction": {
|
|
15146
|
+
"oneOf": [
|
|
15147
|
+
{
|
|
15148
|
+
"$ref": "#/components/schemas/UserFaction"
|
|
15149
|
+
},
|
|
15150
|
+
{
|
|
15151
|
+
"type": "null"
|
|
15152
|
+
}
|
|
15153
|
+
]
|
|
15154
|
+
}
|
|
15155
|
+
},
|
|
15156
|
+
"type": "object"
|
|
15157
|
+
},
|
|
15158
|
+
"UserJob": {
|
|
15159
|
+
"required": [
|
|
15160
|
+
"type",
|
|
15161
|
+
"name",
|
|
15162
|
+
"position"
|
|
15163
|
+
],
|
|
15164
|
+
"properties": {
|
|
15165
|
+
"type": {
|
|
15166
|
+
"type": "string",
|
|
15167
|
+
"enum": [
|
|
15168
|
+
"job"
|
|
15169
|
+
]
|
|
15170
|
+
},
|
|
15171
|
+
"name": {
|
|
15172
|
+
"$ref": "#/components/schemas/JobTypeEnum"
|
|
15173
|
+
},
|
|
15174
|
+
"position": {
|
|
15175
|
+
"description": "Position enum corresponds to the name enum.",
|
|
15176
|
+
"oneOf": [
|
|
15177
|
+
{
|
|
15178
|
+
"$ref": "#/components/schemas/JobPositionArmyEnum"
|
|
14264
15179
|
},
|
|
14265
15180
|
{
|
|
14266
|
-
"$ref": "#/components/schemas/
|
|
15181
|
+
"$ref": "#/components/schemas/JobPositionGrocerEnum"
|
|
14267
15182
|
},
|
|
14268
15183
|
{
|
|
14269
|
-
"$ref": "#/components/schemas/
|
|
15184
|
+
"$ref": "#/components/schemas/JobPositionCasinoEnum"
|
|
14270
15185
|
},
|
|
14271
15186
|
{
|
|
14272
|
-
"$ref": "#/components/schemas/
|
|
15187
|
+
"$ref": "#/components/schemas/JobPositionMedicalEnum"
|
|
14273
15188
|
},
|
|
14274
15189
|
{
|
|
14275
|
-
"$ref": "#/components/schemas/
|
|
15190
|
+
"$ref": "#/components/schemas/JobPositionLawEnum"
|
|
14276
15191
|
},
|
|
14277
15192
|
{
|
|
14278
|
-
"$ref": "#/components/schemas/
|
|
15193
|
+
"$ref": "#/components/schemas/JobPositionEducationEnum"
|
|
14279
15194
|
}
|
|
14280
15195
|
]
|
|
14281
15196
|
}
|
|
14282
15197
|
},
|
|
14283
15198
|
"type": "object"
|
|
14284
15199
|
},
|
|
14285
|
-
"
|
|
14286
|
-
"
|
|
14287
|
-
|
|
14288
|
-
|
|
15200
|
+
"UserCompany": {
|
|
15201
|
+
"required": [
|
|
15202
|
+
"type",
|
|
15203
|
+
"id",
|
|
15204
|
+
"type_id",
|
|
15205
|
+
"name",
|
|
15206
|
+
"rating",
|
|
15207
|
+
"position",
|
|
15208
|
+
"days_in_company"
|
|
15209
|
+
],
|
|
15210
|
+
"properties": {
|
|
15211
|
+
"type": {
|
|
15212
|
+
"type": "string",
|
|
15213
|
+
"enum": [
|
|
15214
|
+
"company"
|
|
15215
|
+
]
|
|
14289
15216
|
},
|
|
14290
|
-
{
|
|
14291
|
-
"$ref": "#/components/schemas/
|
|
15217
|
+
"id": {
|
|
15218
|
+
"$ref": "#/components/schemas/CompanyId"
|
|
15219
|
+
},
|
|
15220
|
+
"type_id": {
|
|
15221
|
+
"$ref": "#/components/schemas/CompanyTypeId"
|
|
15222
|
+
},
|
|
15223
|
+
"name": {
|
|
15224
|
+
"type": "string"
|
|
15225
|
+
},
|
|
15226
|
+
"rating": {
|
|
15227
|
+
"type": "integer",
|
|
15228
|
+
"format": "int32"
|
|
15229
|
+
},
|
|
15230
|
+
"position": {
|
|
15231
|
+
"type": "string"
|
|
15232
|
+
},
|
|
15233
|
+
"days_in_company": {
|
|
15234
|
+
"type": "integer",
|
|
15235
|
+
"format": "int32"
|
|
14292
15236
|
}
|
|
14293
|
-
|
|
15237
|
+
},
|
|
15238
|
+
"type": "object"
|
|
14294
15239
|
},
|
|
14295
|
-
"
|
|
15240
|
+
"UserJobResponse": {
|
|
14296
15241
|
"required": [
|
|
14297
|
-
"
|
|
14298
|
-
"_metadata"
|
|
15242
|
+
"job"
|
|
14299
15243
|
],
|
|
14300
15244
|
"properties": {
|
|
14301
|
-
"
|
|
14302
|
-
"
|
|
14303
|
-
|
|
14304
|
-
|
|
14305
|
-
|
|
14306
|
-
|
|
14307
|
-
|
|
14308
|
-
|
|
15245
|
+
"job": {
|
|
15246
|
+
"oneOf": [
|
|
15247
|
+
{
|
|
15248
|
+
"$ref": "#/components/schemas/UserJob"
|
|
15249
|
+
},
|
|
15250
|
+
{
|
|
15251
|
+
"$ref": "#/components/schemas/UserCompany"
|
|
15252
|
+
},
|
|
15253
|
+
{
|
|
15254
|
+
"type": "null"
|
|
15255
|
+
}
|
|
15256
|
+
]
|
|
14309
15257
|
}
|
|
14310
15258
|
},
|
|
14311
15259
|
"type": "object"
|
|
14312
15260
|
},
|
|
14313
|
-
"
|
|
14314
|
-
"
|
|
14315
|
-
|
|
14316
|
-
|
|
15261
|
+
"ProfileSpouse": {
|
|
15262
|
+
"required": [
|
|
15263
|
+
"id",
|
|
15264
|
+
"name",
|
|
15265
|
+
"status",
|
|
15266
|
+
"days_married"
|
|
15267
|
+
],
|
|
15268
|
+
"properties": {
|
|
15269
|
+
"id": {
|
|
15270
|
+
"$ref": "#/components/schemas/UserId"
|
|
14317
15271
|
},
|
|
14318
|
-
{
|
|
14319
|
-
"
|
|
15272
|
+
"name": {
|
|
15273
|
+
"type": "string"
|
|
14320
15274
|
},
|
|
14321
|
-
{
|
|
14322
|
-
"$ref": "#/components/schemas/
|
|
15275
|
+
"status": {
|
|
15276
|
+
"$ref": "#/components/schemas/UserMaritalStatusEnum"
|
|
14323
15277
|
},
|
|
14324
|
-
{
|
|
14325
|
-
"
|
|
15278
|
+
"days_married": {
|
|
15279
|
+
"type": "integer",
|
|
15280
|
+
"format": "int32"
|
|
14326
15281
|
}
|
|
14327
|
-
|
|
15282
|
+
},
|
|
15283
|
+
"type": "object"
|
|
15284
|
+
},
|
|
15285
|
+
"UserProfileResponse": {
|
|
15286
|
+
"required": [
|
|
15287
|
+
"profile"
|
|
15288
|
+
],
|
|
15289
|
+
"properties": {
|
|
15290
|
+
"profile": {
|
|
15291
|
+
"required": [
|
|
15292
|
+
"id",
|
|
15293
|
+
"name",
|
|
15294
|
+
"level",
|
|
15295
|
+
"rank",
|
|
15296
|
+
"title",
|
|
15297
|
+
"age",
|
|
15298
|
+
"signed_up",
|
|
15299
|
+
"faction_id",
|
|
15300
|
+
"honor_id",
|
|
15301
|
+
"property",
|
|
15302
|
+
"image",
|
|
15303
|
+
"gender",
|
|
15304
|
+
"revivable",
|
|
15305
|
+
"role",
|
|
15306
|
+
"status",
|
|
15307
|
+
"spouse",
|
|
15308
|
+
"awards",
|
|
15309
|
+
"friends",
|
|
15310
|
+
"enemies",
|
|
15311
|
+
"forum_posts",
|
|
15312
|
+
"karma",
|
|
15313
|
+
"last_action",
|
|
15314
|
+
"life",
|
|
15315
|
+
"donator_status"
|
|
15316
|
+
],
|
|
15317
|
+
"properties": {
|
|
15318
|
+
"id": {
|
|
15319
|
+
"$ref": "#/components/schemas/UserId"
|
|
15320
|
+
},
|
|
15321
|
+
"name": {
|
|
15322
|
+
"type": "string"
|
|
15323
|
+
},
|
|
15324
|
+
"level": {
|
|
15325
|
+
"type": "integer",
|
|
15326
|
+
"format": "int32"
|
|
15327
|
+
},
|
|
15328
|
+
"rank": {
|
|
15329
|
+
"$ref": "#/components/schemas/UserRankEnum"
|
|
15330
|
+
},
|
|
15331
|
+
"title": {
|
|
15332
|
+
"$ref": "#/components/schemas/UserTitleEnum"
|
|
15333
|
+
},
|
|
15334
|
+
"donator_status": {
|
|
15335
|
+
"oneOf": [
|
|
15336
|
+
{
|
|
15337
|
+
"$ref": "#/components/schemas/UserDonatorStatusEnum"
|
|
15338
|
+
},
|
|
15339
|
+
{
|
|
15340
|
+
"type": "null"
|
|
15341
|
+
}
|
|
15342
|
+
]
|
|
15343
|
+
},
|
|
15344
|
+
"age": {
|
|
15345
|
+
"description": "Age in days.",
|
|
15346
|
+
"type": "integer",
|
|
15347
|
+
"format": "int32"
|
|
15348
|
+
},
|
|
15349
|
+
"signed_up": {
|
|
15350
|
+
"type": "integer",
|
|
15351
|
+
"format": "int32"
|
|
15352
|
+
},
|
|
15353
|
+
"faction_id": {
|
|
15354
|
+
"oneOf": [
|
|
15355
|
+
{
|
|
15356
|
+
"$ref": "#/components/schemas/FactionId"
|
|
15357
|
+
},
|
|
15358
|
+
{
|
|
15359
|
+
"type": "null"
|
|
15360
|
+
}
|
|
15361
|
+
]
|
|
15362
|
+
},
|
|
15363
|
+
"honor_id": {
|
|
15364
|
+
"$ref": "#/components/schemas/HonorId"
|
|
15365
|
+
},
|
|
15366
|
+
"property": {
|
|
15367
|
+
"required": [
|
|
15368
|
+
"id",
|
|
15369
|
+
"name"
|
|
15370
|
+
],
|
|
15371
|
+
"properties": {
|
|
15372
|
+
"id": {
|
|
15373
|
+
"$ref": "#/components/schemas/PropertyId"
|
|
15374
|
+
},
|
|
15375
|
+
"name": {
|
|
15376
|
+
"type": "string"
|
|
15377
|
+
}
|
|
15378
|
+
},
|
|
15379
|
+
"type": "object"
|
|
15380
|
+
},
|
|
15381
|
+
"image": {
|
|
15382
|
+
"oneOf": [
|
|
15383
|
+
{
|
|
15384
|
+
"type": "string"
|
|
15385
|
+
},
|
|
15386
|
+
{
|
|
15387
|
+
"type": "null"
|
|
15388
|
+
}
|
|
15389
|
+
]
|
|
15390
|
+
},
|
|
15391
|
+
"gender": {
|
|
15392
|
+
"$ref": "#/components/schemas/UserGenderEnum"
|
|
15393
|
+
},
|
|
15394
|
+
"revivable": {
|
|
15395
|
+
"type": "boolean"
|
|
15396
|
+
},
|
|
15397
|
+
"role": {
|
|
15398
|
+
"$ref": "#/components/schemas/UserRoleEnum"
|
|
15399
|
+
},
|
|
15400
|
+
"status": {
|
|
15401
|
+
"$ref": "#/components/schemas/UserStatus"
|
|
15402
|
+
},
|
|
15403
|
+
"spouse": {
|
|
15404
|
+
"oneOf": [
|
|
15405
|
+
{
|
|
15406
|
+
"$ref": "#/components/schemas/ProfileSpouse"
|
|
15407
|
+
},
|
|
15408
|
+
{
|
|
15409
|
+
"type": "null"
|
|
15410
|
+
}
|
|
15411
|
+
]
|
|
15412
|
+
},
|
|
15413
|
+
"awards": {
|
|
15414
|
+
"type": "integer",
|
|
15415
|
+
"format": "int32"
|
|
15416
|
+
},
|
|
15417
|
+
"friends": {
|
|
15418
|
+
"type": "integer",
|
|
15419
|
+
"format": "int32"
|
|
15420
|
+
},
|
|
15421
|
+
"enemies": {
|
|
15422
|
+
"type": "integer",
|
|
15423
|
+
"format": "int32"
|
|
15424
|
+
},
|
|
15425
|
+
"forum_posts": {
|
|
15426
|
+
"type": "integer",
|
|
15427
|
+
"format": "int32"
|
|
15428
|
+
},
|
|
15429
|
+
"karma": {
|
|
15430
|
+
"type": "integer",
|
|
15431
|
+
"format": "int32"
|
|
15432
|
+
},
|
|
15433
|
+
"last_action": {
|
|
15434
|
+
"$ref": "#/components/schemas/UserLastAction"
|
|
15435
|
+
},
|
|
15436
|
+
"life": {
|
|
15437
|
+
"required": [
|
|
15438
|
+
"current",
|
|
15439
|
+
"maximum"
|
|
15440
|
+
],
|
|
15441
|
+
"properties": {
|
|
15442
|
+
"current": {
|
|
15443
|
+
"type": "integer",
|
|
15444
|
+
"format": "int32"
|
|
15445
|
+
},
|
|
15446
|
+
"maximum": {
|
|
15447
|
+
"type": "integer",
|
|
15448
|
+
"format": "int32"
|
|
15449
|
+
}
|
|
15450
|
+
},
|
|
15451
|
+
"type": "object"
|
|
15452
|
+
}
|
|
15453
|
+
},
|
|
15454
|
+
"type": "object"
|
|
15455
|
+
}
|
|
15456
|
+
},
|
|
15457
|
+
"type": "object"
|
|
14328
15458
|
},
|
|
14329
15459
|
"UserMoneyResponse": {
|
|
14330
15460
|
"required": [
|
|
@@ -16456,6 +17586,25 @@
|
|
|
16456
17586
|
},
|
|
16457
17587
|
"type": "object"
|
|
16458
17588
|
},
|
|
17589
|
+
"UserOrganizedCrimeError": {
|
|
17590
|
+
"required": [
|
|
17591
|
+
"code",
|
|
17592
|
+
"error"
|
|
17593
|
+
],
|
|
17594
|
+
"properties": {
|
|
17595
|
+
"code": {
|
|
17596
|
+
"type": "integer",
|
|
17597
|
+
"format": "int32",
|
|
17598
|
+
"enum": [
|
|
17599
|
+
27
|
|
17600
|
+
]
|
|
17601
|
+
},
|
|
17602
|
+
"error": {
|
|
17603
|
+
"type": "string"
|
|
17604
|
+
}
|
|
17605
|
+
},
|
|
17606
|
+
"type": "object"
|
|
17607
|
+
},
|
|
16459
17608
|
"UserOrganizedCrimeResponse": {
|
|
16460
17609
|
"required": [
|
|
16461
17610
|
"organizedCrime"
|
|
@@ -16466,6 +17615,9 @@
|
|
|
16466
17615
|
{
|
|
16467
17616
|
"$ref": "#/components/schemas/FactionCrime"
|
|
16468
17617
|
},
|
|
17618
|
+
{
|
|
17619
|
+
"$ref": "#/components/schemas/UserOrganizedCrimeError"
|
|
17620
|
+
},
|
|
16469
17621
|
{
|
|
16470
17622
|
"type": "null"
|
|
16471
17623
|
}
|
|
@@ -16534,7 +17686,7 @@
|
|
|
16534
17686
|
"UserSelectionName": {
|
|
16535
17687
|
"oneOf": [
|
|
16536
17688
|
{
|
|
16537
|
-
"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','
|
|
17689
|
+
"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','inventory','messages','missions','networth','newevents','newmessages','notifications','perks','refills','stocks','travel','weaponexp'.",
|
|
16538
17690
|
"type": "string",
|
|
16539
17691
|
"enum": [
|
|
16540
17692
|
"attacks",
|
|
@@ -16543,8 +17695,10 @@
|
|
|
16543
17695
|
"battlestats",
|
|
16544
17696
|
"bounties",
|
|
16545
17697
|
"calendar",
|
|
17698
|
+
"competition",
|
|
16546
17699
|
"crimes",
|
|
16547
17700
|
"enlistedcars",
|
|
17701
|
+
"faction",
|
|
16548
17702
|
"factionbalance",
|
|
16549
17703
|
"forumfeed",
|
|
16550
17704
|
"forumfriends",
|
|
@@ -16553,7 +17707,9 @@
|
|
|
16553
17707
|
"forumthreads",
|
|
16554
17708
|
"hof",
|
|
16555
17709
|
"honors",
|
|
17710
|
+
"icons",
|
|
16556
17711
|
"itemmarket",
|
|
17712
|
+
"job",
|
|
16557
17713
|
"jobpoints",
|
|
16558
17714
|
"jobranks",
|
|
16559
17715
|
"list",
|
|
@@ -16564,6 +17720,7 @@
|
|
|
16564
17720
|
"money",
|
|
16565
17721
|
"organizedcrime",
|
|
16566
17722
|
"personalstats",
|
|
17723
|
+
"profile",
|
|
16567
17724
|
"properties",
|
|
16568
17725
|
"property",
|
|
16569
17726
|
"races",
|
|
@@ -16585,7 +17742,6 @@
|
|
|
16585
17742
|
"equipment",
|
|
16586
17743
|
"events",
|
|
16587
17744
|
"gym",
|
|
16588
|
-
"icons",
|
|
16589
17745
|
"inventory",
|
|
16590
17746
|
"messages",
|
|
16591
17747
|
"missions",
|
|
@@ -16594,7 +17750,6 @@
|
|
|
16594
17750
|
"newmessages",
|
|
16595
17751
|
"notifications",
|
|
16596
17752
|
"perks",
|
|
16597
|
-
"profile",
|
|
16598
17753
|
"refills",
|
|
16599
17754
|
"stocks",
|
|
16600
17755
|
"travel",
|
|
@@ -21061,7 +22216,8 @@
|
|
|
21061
22216
|
"description",
|
|
21062
22217
|
"details",
|
|
21063
22218
|
"state",
|
|
21064
|
-
"until"
|
|
22219
|
+
"until",
|
|
22220
|
+
"color"
|
|
21065
22221
|
],
|
|
21066
22222
|
"properties": {
|
|
21067
22223
|
"description": {
|
|
@@ -21080,6 +22236,9 @@
|
|
|
21080
22236
|
"state": {
|
|
21081
22237
|
"type": "string"
|
|
21082
22238
|
},
|
|
22239
|
+
"color": {
|
|
22240
|
+
"type": "string"
|
|
22241
|
+
},
|
|
21083
22242
|
"until": {
|
|
21084
22243
|
"oneOf": [
|
|
21085
22244
|
{
|
|
@@ -21090,6 +22249,10 @@
|
|
|
21090
22249
|
"type": "null"
|
|
21091
22250
|
}
|
|
21092
22251
|
]
|
|
22252
|
+
},
|
|
22253
|
+
"travel_type": {
|
|
22254
|
+
"description": "This field is populated only if the state is 'Traveling'.",
|
|
22255
|
+
"type": "string"
|
|
21093
22256
|
}
|
|
21094
22257
|
},
|
|
21095
22258
|
"type": "object"
|
|
@@ -25845,7 +27008,7 @@
|
|
|
25845
27008
|
"format": "int32"
|
|
25846
27009
|
},
|
|
25847
27010
|
"rank_name": {
|
|
25848
|
-
"
|
|
27011
|
+
"$ref": "#/components/schemas/UserRankEnum"
|
|
25849
27012
|
},
|
|
25850
27013
|
"rank_number": {
|
|
25851
27014
|
"type": "integer",
|