tornapi-typescript 0.2.5 → 0.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +53 -185
- package/dist/openapi.json +654 -280
- package/package.json +3 -3
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": "1.
|
|
6
|
+
"version": "1.8.3"
|
|
7
7
|
},
|
|
8
8
|
"servers": [
|
|
9
9
|
{
|
|
@@ -1188,12 +1188,7 @@
|
|
|
1188
1188
|
"description": "Category of races returned",
|
|
1189
1189
|
"required": false,
|
|
1190
1190
|
"schema": {
|
|
1191
|
-
"
|
|
1192
|
-
"default": "custom",
|
|
1193
|
-
"enum": [
|
|
1194
|
-
"official",
|
|
1195
|
-
"custom"
|
|
1196
|
-
]
|
|
1191
|
+
"$ref": "#/components/schemas/RacingRaceTypeEnum"
|
|
1197
1192
|
}
|
|
1198
1193
|
},
|
|
1199
1194
|
{
|
|
@@ -1504,7 +1499,17 @@
|
|
|
1504
1499
|
"description": "selection id",
|
|
1505
1500
|
"required": false,
|
|
1506
1501
|
"schema": {
|
|
1507
|
-
"
|
|
1502
|
+
"oneOf": [
|
|
1503
|
+
{
|
|
1504
|
+
"$ref": "#/components/schemas/UserId"
|
|
1505
|
+
},
|
|
1506
|
+
{
|
|
1507
|
+
"$ref": "#/components/schemas/TornCrimeId"
|
|
1508
|
+
},
|
|
1509
|
+
{
|
|
1510
|
+
"type": "string"
|
|
1511
|
+
}
|
|
1512
|
+
]
|
|
1508
1513
|
}
|
|
1509
1514
|
},
|
|
1510
1515
|
{
|
|
@@ -1522,10 +1527,23 @@
|
|
|
1522
1527
|
{
|
|
1523
1528
|
"name": "cat",
|
|
1524
1529
|
"in": "query",
|
|
1525
|
-
"description": "Selection category",
|
|
1530
|
+
"description": "Selection category. Can belong to one of the specified types.",
|
|
1526
1531
|
"required": false,
|
|
1527
1532
|
"schema": {
|
|
1528
|
-
"
|
|
1533
|
+
"oneOf": [
|
|
1534
|
+
{
|
|
1535
|
+
"$ref": "#/components/schemas/ReportTypeEnum"
|
|
1536
|
+
},
|
|
1537
|
+
{
|
|
1538
|
+
"$ref": "#/components/schemas/UserListEnum"
|
|
1539
|
+
},
|
|
1540
|
+
{
|
|
1541
|
+
"$ref": "#/components/schemas/PersonalStatsCategoryEnum"
|
|
1542
|
+
},
|
|
1543
|
+
{
|
|
1544
|
+
"$ref": "#/components/schemas/RacingRaceTypeEnum"
|
|
1545
|
+
}
|
|
1546
|
+
]
|
|
1529
1547
|
}
|
|
1530
1548
|
},
|
|
1531
1549
|
{
|
|
@@ -1533,8 +1551,13 @@
|
|
|
1533
1551
|
"in": "query",
|
|
1534
1552
|
"description": "Selection stat",
|
|
1535
1553
|
"required": false,
|
|
1554
|
+
"style": "form",
|
|
1555
|
+
"explode": false,
|
|
1536
1556
|
"schema": {
|
|
1537
|
-
"type": "
|
|
1557
|
+
"type": "array",
|
|
1558
|
+
"items": {
|
|
1559
|
+
"$ref": "#/components/schemas/PersonalStatsStatName"
|
|
1560
|
+
}
|
|
1538
1561
|
}
|
|
1539
1562
|
},
|
|
1540
1563
|
{
|
|
@@ -3021,6 +3044,57 @@
|
|
|
3021
3044
|
"x-stability": "Stable"
|
|
3022
3045
|
}
|
|
3023
3046
|
},
|
|
3047
|
+
"/faction/search": {
|
|
3048
|
+
"get": {
|
|
3049
|
+
"tags": [
|
|
3050
|
+
"Faction"
|
|
3051
|
+
],
|
|
3052
|
+
"summary": "Search factions by name or other criteria",
|
|
3053
|
+
"description": "Requires public access key. <br>This selection is standalone and cannot be used together with other selections.",
|
|
3054
|
+
"operationId": "01c192f9b41ce29372df54667bea2b43",
|
|
3055
|
+
"parameters": [
|
|
3056
|
+
{
|
|
3057
|
+
"$ref": "#/components/parameters/ApiName"
|
|
3058
|
+
},
|
|
3059
|
+
{
|
|
3060
|
+
"$ref": "#/components/parameters/ApiFactionSearchFilter"
|
|
3061
|
+
},
|
|
3062
|
+
{
|
|
3063
|
+
"$ref": "#/components/parameters/ApiLimit20"
|
|
3064
|
+
},
|
|
3065
|
+
{
|
|
3066
|
+
"$ref": "#/components/parameters/ApiOffset"
|
|
3067
|
+
},
|
|
3068
|
+
{
|
|
3069
|
+
"$ref": "#/components/parameters/ApiTimestamp"
|
|
3070
|
+
},
|
|
3071
|
+
{
|
|
3072
|
+
"$ref": "#/components/parameters/ApiComment"
|
|
3073
|
+
},
|
|
3074
|
+
{
|
|
3075
|
+
"$ref": "#/components/parameters/ApiKeyPublic"
|
|
3076
|
+
}
|
|
3077
|
+
],
|
|
3078
|
+
"responses": {
|
|
3079
|
+
"200": {
|
|
3080
|
+
"description": "Successful operation",
|
|
3081
|
+
"content": {
|
|
3082
|
+
"application/json": {
|
|
3083
|
+
"schema": {
|
|
3084
|
+
"$ref": "#/components/schemas/FactionSearchResponse"
|
|
3085
|
+
}
|
|
3086
|
+
}
|
|
3087
|
+
}
|
|
3088
|
+
}
|
|
3089
|
+
},
|
|
3090
|
+
"security": [
|
|
3091
|
+
{
|
|
3092
|
+
"api_key": []
|
|
3093
|
+
}
|
|
3094
|
+
],
|
|
3095
|
+
"x-stability": "Unstable"
|
|
3096
|
+
}
|
|
3097
|
+
},
|
|
3024
3098
|
"/faction/stats": {
|
|
3025
3099
|
"get": {
|
|
3026
3100
|
"tags": [
|
|
@@ -3579,7 +3653,23 @@
|
|
|
3579
3653
|
"description": "selection id",
|
|
3580
3654
|
"required": false,
|
|
3581
3655
|
"schema": {
|
|
3582
|
-
"
|
|
3656
|
+
"oneOf": [
|
|
3657
|
+
{
|
|
3658
|
+
"$ref": "#/components/schemas/FactionId"
|
|
3659
|
+
},
|
|
3660
|
+
{
|
|
3661
|
+
"$ref": "#/components/schemas/FactionCrimeId"
|
|
3662
|
+
},
|
|
3663
|
+
{
|
|
3664
|
+
"$ref": "#/components/schemas/ChainId"
|
|
3665
|
+
},
|
|
3666
|
+
{
|
|
3667
|
+
"$ref": "#/components/schemas/RankedWarId"
|
|
3668
|
+
},
|
|
3669
|
+
{
|
|
3670
|
+
"$ref": "#/components/schemas/TerritoryWarId"
|
|
3671
|
+
}
|
|
3672
|
+
]
|
|
3583
3673
|
}
|
|
3584
3674
|
},
|
|
3585
3675
|
{
|
|
@@ -3597,7 +3687,40 @@
|
|
|
3597
3687
|
"description": "Selection category",
|
|
3598
3688
|
"required": false,
|
|
3599
3689
|
"schema": {
|
|
3600
|
-
"
|
|
3690
|
+
"oneOf": [
|
|
3691
|
+
{
|
|
3692
|
+
"type": "string",
|
|
3693
|
+
"enum": [
|
|
3694
|
+
"all",
|
|
3695
|
+
"current"
|
|
3696
|
+
]
|
|
3697
|
+
},
|
|
3698
|
+
{
|
|
3699
|
+
"type": "string",
|
|
3700
|
+
"enum": [
|
|
3701
|
+
"all",
|
|
3702
|
+
"recruiting",
|
|
3703
|
+
"planning",
|
|
3704
|
+
"failure",
|
|
3705
|
+
"successful",
|
|
3706
|
+
"expired",
|
|
3707
|
+
"available",
|
|
3708
|
+
"completed"
|
|
3709
|
+
]
|
|
3710
|
+
},
|
|
3711
|
+
{
|
|
3712
|
+
"$ref": "#/components/schemas/FactionNewsCategory"
|
|
3713
|
+
},
|
|
3714
|
+
{
|
|
3715
|
+
"$ref": "#/components/schemas/FactionRankedWarsCategoryEnum"
|
|
3716
|
+
},
|
|
3717
|
+
{
|
|
3718
|
+
"$ref": "#/components/schemas/ReportTypeEnum"
|
|
3719
|
+
},
|
|
3720
|
+
{
|
|
3721
|
+
"$ref": "#/components/schemas/FactionTerritoryWarsCategoryEnum"
|
|
3722
|
+
}
|
|
3723
|
+
]
|
|
3601
3724
|
}
|
|
3602
3725
|
},
|
|
3603
3726
|
{
|
|
@@ -3606,7 +3729,7 @@
|
|
|
3606
3729
|
"description": "Stat category",
|
|
3607
3730
|
"required": false,
|
|
3608
3731
|
"schema": {
|
|
3609
|
-
"
|
|
3732
|
+
"$ref": "#/components/schemas/FactionStatEnum"
|
|
3610
3733
|
}
|
|
3611
3734
|
},
|
|
3612
3735
|
{
|
|
@@ -4103,7 +4226,17 @@
|
|
|
4103
4226
|
"description": "selection id",
|
|
4104
4227
|
"required": false,
|
|
4105
4228
|
"schema": {
|
|
4106
|
-
"
|
|
4229
|
+
"oneOf": [
|
|
4230
|
+
{
|
|
4231
|
+
"$ref": "#/components/schemas/ForumThreadId"
|
|
4232
|
+
},
|
|
4233
|
+
{
|
|
4234
|
+
"type": "array",
|
|
4235
|
+
"items": {
|
|
4236
|
+
"$ref": "#/components/schemas/ForumId"
|
|
4237
|
+
}
|
|
4238
|
+
}
|
|
4239
|
+
]
|
|
4107
4240
|
}
|
|
4108
4241
|
},
|
|
4109
4242
|
{
|
|
@@ -4489,7 +4622,7 @@
|
|
|
4489
4622
|
"description": "selection id",
|
|
4490
4623
|
"required": false,
|
|
4491
4624
|
"schema": {
|
|
4492
|
-
"
|
|
4625
|
+
"$ref": "#/components/schemas/ItemId"
|
|
4493
4626
|
}
|
|
4494
4627
|
},
|
|
4495
4628
|
{
|
|
@@ -4501,15 +4634,6 @@
|
|
|
4501
4634
|
"$ref": "#/components/schemas/WeaponBonusEnum"
|
|
4502
4635
|
}
|
|
4503
4636
|
},
|
|
4504
|
-
{
|
|
4505
|
-
"name": "cat",
|
|
4506
|
-
"in": "query",
|
|
4507
|
-
"description": "Selection category",
|
|
4508
|
-
"required": false,
|
|
4509
|
-
"schema": {
|
|
4510
|
-
"type": "string"
|
|
4511
|
-
}
|
|
4512
|
-
},
|
|
4513
4637
|
{
|
|
4514
4638
|
"name": "sort",
|
|
4515
4639
|
"in": "query",
|
|
@@ -4671,12 +4795,7 @@
|
|
|
4671
4795
|
"description": "Category of races returned",
|
|
4672
4796
|
"required": false,
|
|
4673
4797
|
"schema": {
|
|
4674
|
-
"
|
|
4675
|
-
"default": "custom",
|
|
4676
|
-
"enum": [
|
|
4677
|
-
"official",
|
|
4678
|
-
"custom"
|
|
4679
|
-
]
|
|
4798
|
+
"$ref": "#/components/schemas/RacingRaceTypeEnum"
|
|
4680
4799
|
}
|
|
4681
4800
|
},
|
|
4682
4801
|
{
|
|
@@ -4960,7 +5079,14 @@
|
|
|
4960
5079
|
"description": "selection id",
|
|
4961
5080
|
"required": false,
|
|
4962
5081
|
"schema": {
|
|
4963
|
-
"
|
|
5082
|
+
"oneOf": [
|
|
5083
|
+
{
|
|
5084
|
+
"$ref": "#/components/schemas/RaceId"
|
|
5085
|
+
},
|
|
5086
|
+
{
|
|
5087
|
+
"$ref": "#/components/schemas/RaceTrackId"
|
|
5088
|
+
}
|
|
5089
|
+
]
|
|
4964
5090
|
}
|
|
4965
5091
|
},
|
|
4966
5092
|
{
|
|
@@ -4981,7 +5107,14 @@
|
|
|
4981
5107
|
"description": "Selection category",
|
|
4982
5108
|
"required": false,
|
|
4983
5109
|
"schema": {
|
|
4984
|
-
"
|
|
5110
|
+
"oneOf": [
|
|
5111
|
+
{
|
|
5112
|
+
"$ref": "#/components/schemas/RacingRaceTypeEnum"
|
|
5113
|
+
},
|
|
5114
|
+
{
|
|
5115
|
+
"$ref": "#/components/schemas/RaceClassEnum"
|
|
5116
|
+
}
|
|
5117
|
+
]
|
|
4985
5118
|
}
|
|
4986
5119
|
},
|
|
4987
5120
|
{
|
|
@@ -5777,55 +5910,10 @@
|
|
|
5777
5910
|
"operationId": "37f1828422f3080da21f9eb4aa576686",
|
|
5778
5911
|
"parameters": [
|
|
5779
5912
|
{
|
|
5780
|
-
"
|
|
5781
|
-
|
|
5782
|
-
|
|
5783
|
-
"
|
|
5784
|
-
},
|
|
5785
|
-
{
|
|
5786
|
-
"$ref": "#/components/parameters/ApiTimestamp"
|
|
5787
|
-
},
|
|
5788
|
-
{
|
|
5789
|
-
"$ref": "#/components/parameters/ApiComment"
|
|
5790
|
-
},
|
|
5791
|
-
{
|
|
5792
|
-
"$ref": "#/components/parameters/ApiKeyPublic"
|
|
5793
|
-
}
|
|
5794
|
-
],
|
|
5795
|
-
"responses": {
|
|
5796
|
-
"200": {
|
|
5797
|
-
"description": "Successful operation",
|
|
5798
|
-
"content": {
|
|
5799
|
-
"application/json": {
|
|
5800
|
-
"schema": {
|
|
5801
|
-
"$ref": "#/components/schemas/TornTerritoriesResponse"
|
|
5802
|
-
}
|
|
5803
|
-
}
|
|
5804
|
-
}
|
|
5805
|
-
}
|
|
5806
|
-
},
|
|
5807
|
-
"security": [
|
|
5808
|
-
{
|
|
5809
|
-
"api_key": []
|
|
5810
|
-
}
|
|
5811
|
-
],
|
|
5812
|
-
"x-stability": "Unstable"
|
|
5813
|
-
}
|
|
5814
|
-
},
|
|
5815
|
-
"/torn/{territoryIds}/territory": {
|
|
5816
|
-
"get": {
|
|
5817
|
-
"tags": [
|
|
5818
|
-
"Torn"
|
|
5819
|
-
],
|
|
5820
|
-
"summary": "Get territory details",
|
|
5821
|
-
"description": "Requires public access key. <br>",
|
|
5822
|
-
"operationId": "4e528387ddb78befed57cb4c84151399",
|
|
5823
|
-
"parameters": [
|
|
5824
|
-
{
|
|
5825
|
-
"name": "territoryIds",
|
|
5826
|
-
"in": "path",
|
|
5827
|
-
"description": "Territory id or a list of territory ids (comma separated)",
|
|
5828
|
-
"required": true,
|
|
5913
|
+
"name": "ids",
|
|
5914
|
+
"in": "query",
|
|
5915
|
+
"description": "Specific territory id or a list of territory ids (comma separated)",
|
|
5916
|
+
"required": false,
|
|
5829
5917
|
"style": "form",
|
|
5830
5918
|
"explode": false,
|
|
5831
5919
|
"schema": {
|
|
@@ -5835,6 +5923,12 @@
|
|
|
5835
5923
|
}
|
|
5836
5924
|
}
|
|
5837
5925
|
},
|
|
5926
|
+
{
|
|
5927
|
+
"$ref": "#/components/parameters/ApiOffset"
|
|
5928
|
+
},
|
|
5929
|
+
{
|
|
5930
|
+
"$ref": "#/components/parameters/ApiLimit250Default20"
|
|
5931
|
+
},
|
|
5838
5932
|
{
|
|
5839
5933
|
"$ref": "#/components/parameters/ApiTimestamp"
|
|
5840
5934
|
},
|
|
@@ -5972,7 +6066,26 @@
|
|
|
5972
6066
|
"description": "selection id",
|
|
5973
6067
|
"required": false,
|
|
5974
6068
|
"schema": {
|
|
5975
|
-
"
|
|
6069
|
+
"oneOf": [
|
|
6070
|
+
{
|
|
6071
|
+
"$ref": "#/components/schemas/LogCategoryId"
|
|
6072
|
+
},
|
|
6073
|
+
{
|
|
6074
|
+
"$ref": "#/components/schemas/TornCrimeId"
|
|
6075
|
+
},
|
|
6076
|
+
{
|
|
6077
|
+
"type": "array",
|
|
6078
|
+
"items": {
|
|
6079
|
+
"$ref": "#/components/schemas/ItemId"
|
|
6080
|
+
}
|
|
6081
|
+
},
|
|
6082
|
+
{
|
|
6083
|
+
"type": "array",
|
|
6084
|
+
"items": {
|
|
6085
|
+
"$ref": "#/components/schemas/FactionTerritoryEnum"
|
|
6086
|
+
}
|
|
6087
|
+
}
|
|
6088
|
+
]
|
|
5976
6089
|
}
|
|
5977
6090
|
},
|
|
5978
6091
|
{
|
|
@@ -5996,7 +6109,17 @@
|
|
|
5996
6109
|
"description": "Selection category",
|
|
5997
6110
|
"required": false,
|
|
5998
6111
|
"schema": {
|
|
5999
|
-
"
|
|
6112
|
+
"oneOf": [
|
|
6113
|
+
{
|
|
6114
|
+
"$ref": "#/components/schemas/TornFactionHofCategory"
|
|
6115
|
+
},
|
|
6116
|
+
{
|
|
6117
|
+
"$ref": "#/components/schemas/TornHofCategory"
|
|
6118
|
+
},
|
|
6119
|
+
{
|
|
6120
|
+
"$ref": "#/components/schemas/TornItemCategory"
|
|
6121
|
+
}
|
|
6122
|
+
]
|
|
6000
6123
|
}
|
|
6001
6124
|
},
|
|
6002
6125
|
{
|
|
@@ -10310,6 +10433,13 @@
|
|
|
10310
10433
|
"peace"
|
|
10311
10434
|
]
|
|
10312
10435
|
},
|
|
10436
|
+
"RacingRaceTypeEnum": {
|
|
10437
|
+
"type": "string",
|
|
10438
|
+
"enum": [
|
|
10439
|
+
"official",
|
|
10440
|
+
"custom"
|
|
10441
|
+
]
|
|
10442
|
+
},
|
|
10313
10443
|
"FactionPositionAbilityEnum": {
|
|
10314
10444
|
"type": "string",
|
|
10315
10445
|
"enum": [
|
|
@@ -10908,6 +11038,23 @@
|
|
|
10908
11038
|
7
|
|
10909
11039
|
]
|
|
10910
11040
|
},
|
|
11041
|
+
"Parameters": {
|
|
11042
|
+
"oneOf": [
|
|
11043
|
+
{
|
|
11044
|
+
"type": "string",
|
|
11045
|
+
"enum": [
|
|
11046
|
+
"destroyed",
|
|
11047
|
+
"notDestroyed",
|
|
11048
|
+
"recruiting",
|
|
11049
|
+
"notRecruiting"
|
|
11050
|
+
]
|
|
11051
|
+
},
|
|
11052
|
+
{
|
|
11053
|
+
"type": "string",
|
|
11054
|
+
"pattern": "^(id|respect|members)(Equal|NotEqual|Less|LessOrEqual|GreaterOrEqual|Greater)\\d+$"
|
|
11055
|
+
}
|
|
11056
|
+
]
|
|
11057
|
+
},
|
|
10911
11058
|
"ReviveSetting": {
|
|
10912
11059
|
"type": "string",
|
|
10913
11060
|
"enum": [
|
|
@@ -12143,6 +12290,22 @@
|
|
|
12143
12290
|
},
|
|
12144
12291
|
"type": "object"
|
|
12145
12292
|
},
|
|
12293
|
+
"SelectionCategoryEnum": {
|
|
12294
|
+
"oneOf": [
|
|
12295
|
+
{
|
|
12296
|
+
"$ref": "#/components/schemas/ReportTypeEnum"
|
|
12297
|
+
},
|
|
12298
|
+
{
|
|
12299
|
+
"$ref": "#/components/schemas/UserListEnum"
|
|
12300
|
+
},
|
|
12301
|
+
{
|
|
12302
|
+
"$ref": "#/components/schemas/PersonalStatsCategoryEnum"
|
|
12303
|
+
},
|
|
12304
|
+
{
|
|
12305
|
+
"$ref": "#/components/schemas/RacingRaceTypeEnum"
|
|
12306
|
+
}
|
|
12307
|
+
]
|
|
12308
|
+
},
|
|
12146
12309
|
"UserCurrentEducation": {
|
|
12147
12310
|
"required": [
|
|
12148
12311
|
"id",
|
|
@@ -13538,69 +13701,76 @@
|
|
|
13538
13701
|
"type": "object"
|
|
13539
13702
|
},
|
|
13540
13703
|
"UserSelectionName": {
|
|
13541
|
-
"
|
|
13542
|
-
|
|
13543
|
-
|
|
13544
|
-
|
|
13545
|
-
|
|
13546
|
-
|
|
13547
|
-
|
|
13548
|
-
|
|
13549
|
-
|
|
13550
|
-
|
|
13551
|
-
|
|
13552
|
-
|
|
13553
|
-
|
|
13554
|
-
|
|
13555
|
-
|
|
13556
|
-
|
|
13557
|
-
|
|
13558
|
-
|
|
13559
|
-
|
|
13560
|
-
|
|
13561
|
-
|
|
13562
|
-
|
|
13563
|
-
|
|
13564
|
-
|
|
13565
|
-
|
|
13566
|
-
|
|
13567
|
-
|
|
13568
|
-
|
|
13569
|
-
|
|
13570
|
-
|
|
13571
|
-
|
|
13572
|
-
|
|
13573
|
-
|
|
13574
|
-
|
|
13575
|
-
|
|
13576
|
-
|
|
13577
|
-
|
|
13578
|
-
|
|
13579
|
-
|
|
13580
|
-
|
|
13581
|
-
|
|
13582
|
-
|
|
13583
|
-
|
|
13584
|
-
|
|
13585
|
-
|
|
13586
|
-
|
|
13587
|
-
|
|
13588
|
-
|
|
13589
|
-
|
|
13590
|
-
|
|
13591
|
-
|
|
13592
|
-
|
|
13593
|
-
|
|
13594
|
-
|
|
13595
|
-
|
|
13596
|
-
|
|
13597
|
-
|
|
13598
|
-
|
|
13599
|
-
|
|
13600
|
-
|
|
13601
|
-
|
|
13602
|
-
|
|
13603
|
-
|
|
13704
|
+
"oneOf": [
|
|
13705
|
+
{
|
|
13706
|
+
"description": "The following selections will fallback to API v1 and may change at any time: 'ammo','bars','basic','battlestats','bazaar','cooldowns','criminalrecord','discord','display','education','equipment','events','gym','honors','icons','inventory','jobpoints','log','medals','merits','messages','missions','money','networth','newevents','newmessages','notifications','perks','profile','properties','refills','reports','skills','stocks','travel','weaponexp','workstats'.",
|
|
13707
|
+
"type": "string",
|
|
13708
|
+
"enum": [
|
|
13709
|
+
"attacks",
|
|
13710
|
+
"attacksfull",
|
|
13711
|
+
"bounties",
|
|
13712
|
+
"calendar",
|
|
13713
|
+
"crimes",
|
|
13714
|
+
"enlistedcars",
|
|
13715
|
+
"factionbalance",
|
|
13716
|
+
"forumfeed",
|
|
13717
|
+
"forumfriends",
|
|
13718
|
+
"forumposts",
|
|
13719
|
+
"forumsubscribedthreads",
|
|
13720
|
+
"forumthreads",
|
|
13721
|
+
"hof",
|
|
13722
|
+
"itemmarket",
|
|
13723
|
+
"jobranks",
|
|
13724
|
+
"list",
|
|
13725
|
+
"lookup",
|
|
13726
|
+
"organizedcrime",
|
|
13727
|
+
"personalstats",
|
|
13728
|
+
"races",
|
|
13729
|
+
"revives",
|
|
13730
|
+
"revivesfull",
|
|
13731
|
+
"timestamp",
|
|
13732
|
+
"ammo",
|
|
13733
|
+
"bars",
|
|
13734
|
+
"basic",
|
|
13735
|
+
"battlestats",
|
|
13736
|
+
"bazaar",
|
|
13737
|
+
"cooldowns",
|
|
13738
|
+
"criminalrecord",
|
|
13739
|
+
"discord",
|
|
13740
|
+
"display",
|
|
13741
|
+
"education",
|
|
13742
|
+
"equipment",
|
|
13743
|
+
"events",
|
|
13744
|
+
"gym",
|
|
13745
|
+
"honors",
|
|
13746
|
+
"icons",
|
|
13747
|
+
"inventory",
|
|
13748
|
+
"jobpoints",
|
|
13749
|
+
"log",
|
|
13750
|
+
"medals",
|
|
13751
|
+
"merits",
|
|
13752
|
+
"messages",
|
|
13753
|
+
"missions",
|
|
13754
|
+
"money",
|
|
13755
|
+
"networth",
|
|
13756
|
+
"newevents",
|
|
13757
|
+
"newmessages",
|
|
13758
|
+
"notifications",
|
|
13759
|
+
"perks",
|
|
13760
|
+
"profile",
|
|
13761
|
+
"properties",
|
|
13762
|
+
"refills",
|
|
13763
|
+
"reports",
|
|
13764
|
+
"skills",
|
|
13765
|
+
"stocks",
|
|
13766
|
+
"travel",
|
|
13767
|
+
"weaponexp",
|
|
13768
|
+
"workstats"
|
|
13769
|
+
]
|
|
13770
|
+
},
|
|
13771
|
+
{
|
|
13772
|
+
"type": "string"
|
|
13773
|
+
}
|
|
13604
13774
|
]
|
|
13605
13775
|
},
|
|
13606
13776
|
"UserLookupResponse": {
|
|
@@ -16396,10 +16566,10 @@
|
|
|
16396
16566
|
"$ref": "#/components/schemas/UserPersonalStatsFullPublic"
|
|
16397
16567
|
},
|
|
16398
16568
|
{
|
|
16399
|
-
"$ref": "#/components/schemas/
|
|
16569
|
+
"$ref": "#/components/schemas/UserPersonalStatsPopular"
|
|
16400
16570
|
},
|
|
16401
16571
|
{
|
|
16402
|
-
"$ref": "#/components/schemas/
|
|
16572
|
+
"$ref": "#/components/schemas/UserPersonalStatsCategory"
|
|
16403
16573
|
},
|
|
16404
16574
|
{
|
|
16405
16575
|
"$ref": "#/components/schemas/UserPersonalStatsHistoric"
|
|
@@ -16680,6 +16850,120 @@
|
|
|
16680
16850
|
},
|
|
16681
16851
|
"type": "object"
|
|
16682
16852
|
},
|
|
16853
|
+
"FactionSearchLeader": {
|
|
16854
|
+
"required": [
|
|
16855
|
+
"id",
|
|
16856
|
+
"name"
|
|
16857
|
+
],
|
|
16858
|
+
"properties": {
|
|
16859
|
+
"id": {
|
|
16860
|
+
"$ref": "#/components/schemas/UserId"
|
|
16861
|
+
},
|
|
16862
|
+
"name": {
|
|
16863
|
+
"type": "string"
|
|
16864
|
+
}
|
|
16865
|
+
},
|
|
16866
|
+
"type": "object"
|
|
16867
|
+
},
|
|
16868
|
+
"FactionSearch": {
|
|
16869
|
+
"required": [
|
|
16870
|
+
"id",
|
|
16871
|
+
"name",
|
|
16872
|
+
"respect",
|
|
16873
|
+
"members",
|
|
16874
|
+
"leader",
|
|
16875
|
+
"co_leader",
|
|
16876
|
+
"image",
|
|
16877
|
+
"tag_image",
|
|
16878
|
+
"tag",
|
|
16879
|
+
"is_destroyed",
|
|
16880
|
+
"is_recruiting"
|
|
16881
|
+
],
|
|
16882
|
+
"properties": {
|
|
16883
|
+
"id": {
|
|
16884
|
+
"$ref": "#/components/schemas/FactionId"
|
|
16885
|
+
},
|
|
16886
|
+
"name": {
|
|
16887
|
+
"type": "string"
|
|
16888
|
+
},
|
|
16889
|
+
"respect": {
|
|
16890
|
+
"type": "integer",
|
|
16891
|
+
"format": "int32"
|
|
16892
|
+
},
|
|
16893
|
+
"members": {
|
|
16894
|
+
"type": "integer",
|
|
16895
|
+
"format": "int32"
|
|
16896
|
+
},
|
|
16897
|
+
"leader": {
|
|
16898
|
+
"$ref": "#/components/schemas/FactionSearchLeader"
|
|
16899
|
+
},
|
|
16900
|
+
"co_leader": {
|
|
16901
|
+
"oneOf": [
|
|
16902
|
+
{
|
|
16903
|
+
"$ref": "#/components/schemas/FactionSearchLeader"
|
|
16904
|
+
},
|
|
16905
|
+
{
|
|
16906
|
+
"type": "null"
|
|
16907
|
+
}
|
|
16908
|
+
]
|
|
16909
|
+
},
|
|
16910
|
+
"image": {
|
|
16911
|
+
"oneOf": [
|
|
16912
|
+
{
|
|
16913
|
+
"type": "string"
|
|
16914
|
+
},
|
|
16915
|
+
{
|
|
16916
|
+
"type": "null"
|
|
16917
|
+
}
|
|
16918
|
+
]
|
|
16919
|
+
},
|
|
16920
|
+
"tag_image": {
|
|
16921
|
+
"oneOf": [
|
|
16922
|
+
{
|
|
16923
|
+
"type": "string"
|
|
16924
|
+
},
|
|
16925
|
+
{
|
|
16926
|
+
"type": "null"
|
|
16927
|
+
}
|
|
16928
|
+
]
|
|
16929
|
+
},
|
|
16930
|
+
"tag": {
|
|
16931
|
+
"oneOf": [
|
|
16932
|
+
{
|
|
16933
|
+
"type": "string"
|
|
16934
|
+
},
|
|
16935
|
+
{
|
|
16936
|
+
"type": "null"
|
|
16937
|
+
}
|
|
16938
|
+
]
|
|
16939
|
+
},
|
|
16940
|
+
"is_destroyed": {
|
|
16941
|
+
"type": "boolean"
|
|
16942
|
+
},
|
|
16943
|
+
"is_recruiting": {
|
|
16944
|
+
"type": "boolean"
|
|
16945
|
+
}
|
|
16946
|
+
},
|
|
16947
|
+
"type": "object"
|
|
16948
|
+
},
|
|
16949
|
+
"FactionSearchResponse": {
|
|
16950
|
+
"required": [
|
|
16951
|
+
"search",
|
|
16952
|
+
"_metadata"
|
|
16953
|
+
],
|
|
16954
|
+
"properties": {
|
|
16955
|
+
"search": {
|
|
16956
|
+
"type": "array",
|
|
16957
|
+
"items": {
|
|
16958
|
+
"$ref": "#/components/schemas/FactionSearch"
|
|
16959
|
+
}
|
|
16960
|
+
},
|
|
16961
|
+
"_metadata": {
|
|
16962
|
+
"$ref": "#/components/schemas/RequestMetadataWithLinks"
|
|
16963
|
+
}
|
|
16964
|
+
},
|
|
16965
|
+
"type": "object"
|
|
16966
|
+
},
|
|
16683
16967
|
"FactionTerritoryWarFinished": {
|
|
16684
16968
|
"required": [
|
|
16685
16969
|
"id",
|
|
@@ -18905,57 +19189,56 @@
|
|
|
18905
19189
|
"type": "object"
|
|
18906
19190
|
},
|
|
18907
19191
|
"FactionSelectionName": {
|
|
18908
|
-
"
|
|
18909
|
-
|
|
18910
|
-
|
|
18911
|
-
|
|
18912
|
-
|
|
18913
|
-
|
|
18914
|
-
|
|
18915
|
-
|
|
18916
|
-
|
|
18917
|
-
|
|
18918
|
-
|
|
18919
|
-
|
|
18920
|
-
|
|
18921
|
-
|
|
18922
|
-
|
|
18923
|
-
|
|
18924
|
-
|
|
18925
|
-
|
|
18926
|
-
|
|
18927
|
-
|
|
18928
|
-
|
|
18929
|
-
|
|
18930
|
-
|
|
18931
|
-
|
|
18932
|
-
|
|
18933
|
-
|
|
18934
|
-
|
|
18935
|
-
|
|
18936
|
-
|
|
18937
|
-
|
|
18938
|
-
|
|
18939
|
-
|
|
18940
|
-
|
|
18941
|
-
|
|
18942
|
-
|
|
18943
|
-
|
|
18944
|
-
|
|
18945
|
-
|
|
18946
|
-
|
|
18947
|
-
|
|
18948
|
-
|
|
18949
|
-
|
|
18950
|
-
|
|
18951
|
-
|
|
18952
|
-
|
|
18953
|
-
|
|
18954
|
-
|
|
18955
|
-
|
|
18956
|
-
|
|
18957
|
-
|
|
18958
|
-
"territorynews"
|
|
19192
|
+
"oneOf": [
|
|
19193
|
+
{
|
|
19194
|
+
"description": "The following selections will fallback to API v1 and may change at any time: 'armor', 'boosters', 'caches', 'cesium', 'crimeexp', 'drugs', 'medical', 'temporary', 'weapons'.\n * The following selections are not available in API v2: 'armorynews', 'attacknews', 'crimenews', 'currency', 'donations', 'fundsnews', 'mainnews', 'membershipnews', 'territorynews'.",
|
|
19195
|
+
"type": "string",
|
|
19196
|
+
"enum": [
|
|
19197
|
+
"applications",
|
|
19198
|
+
"attacks",
|
|
19199
|
+
"attacksfull",
|
|
19200
|
+
"balance",
|
|
19201
|
+
"basic",
|
|
19202
|
+
"chain",
|
|
19203
|
+
"chainreport",
|
|
19204
|
+
"chains",
|
|
19205
|
+
"contributors",
|
|
19206
|
+
"crime",
|
|
19207
|
+
"crimes",
|
|
19208
|
+
"hof",
|
|
19209
|
+
"lookup",
|
|
19210
|
+
"members",
|
|
19211
|
+
"news",
|
|
19212
|
+
"positions",
|
|
19213
|
+
"rackets",
|
|
19214
|
+
"rankedwars",
|
|
19215
|
+
"rankedwarreport",
|
|
19216
|
+
"reports",
|
|
19217
|
+
"revives",
|
|
19218
|
+
"revivesfull",
|
|
19219
|
+
"search",
|
|
19220
|
+
"stats",
|
|
19221
|
+
"territory",
|
|
19222
|
+
"territoryownership",
|
|
19223
|
+
"territorywarreport",
|
|
19224
|
+
"territorywars",
|
|
19225
|
+
"timestamp",
|
|
19226
|
+
"upgrades",
|
|
19227
|
+
"wars",
|
|
19228
|
+
"armor",
|
|
19229
|
+
"boosters",
|
|
19230
|
+
"caches",
|
|
19231
|
+
"cesium",
|
|
19232
|
+
"crimeexp",
|
|
19233
|
+
"drugs",
|
|
19234
|
+
"medical",
|
|
19235
|
+
"temporary",
|
|
19236
|
+
"weapons"
|
|
19237
|
+
]
|
|
19238
|
+
},
|
|
19239
|
+
{
|
|
19240
|
+
"type": "string"
|
|
19241
|
+
}
|
|
18959
19242
|
]
|
|
18960
19243
|
},
|
|
18961
19244
|
"FactionLookupResponse": {
|
|
@@ -19669,14 +19952,21 @@
|
|
|
19669
19952
|
"type": "object"
|
|
19670
19953
|
},
|
|
19671
19954
|
"ForumSelectionName": {
|
|
19672
|
-
"
|
|
19673
|
-
|
|
19674
|
-
|
|
19675
|
-
|
|
19676
|
-
|
|
19677
|
-
|
|
19678
|
-
|
|
19679
|
-
|
|
19955
|
+
"oneOf": [
|
|
19956
|
+
{
|
|
19957
|
+
"type": "string",
|
|
19958
|
+
"enum": [
|
|
19959
|
+
"categories",
|
|
19960
|
+
"lookup",
|
|
19961
|
+
"posts",
|
|
19962
|
+
"thread",
|
|
19963
|
+
"threads",
|
|
19964
|
+
"timestamp"
|
|
19965
|
+
]
|
|
19966
|
+
},
|
|
19967
|
+
{
|
|
19968
|
+
"type": "string"
|
|
19969
|
+
}
|
|
19680
19970
|
]
|
|
19681
19971
|
},
|
|
19682
19972
|
"ForumLookupResponse": {
|
|
@@ -19725,6 +20015,9 @@
|
|
|
19725
20015
|
"type": "integer",
|
|
19726
20016
|
"format": "int64"
|
|
19727
20017
|
},
|
|
20018
|
+
{
|
|
20019
|
+
"type": "string"
|
|
20020
|
+
},
|
|
19728
20021
|
{
|
|
19729
20022
|
"type": "null"
|
|
19730
20023
|
}
|
|
@@ -19882,10 +20175,17 @@
|
|
|
19882
20175
|
"type": "object"
|
|
19883
20176
|
},
|
|
19884
20177
|
"KeySelectionName": {
|
|
19885
|
-
"
|
|
19886
|
-
|
|
19887
|
-
|
|
19888
|
-
|
|
20178
|
+
"oneOf": [
|
|
20179
|
+
{
|
|
20180
|
+
"type": "string",
|
|
20181
|
+
"enum": [
|
|
20182
|
+
"info",
|
|
20183
|
+
"log"
|
|
20184
|
+
]
|
|
20185
|
+
},
|
|
20186
|
+
{
|
|
20187
|
+
"type": "string"
|
|
20188
|
+
}
|
|
19889
20189
|
]
|
|
19890
20190
|
},
|
|
19891
20191
|
"ItemMarketListingItemBonus": {
|
|
@@ -20064,7 +20364,8 @@
|
|
|
20064
20364
|
"ItemMarket": {
|
|
20065
20365
|
"required": [
|
|
20066
20366
|
"item",
|
|
20067
|
-
"listings"
|
|
20367
|
+
"listings",
|
|
20368
|
+
"cache_timestamp"
|
|
20068
20369
|
],
|
|
20069
20370
|
"properties": {
|
|
20070
20371
|
"item": {
|
|
@@ -20082,6 +20383,11 @@
|
|
|
20082
20383
|
}
|
|
20083
20384
|
]
|
|
20084
20385
|
}
|
|
20386
|
+
},
|
|
20387
|
+
"cache_timestamp": {
|
|
20388
|
+
"description": "Timestamp when the data was globally cached at.",
|
|
20389
|
+
"type": "integer",
|
|
20390
|
+
"format": "int32"
|
|
20085
20391
|
}
|
|
20086
20392
|
},
|
|
20087
20393
|
"type": "object"
|
|
@@ -20102,14 +20408,21 @@
|
|
|
20102
20408
|
"type": "object"
|
|
20103
20409
|
},
|
|
20104
20410
|
"MarketSelectionName": {
|
|
20105
|
-
"
|
|
20106
|
-
|
|
20107
|
-
|
|
20108
|
-
|
|
20109
|
-
|
|
20110
|
-
|
|
20111
|
-
|
|
20112
|
-
|
|
20411
|
+
"oneOf": [
|
|
20412
|
+
{
|
|
20413
|
+
"description": "The following selections will fallback to API v1 and may change at any time: 'pointsmarket'.",
|
|
20414
|
+
"type": "string",
|
|
20415
|
+
"enum": [
|
|
20416
|
+
"itemmarket",
|
|
20417
|
+
"lookup",
|
|
20418
|
+
"timestamp",
|
|
20419
|
+
"pointsmarket",
|
|
20420
|
+
"bazaar"
|
|
20421
|
+
]
|
|
20422
|
+
},
|
|
20423
|
+
{
|
|
20424
|
+
"type": "string"
|
|
20425
|
+
}
|
|
20113
20426
|
]
|
|
20114
20427
|
},
|
|
20115
20428
|
"MarketLookupResponse": {
|
|
@@ -20650,16 +20963,23 @@
|
|
|
20650
20963
|
"type": "object"
|
|
20651
20964
|
},
|
|
20652
20965
|
"RacingSelectionName": {
|
|
20653
|
-
"
|
|
20654
|
-
|
|
20655
|
-
|
|
20656
|
-
|
|
20657
|
-
|
|
20658
|
-
|
|
20659
|
-
|
|
20660
|
-
|
|
20661
|
-
|
|
20662
|
-
|
|
20966
|
+
"oneOf": [
|
|
20967
|
+
{
|
|
20968
|
+
"type": "string",
|
|
20969
|
+
"enum": [
|
|
20970
|
+
"cars",
|
|
20971
|
+
"carupgrades",
|
|
20972
|
+
"lookup",
|
|
20973
|
+
"race",
|
|
20974
|
+
"races",
|
|
20975
|
+
"records",
|
|
20976
|
+
"timestamp",
|
|
20977
|
+
"tracks"
|
|
20978
|
+
]
|
|
20979
|
+
},
|
|
20980
|
+
{
|
|
20981
|
+
"type": "string"
|
|
20982
|
+
}
|
|
20663
20983
|
]
|
|
20664
20984
|
},
|
|
20665
20985
|
"RacingLookupResponse": {
|
|
@@ -21535,6 +21855,22 @@
|
|
|
21535
21855
|
"type": "null"
|
|
21536
21856
|
}
|
|
21537
21857
|
]
|
|
21858
|
+
},
|
|
21859
|
+
"attacker_item": {
|
|
21860
|
+
"description": "This field only exists if the attacker is stealthed and they used a temporary item.",
|
|
21861
|
+
"required": [
|
|
21862
|
+
"id",
|
|
21863
|
+
"name"
|
|
21864
|
+
],
|
|
21865
|
+
"properties": {
|
|
21866
|
+
"id": {
|
|
21867
|
+
"$ref": "#/components/schemas/ItemId"
|
|
21868
|
+
},
|
|
21869
|
+
"name": {
|
|
21870
|
+
"type": "string"
|
|
21871
|
+
}
|
|
21872
|
+
},
|
|
21873
|
+
"type": "object"
|
|
21538
21874
|
}
|
|
21539
21875
|
},
|
|
21540
21876
|
"type": "object"
|
|
@@ -22078,55 +22414,55 @@
|
|
|
22078
22414
|
"type": "object"
|
|
22079
22415
|
},
|
|
22080
22416
|
"TornSelectionName": {
|
|
22081
|
-
"
|
|
22082
|
-
|
|
22083
|
-
|
|
22084
|
-
|
|
22085
|
-
|
|
22086
|
-
|
|
22087
|
-
|
|
22088
|
-
|
|
22089
|
-
|
|
22090
|
-
|
|
22091
|
-
|
|
22092
|
-
|
|
22093
|
-
|
|
22094
|
-
|
|
22095
|
-
|
|
22096
|
-
|
|
22097
|
-
|
|
22098
|
-
|
|
22099
|
-
|
|
22100
|
-
|
|
22101
|
-
|
|
22102
|
-
|
|
22103
|
-
|
|
22104
|
-
|
|
22105
|
-
|
|
22106
|
-
|
|
22107
|
-
|
|
22108
|
-
|
|
22109
|
-
|
|
22110
|
-
|
|
22111
|
-
|
|
22112
|
-
|
|
22113
|
-
|
|
22114
|
-
|
|
22115
|
-
|
|
22116
|
-
|
|
22117
|
-
|
|
22118
|
-
|
|
22119
|
-
|
|
22120
|
-
|
|
22121
|
-
|
|
22122
|
-
|
|
22123
|
-
|
|
22124
|
-
|
|
22125
|
-
|
|
22126
|
-
|
|
22127
|
-
|
|
22128
|
-
|
|
22129
|
-
|
|
22417
|
+
"oneOf": [
|
|
22418
|
+
{
|
|
22419
|
+
"description": "The following selections will fallback to API v1 and may change at any time: 'bank','cards','cityshops','companies','competition','dirtybombs','gyms','honors','itemdetails','itemstats','medals','organisedcrimes','pawnshop','pokertables','properties','raidreport','raids','rockpaperscissors','searchforcash','shoplifting','stats','stocks'.\n * The following selections are not available in API v2: 'chainreport', 'rackets', 'rankedwarreport', 'rankedwars', 'territorynames', 'territorywarreport', 'territorywars'.",
|
|
22420
|
+
"type": "string",
|
|
22421
|
+
"enum": [
|
|
22422
|
+
"attacklog",
|
|
22423
|
+
"bounties",
|
|
22424
|
+
"calendar",
|
|
22425
|
+
"crimes",
|
|
22426
|
+
"education",
|
|
22427
|
+
"factionhof",
|
|
22428
|
+
"factiontree",
|
|
22429
|
+
"hof",
|
|
22430
|
+
"itemammo",
|
|
22431
|
+
"itemmods",
|
|
22432
|
+
"items",
|
|
22433
|
+
"logcategories",
|
|
22434
|
+
"logtypes",
|
|
22435
|
+
"lookup",
|
|
22436
|
+
"subcrimes",
|
|
22437
|
+
"territory",
|
|
22438
|
+
"timestamp",
|
|
22439
|
+
"bank",
|
|
22440
|
+
"cards",
|
|
22441
|
+
"cityshops",
|
|
22442
|
+
"companies",
|
|
22443
|
+
"competition",
|
|
22444
|
+
"dirtybombs",
|
|
22445
|
+
"gyms",
|
|
22446
|
+
"honors",
|
|
22447
|
+
"itemdetails",
|
|
22448
|
+
"itemstats",
|
|
22449
|
+
"medals",
|
|
22450
|
+
"organisedcrimes",
|
|
22451
|
+
"pawnshop",
|
|
22452
|
+
"pokertables",
|
|
22453
|
+
"properties",
|
|
22454
|
+
"raidreport",
|
|
22455
|
+
"raids",
|
|
22456
|
+
"rockpaperscissors",
|
|
22457
|
+
"searchforcash",
|
|
22458
|
+
"shoplifting",
|
|
22459
|
+
"stats",
|
|
22460
|
+
"stocks"
|
|
22461
|
+
]
|
|
22462
|
+
},
|
|
22463
|
+
{
|
|
22464
|
+
"type": "string"
|
|
22465
|
+
}
|
|
22130
22466
|
]
|
|
22131
22467
|
},
|
|
22132
22468
|
"TornLookupResponse": {
|
|
@@ -22181,6 +22517,35 @@
|
|
|
22181
22517
|
"type": "string"
|
|
22182
22518
|
}
|
|
22183
22519
|
},
|
|
22520
|
+
"ApiFactionSearchFilter": {
|
|
22521
|
+
"name": "filters",
|
|
22522
|
+
"in": "query",
|
|
22523
|
+
"description": "A filtering query parameter allowing a comma-separated list of filters. <br>\n * Each filter can be one of the following:\n * Fixed options: 'destroyed', 'notDestroyed', 'recruiting', 'notRecruiting'\n * Dynamic options: `fieldName`+`condition`+`number`, where:\n * * `fieldName` is one of: `id`, `respect`, `members`\n * * `condition` is one of: `Equal`, `NotEqual`, `Less`, `LessOrEqual`, `GreaterOrEqual`, `Greater`\n * * `number`: any integer value\n * Examples: `filters=destroyed`, `filters=notDestroyed,recruiting`, `filters=respectLessOrEqual20000,idGreater100,notRecruiting`",
|
|
22524
|
+
"required": false,
|
|
22525
|
+
"style": "form",
|
|
22526
|
+
"explode": false,
|
|
22527
|
+
"schema": {
|
|
22528
|
+
"type": "array",
|
|
22529
|
+
"items": {
|
|
22530
|
+
"schema": "Parameters",
|
|
22531
|
+
"oneOf": [
|
|
22532
|
+
{
|
|
22533
|
+
"type": "string",
|
|
22534
|
+
"enum": [
|
|
22535
|
+
"destroyed",
|
|
22536
|
+
"notDestroyed",
|
|
22537
|
+
"recruiting",
|
|
22538
|
+
"notRecruiting"
|
|
22539
|
+
]
|
|
22540
|
+
},
|
|
22541
|
+
{
|
|
22542
|
+
"type": "string",
|
|
22543
|
+
"pattern": "^(id|respect|members)(Equal|NotEqual|Less|LessOrEqual|GreaterOrEqual|Greater)\\d+$"
|
|
22544
|
+
}
|
|
22545
|
+
]
|
|
22546
|
+
}
|
|
22547
|
+
}
|
|
22548
|
+
},
|
|
22184
22549
|
"ApiComment": {
|
|
22185
22550
|
"name": "comment",
|
|
22186
22551
|
"in": "query",
|
|
@@ -22190,6 +22555,15 @@
|
|
|
22190
22555
|
"type": "string"
|
|
22191
22556
|
}
|
|
22192
22557
|
},
|
|
22558
|
+
"ApiName": {
|
|
22559
|
+
"name": "name",
|
|
22560
|
+
"in": "query",
|
|
22561
|
+
"description": "Name to search for.",
|
|
22562
|
+
"required": false,
|
|
22563
|
+
"schema": {
|
|
22564
|
+
"type": "string"
|
|
22565
|
+
}
|
|
22566
|
+
},
|
|
22193
22567
|
"ApiLimit20": {
|
|
22194
22568
|
"name": "limit",
|
|
22195
22569
|
"in": "query",
|