tornapi-typescript 3.0.10 → 3.0.12
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 +133 -2
- package/dist/index.ts +252 -2
- package/dist/openapi.json +1303 -161
- 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.12"
|
|
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": {
|
|
@@ -2360,9 +2801,33 @@
|
|
|
2360
2801
|
{
|
|
2361
2802
|
"$ref": "#/components/schemas/RevivesResponse"
|
|
2362
2803
|
},
|
|
2804
|
+
{
|
|
2805
|
+
"$ref": "#/components/schemas/UserHonorsResponse"
|
|
2806
|
+
},
|
|
2807
|
+
{
|
|
2808
|
+
"$ref": "#/components/schemas/UserMedalsResponse"
|
|
2809
|
+
},
|
|
2810
|
+
{
|
|
2811
|
+
"$ref": "#/components/schemas/UserMeritsResponse"
|
|
2812
|
+
},
|
|
2363
2813
|
{
|
|
2364
2814
|
"$ref": "#/components/schemas/RevivesFullResponse"
|
|
2365
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
|
+
},
|
|
2366
2831
|
{
|
|
2367
2832
|
"$ref": "#/components/schemas/UserItemMarketResponse"
|
|
2368
2833
|
},
|
|
@@ -7840,6 +8305,18 @@
|
|
|
7840
8305
|
"$ref": "#/components/schemas/ItemId"
|
|
7841
8306
|
}
|
|
7842
8307
|
},
|
|
8308
|
+
{
|
|
8309
|
+
"type": "array",
|
|
8310
|
+
"items": {
|
|
8311
|
+
"$ref": "#/components/schemas/MedalId"
|
|
8312
|
+
}
|
|
8313
|
+
},
|
|
8314
|
+
{
|
|
8315
|
+
"type": "array",
|
|
8316
|
+
"items": {
|
|
8317
|
+
"$ref": "#/components/schemas/HonorId"
|
|
8318
|
+
}
|
|
8319
|
+
},
|
|
7843
8320
|
{
|
|
7844
8321
|
"type": "array",
|
|
7845
8322
|
"items": {
|
|
@@ -7930,6 +8407,15 @@
|
|
|
7930
8407
|
{
|
|
7931
8408
|
"$ref": "#/components/schemas/TornEducationResponse"
|
|
7932
8409
|
},
|
|
8410
|
+
{
|
|
8411
|
+
"$ref": "#/components/schemas/TornMeritsResponse"
|
|
8412
|
+
},
|
|
8413
|
+
{
|
|
8414
|
+
"$ref": "#/components/schemas/TornHonorsResponse"
|
|
8415
|
+
},
|
|
8416
|
+
{
|
|
8417
|
+
"$ref": "#/components/schemas/TornMedalsResponse"
|
|
8418
|
+
},
|
|
7933
8419
|
{
|
|
7934
8420
|
"$ref": "#/components/schemas/TornBountiesResponse"
|
|
7935
8421
|
},
|
|
@@ -7987,6 +8473,131 @@
|
|
|
7987
8473
|
"E"
|
|
7988
8474
|
]
|
|
7989
8475
|
},
|
|
8476
|
+
"JobTypeEnum": {
|
|
8477
|
+
"type": "string",
|
|
8478
|
+
"enum": [
|
|
8479
|
+
"Army",
|
|
8480
|
+
"Casino",
|
|
8481
|
+
"Education",
|
|
8482
|
+
"Grocer",
|
|
8483
|
+
"Law",
|
|
8484
|
+
"Medical"
|
|
8485
|
+
]
|
|
8486
|
+
},
|
|
8487
|
+
"UserMaritalStatusEnum": {
|
|
8488
|
+
"type": "string",
|
|
8489
|
+
"enum": [
|
|
8490
|
+
"Engaged",
|
|
8491
|
+
"Newlywed",
|
|
8492
|
+
"Married"
|
|
8493
|
+
]
|
|
8494
|
+
},
|
|
8495
|
+
"UserRoleEnum": {
|
|
8496
|
+
"type": "string",
|
|
8497
|
+
"enum": [
|
|
8498
|
+
"Admin",
|
|
8499
|
+
"Officer",
|
|
8500
|
+
"Moderator",
|
|
8501
|
+
"Helper",
|
|
8502
|
+
"Tester",
|
|
8503
|
+
"NPC",
|
|
8504
|
+
"Committee",
|
|
8505
|
+
"Reporter",
|
|
8506
|
+
"Wiki Contributor",
|
|
8507
|
+
"Wiki Editor",
|
|
8508
|
+
"Civilian"
|
|
8509
|
+
]
|
|
8510
|
+
},
|
|
8511
|
+
"UserTitleEnum": {
|
|
8512
|
+
"type": "string",
|
|
8513
|
+
"enum": [
|
|
8514
|
+
"Alcoholic",
|
|
8515
|
+
"Sharpshooter",
|
|
8516
|
+
"Accomplice",
|
|
8517
|
+
"Loser",
|
|
8518
|
+
"Silent Killer",
|
|
8519
|
+
"Killer",
|
|
8520
|
+
"Merchant",
|
|
8521
|
+
"Medalist",
|
|
8522
|
+
"Tycoon",
|
|
8523
|
+
"Damage Dealer",
|
|
8524
|
+
"Slayer",
|
|
8525
|
+
"Hired Gun",
|
|
8526
|
+
"Egotist",
|
|
8527
|
+
"Outcast",
|
|
8528
|
+
"Punchbag",
|
|
8529
|
+
"Tank",
|
|
8530
|
+
"Antagonist",
|
|
8531
|
+
"Druggy",
|
|
8532
|
+
"Scavenger",
|
|
8533
|
+
"Boxer",
|
|
8534
|
+
"Importer",
|
|
8535
|
+
"Looter",
|
|
8536
|
+
"Samaritan",
|
|
8537
|
+
"Felon",
|
|
8538
|
+
"Socialite",
|
|
8539
|
+
"Mercenary",
|
|
8540
|
+
"Investor",
|
|
8541
|
+
"Thief",
|
|
8542
|
+
"One Hit Killer",
|
|
8543
|
+
"Mobster",
|
|
8544
|
+
"Addict",
|
|
8545
|
+
"Bonds Agent",
|
|
8546
|
+
"Buster",
|
|
8547
|
+
"Hoarder",
|
|
8548
|
+
"Racer",
|
|
8549
|
+
"Soldier",
|
|
8550
|
+
"Avenger",
|
|
8551
|
+
"Healer",
|
|
8552
|
+
"Booster",
|
|
8553
|
+
"Intimidator",
|
|
8554
|
+
"Trader",
|
|
8555
|
+
"Jobsworth",
|
|
8556
|
+
"Tourist",
|
|
8557
|
+
"Nudist",
|
|
8558
|
+
"Sage",
|
|
8559
|
+
"Coward"
|
|
8560
|
+
]
|
|
8561
|
+
},
|
|
8562
|
+
"UserRankEnum": {
|
|
8563
|
+
"type": "string",
|
|
8564
|
+
"enum": [
|
|
8565
|
+
"Absolute beginner",
|
|
8566
|
+
"Beginner",
|
|
8567
|
+
"Inexperienced",
|
|
8568
|
+
"Rookie",
|
|
8569
|
+
"Novice",
|
|
8570
|
+
"Below average",
|
|
8571
|
+
"Average",
|
|
8572
|
+
"Reasonable",
|
|
8573
|
+
"Above average",
|
|
8574
|
+
"Competent",
|
|
8575
|
+
"Highly competent",
|
|
8576
|
+
"Veteran",
|
|
8577
|
+
"Distinguished",
|
|
8578
|
+
"Highly distinguished",
|
|
8579
|
+
"Professional",
|
|
8580
|
+
"Star",
|
|
8581
|
+
"Master",
|
|
8582
|
+
"Outstanding",
|
|
8583
|
+
"Celebrity",
|
|
8584
|
+
"Supreme",
|
|
8585
|
+
"Idolized",
|
|
8586
|
+
"Champion",
|
|
8587
|
+
"Heroic",
|
|
8588
|
+
"Legendary",
|
|
8589
|
+
"Elite",
|
|
8590
|
+
"Invincible"
|
|
8591
|
+
]
|
|
8592
|
+
},
|
|
8593
|
+
"UserRpsStatus": {
|
|
8594
|
+
"type": "string",
|
|
8595
|
+
"enum": [
|
|
8596
|
+
"scissors",
|
|
8597
|
+
"rock",
|
|
8598
|
+
"paper"
|
|
8599
|
+
]
|
|
8600
|
+
},
|
|
7990
8601
|
"UserSkillSlugEnum": {
|
|
7991
8602
|
"type": "string",
|
|
7992
8603
|
"enum": [
|
|
@@ -12769,6 +13380,10 @@
|
|
|
12769
13380
|
"type": "integer",
|
|
12770
13381
|
"format": "int32"
|
|
12771
13382
|
},
|
|
13383
|
+
"UserIconId": {
|
|
13384
|
+
"type": "integer",
|
|
13385
|
+
"format": "int32"
|
|
13386
|
+
},
|
|
12772
13387
|
"ReviveId": {
|
|
12773
13388
|
"type": "integer",
|
|
12774
13389
|
"format": "int32"
|
|
@@ -14210,91 +14825,611 @@
|
|
|
14210
14825
|
},
|
|
14211
14826
|
"type": "object"
|
|
14212
14827
|
},
|
|
14213
|
-
"ReportReport": {
|
|
14828
|
+
"ReportReport": {
|
|
14829
|
+
"required": [
|
|
14830
|
+
"report"
|
|
14831
|
+
],
|
|
14832
|
+
"properties": {
|
|
14833
|
+
"report": {
|
|
14834
|
+
"oneOf": [
|
|
14835
|
+
{
|
|
14836
|
+
"$ref": "#/components/schemas/ReportMoney"
|
|
14837
|
+
},
|
|
14838
|
+
{
|
|
14839
|
+
"$ref": "#/components/schemas/ReportStats"
|
|
14840
|
+
},
|
|
14841
|
+
{
|
|
14842
|
+
"$ref": "#/components/schemas/ReportMostWanted"
|
|
14843
|
+
},
|
|
14844
|
+
{
|
|
14845
|
+
"$ref": "#/components/schemas/ReportHistory"
|
|
14846
|
+
},
|
|
14847
|
+
{
|
|
14848
|
+
"$ref": "#/components/schemas/ReportFriendOrFoe"
|
|
14849
|
+
},
|
|
14850
|
+
{
|
|
14851
|
+
"$ref": "#/components/schemas/ReportCompanyFinancials"
|
|
14852
|
+
},
|
|
14853
|
+
{
|
|
14854
|
+
"$ref": "#/components/schemas/ReportTrueLevel"
|
|
14855
|
+
},
|
|
14856
|
+
{
|
|
14857
|
+
"$ref": "#/components/schemas/ReportStockAnalysis"
|
|
14858
|
+
},
|
|
14859
|
+
{
|
|
14860
|
+
"$ref": "#/components/schemas/ReportAnonymousBounties"
|
|
14861
|
+
},
|
|
14862
|
+
{
|
|
14863
|
+
"$ref": "#/components/schemas/ReportInvestment"
|
|
14864
|
+
}
|
|
14865
|
+
]
|
|
14866
|
+
}
|
|
14867
|
+
},
|
|
14868
|
+
"type": "object"
|
|
14869
|
+
},
|
|
14870
|
+
"Report": {
|
|
14871
|
+
"allOf": [
|
|
14872
|
+
{
|
|
14873
|
+
"$ref": "#/components/schemas/ReportBase"
|
|
14874
|
+
},
|
|
14875
|
+
{
|
|
14876
|
+
"$ref": "#/components/schemas/ReportReport"
|
|
14877
|
+
}
|
|
14878
|
+
]
|
|
14879
|
+
},
|
|
14880
|
+
"ReportsResponse": {
|
|
14881
|
+
"required": [
|
|
14882
|
+
"reports",
|
|
14883
|
+
"_metadata"
|
|
14884
|
+
],
|
|
14885
|
+
"properties": {
|
|
14886
|
+
"reports": {
|
|
14887
|
+
"type": "array",
|
|
14888
|
+
"items": {
|
|
14889
|
+
"$ref": "#/components/schemas/Report"
|
|
14890
|
+
}
|
|
14891
|
+
},
|
|
14892
|
+
"_metadata": {
|
|
14893
|
+
"$ref": "#/components/schemas/RequestMetadataWithLinks"
|
|
14894
|
+
}
|
|
14895
|
+
},
|
|
14896
|
+
"type": "object"
|
|
14897
|
+
},
|
|
14898
|
+
"SelectionCategoryEnum": {
|
|
14899
|
+
"oneOf": [
|
|
14900
|
+
{
|
|
14901
|
+
"$ref": "#/components/schemas/ReportTypeEnum"
|
|
14902
|
+
},
|
|
14903
|
+
{
|
|
14904
|
+
"$ref": "#/components/schemas/UserListEnum"
|
|
14905
|
+
},
|
|
14906
|
+
{
|
|
14907
|
+
"$ref": "#/components/schemas/PersonalStatsCategoryEnum"
|
|
14908
|
+
},
|
|
14909
|
+
{
|
|
14910
|
+
"$ref": "#/components/schemas/RacingRaceTypeEnum"
|
|
14911
|
+
}
|
|
14912
|
+
]
|
|
14913
|
+
},
|
|
14914
|
+
"UserIconPublic": {
|
|
14915
|
+
"required": [
|
|
14916
|
+
"id",
|
|
14917
|
+
"title",
|
|
14918
|
+
"description"
|
|
14919
|
+
],
|
|
14920
|
+
"properties": {
|
|
14921
|
+
"id": {
|
|
14922
|
+
"$ref": "#/components/schemas/UserIconId"
|
|
14923
|
+
},
|
|
14924
|
+
"title": {
|
|
14925
|
+
"type": "string"
|
|
14926
|
+
},
|
|
14927
|
+
"description": {
|
|
14928
|
+
"type": "string"
|
|
14929
|
+
}
|
|
14930
|
+
},
|
|
14931
|
+
"type": "object"
|
|
14932
|
+
},
|
|
14933
|
+
"UserIconPrivate": {
|
|
14934
|
+
"allOf": [
|
|
14935
|
+
{
|
|
14936
|
+
"$ref": "#/components/schemas/UserIconPublic"
|
|
14937
|
+
},
|
|
14938
|
+
{
|
|
14939
|
+
"required": [
|
|
14940
|
+
"until"
|
|
14941
|
+
],
|
|
14942
|
+
"properties": {
|
|
14943
|
+
"until": {
|
|
14944
|
+
"oneOf": [
|
|
14945
|
+
{
|
|
14946
|
+
"type": "integer",
|
|
14947
|
+
"format": "int32"
|
|
14948
|
+
},
|
|
14949
|
+
{
|
|
14950
|
+
"type": "null"
|
|
14951
|
+
}
|
|
14952
|
+
]
|
|
14953
|
+
}
|
|
14954
|
+
},
|
|
14955
|
+
"type": "object"
|
|
14956
|
+
}
|
|
14957
|
+
]
|
|
14958
|
+
},
|
|
14959
|
+
"UserIconsResponse": {
|
|
14960
|
+
"required": [
|
|
14961
|
+
"icons"
|
|
14962
|
+
],
|
|
14963
|
+
"properties": {
|
|
14964
|
+
"icons": {
|
|
14965
|
+
"oneOf": [
|
|
14966
|
+
{
|
|
14967
|
+
"type": "array",
|
|
14968
|
+
"items": {
|
|
14969
|
+
"$ref": "#/components/schemas/UserIconPrivate"
|
|
14970
|
+
}
|
|
14971
|
+
},
|
|
14972
|
+
{
|
|
14973
|
+
"type": "array",
|
|
14974
|
+
"items": {
|
|
14975
|
+
"$ref": "#/components/schemas/UserIconPublic"
|
|
14976
|
+
}
|
|
14977
|
+
}
|
|
14978
|
+
]
|
|
14979
|
+
}
|
|
14980
|
+
},
|
|
14981
|
+
"type": "object"
|
|
14982
|
+
},
|
|
14983
|
+
"UserCompetitionHalloween": {
|
|
14984
|
+
"required": [
|
|
14985
|
+
"name",
|
|
14986
|
+
"treats_collected",
|
|
14987
|
+
"basket"
|
|
14988
|
+
],
|
|
14989
|
+
"properties": {
|
|
14990
|
+
"name": {
|
|
14991
|
+
"type": "string",
|
|
14992
|
+
"enum": [
|
|
14993
|
+
"Halloween"
|
|
14994
|
+
]
|
|
14995
|
+
},
|
|
14996
|
+
"treats_collected": {
|
|
14997
|
+
"type": "integer",
|
|
14998
|
+
"format": "int32"
|
|
14999
|
+
},
|
|
15000
|
+
"basket": {
|
|
15001
|
+
"required": [
|
|
15002
|
+
"id",
|
|
15003
|
+
"name"
|
|
15004
|
+
],
|
|
15005
|
+
"properties": {
|
|
15006
|
+
"id": {
|
|
15007
|
+
"$ref": "#/components/schemas/ItemId"
|
|
15008
|
+
},
|
|
15009
|
+
"name": {
|
|
15010
|
+
"type": "string"
|
|
15011
|
+
}
|
|
15012
|
+
},
|
|
15013
|
+
"type": "object"
|
|
15014
|
+
}
|
|
15015
|
+
},
|
|
15016
|
+
"type": "object"
|
|
15017
|
+
},
|
|
15018
|
+
"UserCompetitionEasterEggs": {
|
|
15019
|
+
"required": [
|
|
15020
|
+
"name",
|
|
15021
|
+
"score",
|
|
15022
|
+
"total"
|
|
15023
|
+
],
|
|
15024
|
+
"properties": {
|
|
15025
|
+
"name": {
|
|
15026
|
+
"type": "string",
|
|
15027
|
+
"enum": [
|
|
15028
|
+
"Easter Egg Hunt"
|
|
15029
|
+
]
|
|
15030
|
+
},
|
|
15031
|
+
"score": {
|
|
15032
|
+
"type": "integer",
|
|
15033
|
+
"format": "int32"
|
|
15034
|
+
},
|
|
15035
|
+
"total": {
|
|
15036
|
+
"type": "integer",
|
|
15037
|
+
"format": "int32"
|
|
15038
|
+
}
|
|
15039
|
+
},
|
|
15040
|
+
"type": "object"
|
|
15041
|
+
},
|
|
15042
|
+
"UserCompetitionRps": {
|
|
15043
|
+
"required": [
|
|
15044
|
+
"name",
|
|
15045
|
+
"status",
|
|
15046
|
+
"hp"
|
|
15047
|
+
],
|
|
15048
|
+
"properties": {
|
|
15049
|
+
"name": {
|
|
15050
|
+
"type": "string",
|
|
15051
|
+
"enum": [
|
|
15052
|
+
"Rock, Paper, Scissors"
|
|
15053
|
+
]
|
|
15054
|
+
},
|
|
15055
|
+
"status": {
|
|
15056
|
+
"$ref": "#/components/schemas/UserRpsStatus"
|
|
15057
|
+
},
|
|
15058
|
+
"hp": {
|
|
15059
|
+
"required": [
|
|
15060
|
+
"current",
|
|
15061
|
+
"maximum"
|
|
15062
|
+
],
|
|
15063
|
+
"properties": {
|
|
15064
|
+
"current": {
|
|
15065
|
+
"type": "integer",
|
|
15066
|
+
"format": "int32"
|
|
15067
|
+
},
|
|
15068
|
+
"maximum": {
|
|
15069
|
+
"type": "integer",
|
|
15070
|
+
"format": "int32"
|
|
15071
|
+
}
|
|
15072
|
+
},
|
|
15073
|
+
"type": "object"
|
|
15074
|
+
}
|
|
15075
|
+
},
|
|
15076
|
+
"type": "object"
|
|
15077
|
+
},
|
|
15078
|
+
"UserCompetitionResponse": {
|
|
15079
|
+
"required": [
|
|
15080
|
+
"competition"
|
|
15081
|
+
],
|
|
15082
|
+
"properties": {
|
|
15083
|
+
"competition": {
|
|
15084
|
+
"oneOf": [
|
|
15085
|
+
{
|
|
15086
|
+
"$ref": "#/components/schemas/UserCompetitionHalloween"
|
|
15087
|
+
},
|
|
15088
|
+
{
|
|
15089
|
+
"$ref": "#/components/schemas/UserCompetitionEasterEggs"
|
|
15090
|
+
},
|
|
15091
|
+
{
|
|
15092
|
+
"$ref": "#/components/schemas/UserCompetitionRps"
|
|
15093
|
+
}
|
|
15094
|
+
]
|
|
15095
|
+
}
|
|
15096
|
+
},
|
|
15097
|
+
"type": "object"
|
|
15098
|
+
},
|
|
15099
|
+
"UserFaction": {
|
|
15100
|
+
"required": [
|
|
15101
|
+
"id",
|
|
15102
|
+
"name",
|
|
15103
|
+
"tag",
|
|
15104
|
+
"tag_image",
|
|
15105
|
+
"position",
|
|
15106
|
+
"days_in_faction"
|
|
15107
|
+
],
|
|
15108
|
+
"properties": {
|
|
15109
|
+
"id": {
|
|
15110
|
+
"$ref": "#/components/schemas/FactionId"
|
|
15111
|
+
},
|
|
15112
|
+
"name": {
|
|
15113
|
+
"type": "string"
|
|
15114
|
+
},
|
|
15115
|
+
"tag": {
|
|
15116
|
+
"type": "string"
|
|
15117
|
+
},
|
|
15118
|
+
"tag_image": {
|
|
15119
|
+
"type": "string"
|
|
15120
|
+
},
|
|
15121
|
+
"position": {
|
|
15122
|
+
"type": "string"
|
|
15123
|
+
},
|
|
15124
|
+
"days_in_faction": {
|
|
15125
|
+
"type": "integer",
|
|
15126
|
+
"format": "int32"
|
|
15127
|
+
}
|
|
15128
|
+
},
|
|
15129
|
+
"type": "object"
|
|
15130
|
+
},
|
|
15131
|
+
"UserFactionResponse": {
|
|
14214
15132
|
"required": [
|
|
14215
|
-
"
|
|
15133
|
+
"faction"
|
|
14216
15134
|
],
|
|
14217
15135
|
"properties": {
|
|
14218
|
-
"
|
|
15136
|
+
"faction": {
|
|
14219
15137
|
"oneOf": [
|
|
14220
15138
|
{
|
|
14221
|
-
"$ref": "#/components/schemas/
|
|
14222
|
-
},
|
|
14223
|
-
{
|
|
14224
|
-
"$ref": "#/components/schemas/ReportStats"
|
|
14225
|
-
},
|
|
14226
|
-
{
|
|
14227
|
-
"$ref": "#/components/schemas/ReportMostWanted"
|
|
15139
|
+
"$ref": "#/components/schemas/UserFaction"
|
|
14228
15140
|
},
|
|
14229
15141
|
{
|
|
14230
|
-
"
|
|
14231
|
-
}
|
|
15142
|
+
"type": "null"
|
|
15143
|
+
}
|
|
15144
|
+
]
|
|
15145
|
+
}
|
|
15146
|
+
},
|
|
15147
|
+
"type": "object"
|
|
15148
|
+
},
|
|
15149
|
+
"UserJob": {
|
|
15150
|
+
"required": [
|
|
15151
|
+
"type",
|
|
15152
|
+
"name",
|
|
15153
|
+
"position"
|
|
15154
|
+
],
|
|
15155
|
+
"properties": {
|
|
15156
|
+
"type": {
|
|
15157
|
+
"type": "string",
|
|
15158
|
+
"enum": [
|
|
15159
|
+
"job"
|
|
15160
|
+
]
|
|
15161
|
+
},
|
|
15162
|
+
"name": {
|
|
15163
|
+
"$ref": "#/components/schemas/JobTypeEnum"
|
|
15164
|
+
},
|
|
15165
|
+
"position": {
|
|
15166
|
+
"description": "Position enum corresponds to the name enum.",
|
|
15167
|
+
"oneOf": [
|
|
14232
15168
|
{
|
|
14233
|
-
"$ref": "#/components/schemas/
|
|
15169
|
+
"$ref": "#/components/schemas/JobPositionArmyEnum"
|
|
14234
15170
|
},
|
|
14235
15171
|
{
|
|
14236
|
-
"$ref": "#/components/schemas/
|
|
15172
|
+
"$ref": "#/components/schemas/JobPositionGrocerEnum"
|
|
14237
15173
|
},
|
|
14238
15174
|
{
|
|
14239
|
-
"$ref": "#/components/schemas/
|
|
15175
|
+
"$ref": "#/components/schemas/JobPositionCasinoEnum"
|
|
14240
15176
|
},
|
|
14241
15177
|
{
|
|
14242
|
-
"$ref": "#/components/schemas/
|
|
15178
|
+
"$ref": "#/components/schemas/JobPositionMedicalEnum"
|
|
14243
15179
|
},
|
|
14244
15180
|
{
|
|
14245
|
-
"$ref": "#/components/schemas/
|
|
15181
|
+
"$ref": "#/components/schemas/JobPositionLawEnum"
|
|
14246
15182
|
},
|
|
14247
15183
|
{
|
|
14248
|
-
"$ref": "#/components/schemas/
|
|
15184
|
+
"$ref": "#/components/schemas/JobPositionEducationEnum"
|
|
14249
15185
|
}
|
|
14250
15186
|
]
|
|
14251
15187
|
}
|
|
14252
15188
|
},
|
|
14253
15189
|
"type": "object"
|
|
14254
15190
|
},
|
|
14255
|
-
"
|
|
14256
|
-
"
|
|
14257
|
-
|
|
14258
|
-
|
|
15191
|
+
"UserCompany": {
|
|
15192
|
+
"required": [
|
|
15193
|
+
"type",
|
|
15194
|
+
"id",
|
|
15195
|
+
"type_id",
|
|
15196
|
+
"name",
|
|
15197
|
+
"position",
|
|
15198
|
+
"days_in_company"
|
|
15199
|
+
],
|
|
15200
|
+
"properties": {
|
|
15201
|
+
"type": {
|
|
15202
|
+
"type": "string",
|
|
15203
|
+
"enum": [
|
|
15204
|
+
"company"
|
|
15205
|
+
]
|
|
14259
15206
|
},
|
|
14260
|
-
{
|
|
14261
|
-
"$ref": "#/components/schemas/
|
|
15207
|
+
"id": {
|
|
15208
|
+
"$ref": "#/components/schemas/CompanyId"
|
|
15209
|
+
},
|
|
15210
|
+
"type_id": {
|
|
15211
|
+
"$ref": "#/components/schemas/CompanyTypeId"
|
|
15212
|
+
},
|
|
15213
|
+
"name": {
|
|
15214
|
+
"type": "string"
|
|
15215
|
+
},
|
|
15216
|
+
"position": {
|
|
15217
|
+
"type": "string"
|
|
15218
|
+
},
|
|
15219
|
+
"days_in_company": {
|
|
15220
|
+
"type": "integer",
|
|
15221
|
+
"format": "int32"
|
|
14262
15222
|
}
|
|
14263
|
-
|
|
15223
|
+
},
|
|
15224
|
+
"type": "object"
|
|
14264
15225
|
},
|
|
14265
|
-
"
|
|
15226
|
+
"UserJobResponse": {
|
|
14266
15227
|
"required": [
|
|
14267
|
-
"
|
|
14268
|
-
"_metadata"
|
|
15228
|
+
"job"
|
|
14269
15229
|
],
|
|
14270
15230
|
"properties": {
|
|
14271
|
-
"
|
|
14272
|
-
"
|
|
14273
|
-
|
|
14274
|
-
|
|
14275
|
-
|
|
14276
|
-
|
|
14277
|
-
|
|
14278
|
-
|
|
15231
|
+
"job": {
|
|
15232
|
+
"oneOf": [
|
|
15233
|
+
{
|
|
15234
|
+
"$ref": "#/components/schemas/UserJob"
|
|
15235
|
+
},
|
|
15236
|
+
{
|
|
15237
|
+
"$ref": "#/components/schemas/UserCompany"
|
|
15238
|
+
},
|
|
15239
|
+
{
|
|
15240
|
+
"type": "null"
|
|
15241
|
+
}
|
|
15242
|
+
]
|
|
14279
15243
|
}
|
|
14280
15244
|
},
|
|
14281
15245
|
"type": "object"
|
|
14282
15246
|
},
|
|
14283
|
-
"
|
|
14284
|
-
"
|
|
14285
|
-
|
|
14286
|
-
|
|
15247
|
+
"ProfileSpouse": {
|
|
15248
|
+
"required": [
|
|
15249
|
+
"id",
|
|
15250
|
+
"name",
|
|
15251
|
+
"status",
|
|
15252
|
+
"days_married"
|
|
15253
|
+
],
|
|
15254
|
+
"properties": {
|
|
15255
|
+
"id": {
|
|
15256
|
+
"$ref": "#/components/schemas/UserId"
|
|
14287
15257
|
},
|
|
14288
|
-
{
|
|
14289
|
-
"
|
|
15258
|
+
"name": {
|
|
15259
|
+
"type": "string"
|
|
14290
15260
|
},
|
|
14291
|
-
{
|
|
14292
|
-
"$ref": "#/components/schemas/
|
|
15261
|
+
"status": {
|
|
15262
|
+
"$ref": "#/components/schemas/UserMaritalStatusEnum"
|
|
14293
15263
|
},
|
|
14294
|
-
{
|
|
14295
|
-
"
|
|
15264
|
+
"days_married": {
|
|
15265
|
+
"type": "integer",
|
|
15266
|
+
"format": "int32"
|
|
14296
15267
|
}
|
|
14297
|
-
|
|
15268
|
+
},
|
|
15269
|
+
"type": "object"
|
|
15270
|
+
},
|
|
15271
|
+
"UserProfileResponse": {
|
|
15272
|
+
"required": [
|
|
15273
|
+
"profile"
|
|
15274
|
+
],
|
|
15275
|
+
"properties": {
|
|
15276
|
+
"profile": {
|
|
15277
|
+
"required": [
|
|
15278
|
+
"id",
|
|
15279
|
+
"name",
|
|
15280
|
+
"level",
|
|
15281
|
+
"rank",
|
|
15282
|
+
"title",
|
|
15283
|
+
"age",
|
|
15284
|
+
"signed_up",
|
|
15285
|
+
"faction_id",
|
|
15286
|
+
"honor_id",
|
|
15287
|
+
"property",
|
|
15288
|
+
"image",
|
|
15289
|
+
"gender",
|
|
15290
|
+
"revivable",
|
|
15291
|
+
"role",
|
|
15292
|
+
"status",
|
|
15293
|
+
"spouse",
|
|
15294
|
+
"awards",
|
|
15295
|
+
"friends",
|
|
15296
|
+
"enemies",
|
|
15297
|
+
"forum_posts",
|
|
15298
|
+
"karma",
|
|
15299
|
+
"last_action",
|
|
15300
|
+
"life"
|
|
15301
|
+
],
|
|
15302
|
+
"properties": {
|
|
15303
|
+
"id": {
|
|
15304
|
+
"$ref": "#/components/schemas/UserId"
|
|
15305
|
+
},
|
|
15306
|
+
"name": {
|
|
15307
|
+
"type": "string"
|
|
15308
|
+
},
|
|
15309
|
+
"level": {
|
|
15310
|
+
"type": "integer",
|
|
15311
|
+
"format": "int32"
|
|
15312
|
+
},
|
|
15313
|
+
"rank": {
|
|
15314
|
+
"$ref": "#/components/schemas/UserRankEnum"
|
|
15315
|
+
},
|
|
15316
|
+
"title": {
|
|
15317
|
+
"$ref": "#/components/schemas/UserTitleEnum"
|
|
15318
|
+
},
|
|
15319
|
+
"age": {
|
|
15320
|
+
"description": "Age in days.",
|
|
15321
|
+
"type": "integer",
|
|
15322
|
+
"format": "int32"
|
|
15323
|
+
},
|
|
15324
|
+
"signed_up": {
|
|
15325
|
+
"type": "integer",
|
|
15326
|
+
"format": "int32"
|
|
15327
|
+
},
|
|
15328
|
+
"faction_id": {
|
|
15329
|
+
"oneOf": [
|
|
15330
|
+
{
|
|
15331
|
+
"$ref": "#/components/schemas/FactionId"
|
|
15332
|
+
},
|
|
15333
|
+
{
|
|
15334
|
+
"type": "null"
|
|
15335
|
+
}
|
|
15336
|
+
]
|
|
15337
|
+
},
|
|
15338
|
+
"honor_id": {
|
|
15339
|
+
"$ref": "#/components/schemas/HonorId"
|
|
15340
|
+
},
|
|
15341
|
+
"property": {
|
|
15342
|
+
"required": [
|
|
15343
|
+
"id",
|
|
15344
|
+
"name"
|
|
15345
|
+
],
|
|
15346
|
+
"properties": {
|
|
15347
|
+
"id": {
|
|
15348
|
+
"$ref": "#/components/schemas/PropertyId"
|
|
15349
|
+
},
|
|
15350
|
+
"name": {
|
|
15351
|
+
"type": "string"
|
|
15352
|
+
}
|
|
15353
|
+
},
|
|
15354
|
+
"type": "object"
|
|
15355
|
+
},
|
|
15356
|
+
"image": {
|
|
15357
|
+
"oneOf": [
|
|
15358
|
+
{
|
|
15359
|
+
"type": "string"
|
|
15360
|
+
},
|
|
15361
|
+
{
|
|
15362
|
+
"type": "null"
|
|
15363
|
+
}
|
|
15364
|
+
]
|
|
15365
|
+
},
|
|
15366
|
+
"gender": {
|
|
15367
|
+
"$ref": "#/components/schemas/UserGenderEnum"
|
|
15368
|
+
},
|
|
15369
|
+
"revivable": {
|
|
15370
|
+
"type": "boolean"
|
|
15371
|
+
},
|
|
15372
|
+
"role": {
|
|
15373
|
+
"$ref": "#/components/schemas/UserRoleEnum"
|
|
15374
|
+
},
|
|
15375
|
+
"status": {
|
|
15376
|
+
"$ref": "#/components/schemas/UserStatus"
|
|
15377
|
+
},
|
|
15378
|
+
"spouse": {
|
|
15379
|
+
"oneOf": [
|
|
15380
|
+
{
|
|
15381
|
+
"$ref": "#/components/schemas/ProfileSpouse"
|
|
15382
|
+
},
|
|
15383
|
+
{
|
|
15384
|
+
"type": "null"
|
|
15385
|
+
}
|
|
15386
|
+
]
|
|
15387
|
+
},
|
|
15388
|
+
"awards": {
|
|
15389
|
+
"type": "integer",
|
|
15390
|
+
"format": "int32"
|
|
15391
|
+
},
|
|
15392
|
+
"friends": {
|
|
15393
|
+
"type": "integer",
|
|
15394
|
+
"format": "int32"
|
|
15395
|
+
},
|
|
15396
|
+
"enemies": {
|
|
15397
|
+
"type": "integer",
|
|
15398
|
+
"format": "int32"
|
|
15399
|
+
},
|
|
15400
|
+
"forum_posts": {
|
|
15401
|
+
"type": "integer",
|
|
15402
|
+
"format": "int32"
|
|
15403
|
+
},
|
|
15404
|
+
"karma": {
|
|
15405
|
+
"type": "integer",
|
|
15406
|
+
"format": "int32"
|
|
15407
|
+
},
|
|
15408
|
+
"last_action": {
|
|
15409
|
+
"$ref": "#/components/schemas/UserLastAction"
|
|
15410
|
+
},
|
|
15411
|
+
"life": {
|
|
15412
|
+
"required": [
|
|
15413
|
+
"current",
|
|
15414
|
+
"maximum"
|
|
15415
|
+
],
|
|
15416
|
+
"properties": {
|
|
15417
|
+
"current": {
|
|
15418
|
+
"type": "integer",
|
|
15419
|
+
"format": "int32"
|
|
15420
|
+
},
|
|
15421
|
+
"maximum": {
|
|
15422
|
+
"type": "integer",
|
|
15423
|
+
"format": "int32"
|
|
15424
|
+
}
|
|
15425
|
+
},
|
|
15426
|
+
"type": "object"
|
|
15427
|
+
}
|
|
15428
|
+
},
|
|
15429
|
+
"type": "object"
|
|
15430
|
+
}
|
|
15431
|
+
},
|
|
15432
|
+
"type": "object"
|
|
14298
15433
|
},
|
|
14299
15434
|
"UserMoneyResponse": {
|
|
14300
15435
|
"required": [
|
|
@@ -16504,7 +17639,7 @@
|
|
|
16504
17639
|
"UserSelectionName": {
|
|
16505
17640
|
"oneOf": [
|
|
16506
17641
|
{
|
|
16507
|
-
"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','
|
|
17642
|
+
"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'.",
|
|
16508
17643
|
"type": "string",
|
|
16509
17644
|
"enum": [
|
|
16510
17645
|
"attacks",
|
|
@@ -16513,8 +17648,10 @@
|
|
|
16513
17648
|
"battlestats",
|
|
16514
17649
|
"bounties",
|
|
16515
17650
|
"calendar",
|
|
17651
|
+
"competition",
|
|
16516
17652
|
"crimes",
|
|
16517
17653
|
"enlistedcars",
|
|
17654
|
+
"faction",
|
|
16518
17655
|
"factionbalance",
|
|
16519
17656
|
"forumfeed",
|
|
16520
17657
|
"forumfriends",
|
|
@@ -16523,7 +17660,9 @@
|
|
|
16523
17660
|
"forumthreads",
|
|
16524
17661
|
"hof",
|
|
16525
17662
|
"honors",
|
|
17663
|
+
"icons",
|
|
16526
17664
|
"itemmarket",
|
|
17665
|
+
"job",
|
|
16527
17666
|
"jobpoints",
|
|
16528
17667
|
"jobranks",
|
|
16529
17668
|
"list",
|
|
@@ -16534,6 +17673,7 @@
|
|
|
16534
17673
|
"money",
|
|
16535
17674
|
"organizedcrime",
|
|
16536
17675
|
"personalstats",
|
|
17676
|
+
"profile",
|
|
16537
17677
|
"properties",
|
|
16538
17678
|
"property",
|
|
16539
17679
|
"races",
|
|
@@ -16555,7 +17695,6 @@
|
|
|
16555
17695
|
"equipment",
|
|
16556
17696
|
"events",
|
|
16557
17697
|
"gym",
|
|
16558
|
-
"icons",
|
|
16559
17698
|
"inventory",
|
|
16560
17699
|
"messages",
|
|
16561
17700
|
"missions",
|
|
@@ -16564,7 +17703,6 @@
|
|
|
16564
17703
|
"newmessages",
|
|
16565
17704
|
"notifications",
|
|
16566
17705
|
"perks",
|
|
16567
|
-
"profile",
|
|
16568
17706
|
"refills",
|
|
16569
17707
|
"stocks",
|
|
16570
17708
|
"travel",
|
|
@@ -21060,6 +22198,10 @@
|
|
|
21060
22198
|
"type": "null"
|
|
21061
22199
|
}
|
|
21062
22200
|
]
|
|
22201
|
+
},
|
|
22202
|
+
"travel_type": {
|
|
22203
|
+
"description": "This field is populated only if the state is 'Traveling'.",
|
|
22204
|
+
"type": "string"
|
|
21063
22205
|
}
|
|
21064
22206
|
},
|
|
21065
22207
|
"type": "object"
|
|
@@ -25815,7 +26957,7 @@
|
|
|
25815
26957
|
"format": "int32"
|
|
25816
26958
|
},
|
|
25817
26959
|
"rank_name": {
|
|
25818
|
-
"
|
|
26960
|
+
"$ref": "#/components/schemas/UserRankEnum"
|
|
25819
26961
|
},
|
|
25820
26962
|
"rank_number": {
|
|
25821
26963
|
"type": "integer",
|