tornapi-typescript 0.2.8 → 1.10.0
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 +210 -8
- package/dist/openapi.json +1117 -66
- package/package.json +4 -4
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.10.0"
|
|
7
7
|
},
|
|
8
8
|
"servers": [
|
|
9
9
|
{
|
|
@@ -2721,19 +2721,165 @@
|
|
|
2721
2721
|
"x-stability": "Unstable"
|
|
2722
2722
|
}
|
|
2723
2723
|
},
|
|
2724
|
+
"/faction/{raidWarId}/raidreport": {
|
|
2725
|
+
"get": {
|
|
2726
|
+
"tags": [
|
|
2727
|
+
"Faction"
|
|
2728
|
+
],
|
|
2729
|
+
"summary": "Get raid war details",
|
|
2730
|
+
"description": "Requires public access key. <br> ",
|
|
2731
|
+
"operationId": "9a48477c16e86235efce00a11d56510f",
|
|
2732
|
+
"parameters": [
|
|
2733
|
+
{
|
|
2734
|
+
"name": "raidWarId",
|
|
2735
|
+
"in": "path",
|
|
2736
|
+
"description": "Raid war id",
|
|
2737
|
+
"required": true,
|
|
2738
|
+
"schema": {
|
|
2739
|
+
"$ref": "#/components/schemas/RaidWarId"
|
|
2740
|
+
}
|
|
2741
|
+
},
|
|
2742
|
+
{
|
|
2743
|
+
"$ref": "#/components/parameters/ApiTimestamp"
|
|
2744
|
+
},
|
|
2745
|
+
{
|
|
2746
|
+
"$ref": "#/components/parameters/ApiComment"
|
|
2747
|
+
},
|
|
2748
|
+
{
|
|
2749
|
+
"$ref": "#/components/parameters/ApiKeyPublic"
|
|
2750
|
+
}
|
|
2751
|
+
],
|
|
2752
|
+
"responses": {
|
|
2753
|
+
"200": {
|
|
2754
|
+
"description": "Successful operation",
|
|
2755
|
+
"content": {
|
|
2756
|
+
"application/json": {
|
|
2757
|
+
"schema": {
|
|
2758
|
+
"$ref": "#/components/schemas/FactionRaidWarReportResponse"
|
|
2759
|
+
}
|
|
2760
|
+
}
|
|
2761
|
+
}
|
|
2762
|
+
}
|
|
2763
|
+
},
|
|
2764
|
+
"security": [
|
|
2765
|
+
{
|
|
2766
|
+
"api_key": []
|
|
2767
|
+
}
|
|
2768
|
+
],
|
|
2769
|
+
"x-stability": "Unstable"
|
|
2770
|
+
}
|
|
2771
|
+
},
|
|
2772
|
+
"/faction/raids": {
|
|
2773
|
+
"get": {
|
|
2774
|
+
"tags": [
|
|
2775
|
+
"Faction"
|
|
2776
|
+
],
|
|
2777
|
+
"summary": "Get raids history for your faction",
|
|
2778
|
+
"description": "Requires public access key. <br>",
|
|
2779
|
+
"operationId": "6a2b0604d0ebe31933f93facfa69f171",
|
|
2780
|
+
"parameters": [
|
|
2781
|
+
{
|
|
2782
|
+
"$ref": "#/components/parameters/ApiFrom"
|
|
2783
|
+
},
|
|
2784
|
+
{
|
|
2785
|
+
"$ref": "#/components/parameters/ApiTo"
|
|
2786
|
+
},
|
|
2787
|
+
{
|
|
2788
|
+
"$ref": "#/components/parameters/ApiSortDesc"
|
|
2789
|
+
},
|
|
2790
|
+
{
|
|
2791
|
+
"$ref": "#/components/parameters/ApiTimestamp"
|
|
2792
|
+
},
|
|
2793
|
+
{
|
|
2794
|
+
"$ref": "#/components/parameters/ApiComment"
|
|
2795
|
+
},
|
|
2796
|
+
{
|
|
2797
|
+
"$ref": "#/components/parameters/ApiKeyPublic"
|
|
2798
|
+
}
|
|
2799
|
+
],
|
|
2800
|
+
"responses": {
|
|
2801
|
+
"200": {
|
|
2802
|
+
"description": "Successful operation",
|
|
2803
|
+
"content": {
|
|
2804
|
+
"application/json": {
|
|
2805
|
+
"schema": {
|
|
2806
|
+
"$ref": "#/components/schemas/FactionRaidsResponse"
|
|
2807
|
+
}
|
|
2808
|
+
}
|
|
2809
|
+
}
|
|
2810
|
+
}
|
|
2811
|
+
},
|
|
2812
|
+
"security": [
|
|
2813
|
+
{
|
|
2814
|
+
"api_key": []
|
|
2815
|
+
}
|
|
2816
|
+
],
|
|
2817
|
+
"x-stability": "Unstable"
|
|
2818
|
+
}
|
|
2819
|
+
},
|
|
2820
|
+
"/faction/{id}/raids": {
|
|
2821
|
+
"get": {
|
|
2822
|
+
"tags": [
|
|
2823
|
+
"Faction"
|
|
2824
|
+
],
|
|
2825
|
+
"summary": "Get a faction's raids history",
|
|
2826
|
+
"description": "Requires public access key. <br> ",
|
|
2827
|
+
"operationId": "67622543dbbc4857f1ea575be5af7fcd",
|
|
2828
|
+
"parameters": [
|
|
2829
|
+
{
|
|
2830
|
+
"name": "id",
|
|
2831
|
+
"in": "path",
|
|
2832
|
+
"description": "Faction id",
|
|
2833
|
+
"required": true,
|
|
2834
|
+
"schema": {
|
|
2835
|
+
"$ref": "#/components/schemas/FactionId"
|
|
2836
|
+
}
|
|
2837
|
+
},
|
|
2838
|
+
{
|
|
2839
|
+
"$ref": "#/components/parameters/ApiTimestamp"
|
|
2840
|
+
},
|
|
2841
|
+
{
|
|
2842
|
+
"$ref": "#/components/parameters/ApiComment"
|
|
2843
|
+
},
|
|
2844
|
+
{
|
|
2845
|
+
"$ref": "#/components/parameters/ApiKeyPublic"
|
|
2846
|
+
}
|
|
2847
|
+
],
|
|
2848
|
+
"responses": {
|
|
2849
|
+
"200": {
|
|
2850
|
+
"description": "Successful operation",
|
|
2851
|
+
"content": {
|
|
2852
|
+
"application/json": {
|
|
2853
|
+
"schema": {
|
|
2854
|
+
"$ref": "#/components/schemas/FactionRaidsResponse"
|
|
2855
|
+
}
|
|
2856
|
+
}
|
|
2857
|
+
}
|
|
2858
|
+
}
|
|
2859
|
+
},
|
|
2860
|
+
"security": [
|
|
2861
|
+
{
|
|
2862
|
+
"api_key": []
|
|
2863
|
+
}
|
|
2864
|
+
],
|
|
2865
|
+
"x-stability": "Unstable"
|
|
2866
|
+
}
|
|
2867
|
+
},
|
|
2724
2868
|
"/faction/rankedwars": {
|
|
2725
2869
|
"get": {
|
|
2726
2870
|
"tags": [
|
|
2727
2871
|
"Faction"
|
|
2728
2872
|
],
|
|
2729
|
-
"summary": "Get ranked wars
|
|
2730
|
-
"description": "Requires public access key. <br>
|
|
2873
|
+
"summary": "Get ranked wars history for your faction",
|
|
2874
|
+
"description": "Requires public access key. <br>",
|
|
2731
2875
|
"operationId": "4f5d624a86e2d389a7a738b6b3ce8c9e",
|
|
2732
2876
|
"parameters": [
|
|
2733
2877
|
{
|
|
2734
2878
|
"name": "cat",
|
|
2735
2879
|
"in": "query",
|
|
2880
|
+
"description": "This parameter is deprecated. The ranked wars list can now instead be fetched via 'faction' -> 'warfare' endpoint. This functionality will be removed on 1st of September 2025.",
|
|
2736
2881
|
"required": false,
|
|
2882
|
+
"deprecated": true,
|
|
2737
2883
|
"schema": {
|
|
2738
2884
|
"$ref": "#/components/schemas/FactionRankedWarsCategoryEnum"
|
|
2739
2885
|
}
|
|
@@ -3271,14 +3417,16 @@
|
|
|
3271
3417
|
"tags": [
|
|
3272
3418
|
"Faction"
|
|
3273
3419
|
],
|
|
3274
|
-
"summary": "Get territory wars
|
|
3275
|
-
"description": "Requires public access key. <br>
|
|
3420
|
+
"summary": "Get territory wars history for your faction",
|
|
3421
|
+
"description": "Requires public access key. <br>",
|
|
3276
3422
|
"operationId": "0258963246159d1e3e54547c32aac7c8",
|
|
3277
3423
|
"parameters": [
|
|
3278
3424
|
{
|
|
3279
3425
|
"name": "cat",
|
|
3280
3426
|
"in": "query",
|
|
3427
|
+
"description": "This parameter is deprecated. The territory wars list can now instead be fetched via 'faction' -> 'warfare' endpoint. This functionality will be removed on 1st of September 2025.",
|
|
3281
3428
|
"required": false,
|
|
3429
|
+
"deprecated": true,
|
|
3282
3430
|
"schema": {
|
|
3283
3431
|
"$ref": "#/components/schemas/FactionTerritoryWarsCategoryEnum"
|
|
3284
3432
|
}
|
|
@@ -3460,6 +3608,65 @@
|
|
|
3460
3608
|
"x-stability": "Unstable"
|
|
3461
3609
|
}
|
|
3462
3610
|
},
|
|
3611
|
+
"/faction/warfare": {
|
|
3612
|
+
"get": {
|
|
3613
|
+
"tags": [
|
|
3614
|
+
"Faction"
|
|
3615
|
+
],
|
|
3616
|
+
"summary": "Get faction warfare",
|
|
3617
|
+
"description": "Requires public access key. <br>The response depends on the selected category.",
|
|
3618
|
+
"operationId": "ae7f06db4618d3e7927fd700cfa58f16",
|
|
3619
|
+
"parameters": [
|
|
3620
|
+
{
|
|
3621
|
+
"name": "cat",
|
|
3622
|
+
"in": "query",
|
|
3623
|
+
"required": true,
|
|
3624
|
+
"schema": {
|
|
3625
|
+
"$ref": "#/components/schemas/FactionWarfareTypeEnum"
|
|
3626
|
+
}
|
|
3627
|
+
},
|
|
3628
|
+
{
|
|
3629
|
+
"$ref": "#/components/parameters/ApiLimit100"
|
|
3630
|
+
},
|
|
3631
|
+
{
|
|
3632
|
+
"$ref": "#/components/parameters/ApiSort"
|
|
3633
|
+
},
|
|
3634
|
+
{
|
|
3635
|
+
"$ref": "#/components/parameters/ApiFrom"
|
|
3636
|
+
},
|
|
3637
|
+
{
|
|
3638
|
+
"$ref": "#/components/parameters/ApiTo"
|
|
3639
|
+
},
|
|
3640
|
+
{
|
|
3641
|
+
"$ref": "#/components/parameters/ApiTimestamp"
|
|
3642
|
+
},
|
|
3643
|
+
{
|
|
3644
|
+
"$ref": "#/components/parameters/ApiComment"
|
|
3645
|
+
},
|
|
3646
|
+
{
|
|
3647
|
+
"$ref": "#/components/parameters/ApiKeyPublic"
|
|
3648
|
+
}
|
|
3649
|
+
],
|
|
3650
|
+
"responses": {
|
|
3651
|
+
"200": {
|
|
3652
|
+
"description": "Successful operation",
|
|
3653
|
+
"content": {
|
|
3654
|
+
"application/json": {
|
|
3655
|
+
"schema": {
|
|
3656
|
+
"$ref": "#/components/schemas/FactionWarfareResponse"
|
|
3657
|
+
}
|
|
3658
|
+
}
|
|
3659
|
+
}
|
|
3660
|
+
}
|
|
3661
|
+
},
|
|
3662
|
+
"security": [
|
|
3663
|
+
{
|
|
3664
|
+
"api_key": []
|
|
3665
|
+
}
|
|
3666
|
+
],
|
|
3667
|
+
"x-stability": "Stable"
|
|
3668
|
+
}
|
|
3669
|
+
},
|
|
3463
3670
|
"/faction/wars": {
|
|
3464
3671
|
"get": {
|
|
3465
3672
|
"tags": [
|
|
@@ -3668,6 +3875,9 @@
|
|
|
3668
3875
|
},
|
|
3669
3876
|
{
|
|
3670
3877
|
"$ref": "#/components/schemas/TerritoryWarId"
|
|
3878
|
+
},
|
|
3879
|
+
{
|
|
3880
|
+
"$ref": "#/components/schemas/RaidWarId"
|
|
3671
3881
|
}
|
|
3672
3882
|
]
|
|
3673
3883
|
}
|
|
@@ -3717,6 +3927,9 @@
|
|
|
3717
3927
|
{
|
|
3718
3928
|
"$ref": "#/components/schemas/ReportTypeEnum"
|
|
3719
3929
|
},
|
|
3930
|
+
{
|
|
3931
|
+
"$ref": "#/components/schemas/FactionWarfareTypeEnum"
|
|
3932
|
+
},
|
|
3720
3933
|
{
|
|
3721
3934
|
"$ref": "#/components/schemas/FactionTerritoryWarsCategoryEnum"
|
|
3722
3935
|
}
|
|
@@ -3785,6 +3998,9 @@
|
|
|
3785
3998
|
{
|
|
3786
3999
|
"$ref": "#/components/schemas/FactionBalanceResponse"
|
|
3787
4000
|
},
|
|
4001
|
+
{
|
|
4002
|
+
"$ref": "#/components/schemas/FactionRaidWarReportResponse"
|
|
4003
|
+
},
|
|
3788
4004
|
{
|
|
3789
4005
|
"$ref": "#/components/schemas/FactionTerritoriesOwnershipResponse"
|
|
3790
4006
|
},
|
|
@@ -3815,6 +4031,12 @@
|
|
|
3815
4031
|
{
|
|
3816
4032
|
"$ref": "#/components/schemas/FactionCrimeResponse"
|
|
3817
4033
|
},
|
|
4034
|
+
{
|
|
4035
|
+
"$ref": "#/components/schemas/FactionRaidsResponse"
|
|
4036
|
+
},
|
|
4037
|
+
{
|
|
4038
|
+
"$ref": "#/components/schemas/FactionWarfareResponse"
|
|
4039
|
+
},
|
|
3818
4040
|
{
|
|
3819
4041
|
"$ref": "#/components/schemas/FactionRankedWarReportResponse"
|
|
3820
4042
|
},
|
|
@@ -4455,36 +4677,24 @@
|
|
|
4455
4677
|
"x-stability": "Stable"
|
|
4456
4678
|
}
|
|
4457
4679
|
},
|
|
4458
|
-
"/market/
|
|
4680
|
+
"/market/bazaar": {
|
|
4459
4681
|
"get": {
|
|
4460
4682
|
"tags": [
|
|
4461
4683
|
"Market"
|
|
4462
4684
|
],
|
|
4463
|
-
"summary": "Get
|
|
4464
|
-
"description": "Requires public access key. <br>",
|
|
4465
|
-
"operationId": "
|
|
4685
|
+
"summary": "Get bazaar directory",
|
|
4686
|
+
"description": "Requires public access key. <br> The default response is of type 'BazaarWeekly', but if a category is chosen, the response will be of type 'BazaarSpecialized'.",
|
|
4687
|
+
"operationId": "422876deda064e2f3a2cc3c4bf6d73a9",
|
|
4466
4688
|
"parameters": [
|
|
4467
4689
|
{
|
|
4468
|
-
"name": "
|
|
4469
|
-
"in": "path",
|
|
4470
|
-
"description": "Item id",
|
|
4471
|
-
"required": true,
|
|
4472
|
-
"schema": {
|
|
4473
|
-
"$ref": "#/components/schemas/ItemId"
|
|
4474
|
-
}
|
|
4475
|
-
},
|
|
4476
|
-
{
|
|
4477
|
-
"name": "bonus",
|
|
4690
|
+
"name": "cat",
|
|
4478
4691
|
"in": "query",
|
|
4479
|
-
"description": "
|
|
4692
|
+
"description": "Category of specialized bazaars returned",
|
|
4480
4693
|
"required": false,
|
|
4481
4694
|
"schema": {
|
|
4482
|
-
"$ref": "#/components/schemas/
|
|
4695
|
+
"$ref": "#/components/schemas/MarketSpecializedBazaarCategoryEnum"
|
|
4483
4696
|
}
|
|
4484
4697
|
},
|
|
4485
|
-
{
|
|
4486
|
-
"$ref": "#/components/parameters/ApiOffset"
|
|
4487
|
-
},
|
|
4488
4698
|
{
|
|
4489
4699
|
"$ref": "#/components/parameters/ApiTimestamp"
|
|
4490
4700
|
},
|
|
@@ -4501,7 +4711,7 @@
|
|
|
4501
4711
|
"content": {
|
|
4502
4712
|
"application/json": {
|
|
4503
4713
|
"schema": {
|
|
4504
|
-
"$ref": "#/components/schemas/
|
|
4714
|
+
"$ref": "#/components/schemas/BazaarResponse"
|
|
4505
4715
|
}
|
|
4506
4716
|
}
|
|
4507
4717
|
}
|
|
@@ -4515,15 +4725,24 @@
|
|
|
4515
4725
|
"x-stability": "Unstable"
|
|
4516
4726
|
}
|
|
4517
4727
|
},
|
|
4518
|
-
"/market/
|
|
4728
|
+
"/market/{id}/bazaar": {
|
|
4519
4729
|
"get": {
|
|
4520
4730
|
"tags": [
|
|
4521
4731
|
"Market"
|
|
4522
4732
|
],
|
|
4523
|
-
"summary": "Get
|
|
4733
|
+
"summary": "Get item specialized bazaar directory",
|
|
4524
4734
|
"description": "Requires public access key. <br>",
|
|
4525
|
-
"operationId": "
|
|
4735
|
+
"operationId": "8254489388603bf1b21740e6f71bef06",
|
|
4526
4736
|
"parameters": [
|
|
4737
|
+
{
|
|
4738
|
+
"name": "id",
|
|
4739
|
+
"in": "path",
|
|
4740
|
+
"description": "Item id",
|
|
4741
|
+
"required": true,
|
|
4742
|
+
"schema": {
|
|
4743
|
+
"$ref": "#/components/schemas/ItemId"
|
|
4744
|
+
}
|
|
4745
|
+
},
|
|
4527
4746
|
{
|
|
4528
4747
|
"$ref": "#/components/parameters/ApiTimestamp"
|
|
4529
4748
|
},
|
|
@@ -4540,7 +4759,7 @@
|
|
|
4540
4759
|
"content": {
|
|
4541
4760
|
"application/json": {
|
|
4542
4761
|
"schema": {
|
|
4543
|
-
"$ref": "#/components/schemas/
|
|
4762
|
+
"$ref": "#/components/schemas/BazaarResponseSpecialized"
|
|
4544
4763
|
}
|
|
4545
4764
|
}
|
|
4546
4765
|
}
|
|
@@ -4551,29 +4770,128 @@
|
|
|
4551
4770
|
"api_key": []
|
|
4552
4771
|
}
|
|
4553
4772
|
],
|
|
4554
|
-
"x-stability": "
|
|
4773
|
+
"x-stability": "Unstable"
|
|
4555
4774
|
}
|
|
4556
4775
|
},
|
|
4557
|
-
"/market/
|
|
4776
|
+
"/market/{id}/itemmarket": {
|
|
4558
4777
|
"get": {
|
|
4559
4778
|
"tags": [
|
|
4560
4779
|
"Market"
|
|
4561
4780
|
],
|
|
4562
|
-
"summary": "Get
|
|
4781
|
+
"summary": "Get item market listings",
|
|
4563
4782
|
"description": "Requires public access key. <br>",
|
|
4564
|
-
"operationId": "
|
|
4783
|
+
"operationId": "f535a33bf405e7bd60918e536f827e5c",
|
|
4565
4784
|
"parameters": [
|
|
4566
4785
|
{
|
|
4567
|
-
"
|
|
4786
|
+
"name": "id",
|
|
4787
|
+
"in": "path",
|
|
4788
|
+
"description": "Item id",
|
|
4789
|
+
"required": true,
|
|
4790
|
+
"schema": {
|
|
4791
|
+
"$ref": "#/components/schemas/ItemId"
|
|
4792
|
+
}
|
|
4568
4793
|
},
|
|
4569
4794
|
{
|
|
4570
|
-
"
|
|
4795
|
+
"name": "bonus",
|
|
4796
|
+
"in": "query",
|
|
4797
|
+
"description": "Used to filter weapons with a specific bonus.",
|
|
4798
|
+
"required": false,
|
|
4799
|
+
"schema": {
|
|
4800
|
+
"$ref": "#/components/schemas/WeaponBonusEnum"
|
|
4801
|
+
}
|
|
4571
4802
|
},
|
|
4572
4803
|
{
|
|
4573
|
-
"$ref": "#/components/parameters/
|
|
4574
|
-
}
|
|
4575
|
-
|
|
4576
|
-
|
|
4804
|
+
"$ref": "#/components/parameters/ApiOffset"
|
|
4805
|
+
},
|
|
4806
|
+
{
|
|
4807
|
+
"$ref": "#/components/parameters/ApiTimestamp"
|
|
4808
|
+
},
|
|
4809
|
+
{
|
|
4810
|
+
"$ref": "#/components/parameters/ApiComment"
|
|
4811
|
+
},
|
|
4812
|
+
{
|
|
4813
|
+
"$ref": "#/components/parameters/ApiKeyPublic"
|
|
4814
|
+
}
|
|
4815
|
+
],
|
|
4816
|
+
"responses": {
|
|
4817
|
+
"200": {
|
|
4818
|
+
"description": "Successful operation",
|
|
4819
|
+
"content": {
|
|
4820
|
+
"application/json": {
|
|
4821
|
+
"schema": {
|
|
4822
|
+
"$ref": "#/components/schemas/MarketItemMarketResponse"
|
|
4823
|
+
}
|
|
4824
|
+
}
|
|
4825
|
+
}
|
|
4826
|
+
}
|
|
4827
|
+
},
|
|
4828
|
+
"security": [
|
|
4829
|
+
{
|
|
4830
|
+
"api_key": []
|
|
4831
|
+
}
|
|
4832
|
+
],
|
|
4833
|
+
"x-stability": "Unstable"
|
|
4834
|
+
}
|
|
4835
|
+
},
|
|
4836
|
+
"/market/lookup": {
|
|
4837
|
+
"get": {
|
|
4838
|
+
"tags": [
|
|
4839
|
+
"Market"
|
|
4840
|
+
],
|
|
4841
|
+
"summary": "Get all available market selections",
|
|
4842
|
+
"description": "Requires public access key. <br>",
|
|
4843
|
+
"operationId": "22a00095ad734485b6dacdc12c1f62ff",
|
|
4844
|
+
"parameters": [
|
|
4845
|
+
{
|
|
4846
|
+
"$ref": "#/components/parameters/ApiTimestamp"
|
|
4847
|
+
},
|
|
4848
|
+
{
|
|
4849
|
+
"$ref": "#/components/parameters/ApiComment"
|
|
4850
|
+
},
|
|
4851
|
+
{
|
|
4852
|
+
"$ref": "#/components/parameters/ApiKeyPublic"
|
|
4853
|
+
}
|
|
4854
|
+
],
|
|
4855
|
+
"responses": {
|
|
4856
|
+
"200": {
|
|
4857
|
+
"description": "Successful operation",
|
|
4858
|
+
"content": {
|
|
4859
|
+
"application/json": {
|
|
4860
|
+
"schema": {
|
|
4861
|
+
"$ref": "#/components/schemas/MarketLookupResponse"
|
|
4862
|
+
}
|
|
4863
|
+
}
|
|
4864
|
+
}
|
|
4865
|
+
}
|
|
4866
|
+
},
|
|
4867
|
+
"security": [
|
|
4868
|
+
{
|
|
4869
|
+
"api_key": []
|
|
4870
|
+
}
|
|
4871
|
+
],
|
|
4872
|
+
"x-stability": "Stable"
|
|
4873
|
+
}
|
|
4874
|
+
},
|
|
4875
|
+
"/market/timestamp": {
|
|
4876
|
+
"get": {
|
|
4877
|
+
"tags": [
|
|
4878
|
+
"Market"
|
|
4879
|
+
],
|
|
4880
|
+
"summary": "Get current server time",
|
|
4881
|
+
"description": "Requires public access key. <br>",
|
|
4882
|
+
"operationId": "ad0c908328835d9672d157fe84eac884",
|
|
4883
|
+
"parameters": [
|
|
4884
|
+
{
|
|
4885
|
+
"$ref": "#/components/parameters/ApiTimestamp"
|
|
4886
|
+
},
|
|
4887
|
+
{
|
|
4888
|
+
"$ref": "#/components/parameters/ApiComment"
|
|
4889
|
+
},
|
|
4890
|
+
{
|
|
4891
|
+
"$ref": "#/components/parameters/ApiKeyPublic"
|
|
4892
|
+
}
|
|
4893
|
+
],
|
|
4894
|
+
"responses": {
|
|
4577
4895
|
"200": {
|
|
4578
4896
|
"description": "Successful operation",
|
|
4579
4897
|
"content": {
|
|
@@ -4625,6 +4943,15 @@
|
|
|
4625
4943
|
"$ref": "#/components/schemas/ItemId"
|
|
4626
4944
|
}
|
|
4627
4945
|
},
|
|
4946
|
+
{
|
|
4947
|
+
"name": "cat",
|
|
4948
|
+
"in": "query",
|
|
4949
|
+
"description": "Category of specialized bazaars returned",
|
|
4950
|
+
"required": false,
|
|
4951
|
+
"schema": {
|
|
4952
|
+
"$ref": "#/components/schemas/MarketSpecializedBazaarCategoryEnum"
|
|
4953
|
+
}
|
|
4954
|
+
},
|
|
4628
4955
|
{
|
|
4629
4956
|
"name": "bonus",
|
|
4630
4957
|
"in": "query",
|
|
@@ -4667,6 +4994,12 @@
|
|
|
4667
4994
|
"application/json": {
|
|
4668
4995
|
"schema": {
|
|
4669
4996
|
"anyOf": [
|
|
4997
|
+
{
|
|
4998
|
+
"$ref": "#/components/schemas/BazaarResponse"
|
|
4999
|
+
},
|
|
5000
|
+
{
|
|
5001
|
+
"$ref": "#/components/schemas/BazaarResponseSpecialized"
|
|
5002
|
+
},
|
|
4670
5003
|
{
|
|
4671
5004
|
"$ref": "#/components/schemas/MarketItemMarketResponse"
|
|
4672
5005
|
},
|
|
@@ -10440,6 +10773,35 @@
|
|
|
10440
10773
|
"custom"
|
|
10441
10774
|
]
|
|
10442
10775
|
},
|
|
10776
|
+
"MarketSpecializedBazaarCategoryEnum": {
|
|
10777
|
+
"type": "string",
|
|
10778
|
+
"enum": [
|
|
10779
|
+
"Alcohol",
|
|
10780
|
+
"Artifact",
|
|
10781
|
+
"Booster",
|
|
10782
|
+
"Candy",
|
|
10783
|
+
"Car",
|
|
10784
|
+
"Clothing",
|
|
10785
|
+
"Collectible",
|
|
10786
|
+
"Defensive",
|
|
10787
|
+
"Drug",
|
|
10788
|
+
"Energy Drink",
|
|
10789
|
+
"Enhancer",
|
|
10790
|
+
"Flower",
|
|
10791
|
+
"Jewelry",
|
|
10792
|
+
"Material",
|
|
10793
|
+
"Medical",
|
|
10794
|
+
"Melee",
|
|
10795
|
+
"Other",
|
|
10796
|
+
"Plushie",
|
|
10797
|
+
"Primary",
|
|
10798
|
+
"Secondary",
|
|
10799
|
+
"Special",
|
|
10800
|
+
"Supply Pack",
|
|
10801
|
+
"Temporary",
|
|
10802
|
+
"Tool"
|
|
10803
|
+
]
|
|
10804
|
+
},
|
|
10443
10805
|
"FactionPositionAbilityEnum": {
|
|
10444
10806
|
"type": "string",
|
|
10445
10807
|
"enum": [
|
|
@@ -10826,7 +11188,8 @@
|
|
|
10826
11188
|
"enum": [
|
|
10827
11189
|
"accepted",
|
|
10828
11190
|
"declined",
|
|
10829
|
-
"withdrawn"
|
|
11191
|
+
"withdrawn",
|
|
11192
|
+
"active"
|
|
10830
11193
|
]
|
|
10831
11194
|
},
|
|
10832
11195
|
"FactionRankedWarsCategoryEnum": {
|
|
@@ -10857,6 +11220,10 @@
|
|
|
10857
11220
|
"type": "integer",
|
|
10858
11221
|
"format": "int32"
|
|
10859
11222
|
},
|
|
11223
|
+
"DirtyBombId": {
|
|
11224
|
+
"type": "integer",
|
|
11225
|
+
"format": "int32"
|
|
11226
|
+
},
|
|
10860
11227
|
"RaceTrackId": {
|
|
10861
11228
|
"type": "integer",
|
|
10862
11229
|
"format": "int32"
|
|
@@ -10889,6 +11256,10 @@
|
|
|
10889
11256
|
"type": "integer",
|
|
10890
11257
|
"format": "int32"
|
|
10891
11258
|
},
|
|
11259
|
+
"RaidWarId": {
|
|
11260
|
+
"type": "integer",
|
|
11261
|
+
"format": "int32"
|
|
11262
|
+
},
|
|
10892
11263
|
"ItemUid": {
|
|
10893
11264
|
"type": "integer",
|
|
10894
11265
|
"format": "int64"
|
|
@@ -11064,6 +11435,16 @@
|
|
|
11064
11435
|
"Unknown"
|
|
11065
11436
|
]
|
|
11066
11437
|
},
|
|
11438
|
+
"FactionWarfareTypeEnum": {
|
|
11439
|
+
"type": "string",
|
|
11440
|
+
"enum": [
|
|
11441
|
+
"ranked",
|
|
11442
|
+
"territory",
|
|
11443
|
+
"raid",
|
|
11444
|
+
"chain",
|
|
11445
|
+
"db"
|
|
11446
|
+
]
|
|
11447
|
+
},
|
|
11067
11448
|
"FactionCrimeStatusEnum": {
|
|
11068
11449
|
"type": "string",
|
|
11069
11450
|
"enum": [
|
|
@@ -12436,12 +12817,6 @@
|
|
|
12436
12817
|
"type": "integer",
|
|
12437
12818
|
"format": "int32"
|
|
12438
12819
|
},
|
|
12439
|
-
"sci-fi": {
|
|
12440
|
-
"description": "This is replaced with 'sci_fi' field and will be removed on 1st June 2025.",
|
|
12441
|
-
"type": "integer",
|
|
12442
|
-
"format": "int32",
|
|
12443
|
-
"deprecated": true
|
|
12444
|
-
},
|
|
12445
12820
|
"sci_fi": {
|
|
12446
12821
|
"type": "integer",
|
|
12447
12822
|
"format": "int32"
|
|
@@ -16826,6 +17201,322 @@
|
|
|
16826
17201
|
"scammingskill"
|
|
16827
17202
|
]
|
|
16828
17203
|
},
|
|
17204
|
+
"FactionRaidReport": {
|
|
17205
|
+
"required": [
|
|
17206
|
+
"id",
|
|
17207
|
+
"start",
|
|
17208
|
+
"end",
|
|
17209
|
+
"aggressor",
|
|
17210
|
+
"defender"
|
|
17211
|
+
],
|
|
17212
|
+
"properties": {
|
|
17213
|
+
"id": {
|
|
17214
|
+
"$ref": "#/components/schemas/RaidWarId"
|
|
17215
|
+
},
|
|
17216
|
+
"start": {
|
|
17217
|
+
"type": "integer",
|
|
17218
|
+
"format": "int32"
|
|
17219
|
+
},
|
|
17220
|
+
"end": {
|
|
17221
|
+
"type": "integer",
|
|
17222
|
+
"format": "int32"
|
|
17223
|
+
},
|
|
17224
|
+
"aggressor": {
|
|
17225
|
+
"$ref": "#/components/schemas/FactionRaidReportFaction"
|
|
17226
|
+
},
|
|
17227
|
+
"defender": {
|
|
17228
|
+
"$ref": "#/components/schemas/FactionRaidReportFaction"
|
|
17229
|
+
}
|
|
17230
|
+
},
|
|
17231
|
+
"type": "object"
|
|
17232
|
+
},
|
|
17233
|
+
"FactionRaidReportFaction": {
|
|
17234
|
+
"required": [
|
|
17235
|
+
"id",
|
|
17236
|
+
"name",
|
|
17237
|
+
"score",
|
|
17238
|
+
"attackers",
|
|
17239
|
+
"non_attackers"
|
|
17240
|
+
],
|
|
17241
|
+
"properties": {
|
|
17242
|
+
"id": {
|
|
17243
|
+
"$ref": "#/components/schemas/FactionId"
|
|
17244
|
+
},
|
|
17245
|
+
"name": {
|
|
17246
|
+
"type": "string"
|
|
17247
|
+
},
|
|
17248
|
+
"score": {
|
|
17249
|
+
"type": "number",
|
|
17250
|
+
"format": "float"
|
|
17251
|
+
},
|
|
17252
|
+
"attackers": {
|
|
17253
|
+
"type": "array",
|
|
17254
|
+
"items": {
|
|
17255
|
+
"$ref": "#/components/schemas/FactionRaidReportAttacker"
|
|
17256
|
+
}
|
|
17257
|
+
},
|
|
17258
|
+
"non_attackers": {
|
|
17259
|
+
"type": "array",
|
|
17260
|
+
"items": {
|
|
17261
|
+
"$ref": "#/components/schemas/FactionRaidReportUser"
|
|
17262
|
+
}
|
|
17263
|
+
}
|
|
17264
|
+
},
|
|
17265
|
+
"type": "object"
|
|
17266
|
+
},
|
|
17267
|
+
"FactionRaidReportAttacker": {
|
|
17268
|
+
"required": [
|
|
17269
|
+
"user",
|
|
17270
|
+
"attacks",
|
|
17271
|
+
"damage"
|
|
17272
|
+
],
|
|
17273
|
+
"properties": {
|
|
17274
|
+
"user": {
|
|
17275
|
+
"$ref": "#/components/schemas/FactionRaidReportUser"
|
|
17276
|
+
},
|
|
17277
|
+
"attacks": {
|
|
17278
|
+
"type": "integer",
|
|
17279
|
+
"format": "int32"
|
|
17280
|
+
},
|
|
17281
|
+
"damage": {
|
|
17282
|
+
"type": "number",
|
|
17283
|
+
"format": "float"
|
|
17284
|
+
}
|
|
17285
|
+
},
|
|
17286
|
+
"type": "object"
|
|
17287
|
+
},
|
|
17288
|
+
"FactionRaidReportUser": {
|
|
17289
|
+
"required": [
|
|
17290
|
+
"id",
|
|
17291
|
+
"name"
|
|
17292
|
+
],
|
|
17293
|
+
"properties": {
|
|
17294
|
+
"id": {
|
|
17295
|
+
"$ref": "#/components/schemas/UserId"
|
|
17296
|
+
},
|
|
17297
|
+
"name": {
|
|
17298
|
+
"type": "string"
|
|
17299
|
+
}
|
|
17300
|
+
},
|
|
17301
|
+
"type": "object"
|
|
17302
|
+
},
|
|
17303
|
+
"FactionRaidWarReportResponse": {
|
|
17304
|
+
"required": [
|
|
17305
|
+
"raidreport"
|
|
17306
|
+
],
|
|
17307
|
+
"properties": {
|
|
17308
|
+
"raidreport": {
|
|
17309
|
+
"type": "array",
|
|
17310
|
+
"items": {
|
|
17311
|
+
"$ref": "#/components/schemas/FactionRaidReport"
|
|
17312
|
+
}
|
|
17313
|
+
}
|
|
17314
|
+
},
|
|
17315
|
+
"type": "object"
|
|
17316
|
+
},
|
|
17317
|
+
"FactionWarfareDirtyBomb": {
|
|
17318
|
+
"required": [
|
|
17319
|
+
"id",
|
|
17320
|
+
"planted_at",
|
|
17321
|
+
"detonated_at",
|
|
17322
|
+
"faction",
|
|
17323
|
+
"user"
|
|
17324
|
+
],
|
|
17325
|
+
"properties": {
|
|
17326
|
+
"id": {
|
|
17327
|
+
"$ref": "#/components/schemas/DirtyBombId"
|
|
17328
|
+
},
|
|
17329
|
+
"planted_at": {
|
|
17330
|
+
"type": "integer",
|
|
17331
|
+
"format": "int32"
|
|
17332
|
+
},
|
|
17333
|
+
"detonated_at": {
|
|
17334
|
+
"type": "integer",
|
|
17335
|
+
"format": "int32"
|
|
17336
|
+
},
|
|
17337
|
+
"faction": {
|
|
17338
|
+
"$ref": "#/components/schemas/FactionWarfareDirtyBombTargetFaction"
|
|
17339
|
+
},
|
|
17340
|
+
"user": {
|
|
17341
|
+
"oneOf": [
|
|
17342
|
+
{
|
|
17343
|
+
"$ref": "#/components/schemas/FactionWarfareDirtyBombPlanter"
|
|
17344
|
+
},
|
|
17345
|
+
{
|
|
17346
|
+
"type": "null"
|
|
17347
|
+
}
|
|
17348
|
+
]
|
|
17349
|
+
}
|
|
17350
|
+
},
|
|
17351
|
+
"type": "object"
|
|
17352
|
+
},
|
|
17353
|
+
"FactionWarfareDirtyBombTargetFaction": {
|
|
17354
|
+
"required": [
|
|
17355
|
+
"id",
|
|
17356
|
+
"name",
|
|
17357
|
+
"respect_lost"
|
|
17358
|
+
],
|
|
17359
|
+
"properties": {
|
|
17360
|
+
"id": {
|
|
17361
|
+
"$ref": "#/components/schemas/FactionId"
|
|
17362
|
+
},
|
|
17363
|
+
"name": {
|
|
17364
|
+
"type": "string"
|
|
17365
|
+
},
|
|
17366
|
+
"respect_lost": {
|
|
17367
|
+
"type": "integer",
|
|
17368
|
+
"format": "int32"
|
|
17369
|
+
}
|
|
17370
|
+
},
|
|
17371
|
+
"type": "object"
|
|
17372
|
+
},
|
|
17373
|
+
"FactionWarfareDirtyBombPlanter": {
|
|
17374
|
+
"required": [
|
|
17375
|
+
"id",
|
|
17376
|
+
"name"
|
|
17377
|
+
],
|
|
17378
|
+
"properties": {
|
|
17379
|
+
"id": {
|
|
17380
|
+
"$ref": "#/components/schemas/UserId"
|
|
17381
|
+
},
|
|
17382
|
+
"name": {
|
|
17383
|
+
"type": "string"
|
|
17384
|
+
}
|
|
17385
|
+
},
|
|
17386
|
+
"type": "object"
|
|
17387
|
+
},
|
|
17388
|
+
"FactionRaidWarfare": {
|
|
17389
|
+
"required": [
|
|
17390
|
+
"id",
|
|
17391
|
+
"start",
|
|
17392
|
+
"end",
|
|
17393
|
+
"aggressor",
|
|
17394
|
+
"defender"
|
|
17395
|
+
],
|
|
17396
|
+
"properties": {
|
|
17397
|
+
"id": {
|
|
17398
|
+
"$ref": "#/components/schemas/RaidWarId"
|
|
17399
|
+
},
|
|
17400
|
+
"start": {
|
|
17401
|
+
"type": "integer",
|
|
17402
|
+
"format": "int32"
|
|
17403
|
+
},
|
|
17404
|
+
"end": {
|
|
17405
|
+
"oneOf": [
|
|
17406
|
+
{
|
|
17407
|
+
"type": "integer",
|
|
17408
|
+
"format": "int32"
|
|
17409
|
+
},
|
|
17410
|
+
{
|
|
17411
|
+
"type": "null"
|
|
17412
|
+
}
|
|
17413
|
+
]
|
|
17414
|
+
},
|
|
17415
|
+
"aggressor": {
|
|
17416
|
+
"$ref": "#/components/schemas/FactionRaidWarfareFaction"
|
|
17417
|
+
},
|
|
17418
|
+
"defender": {
|
|
17419
|
+
"$ref": "#/components/schemas/FactionRaidWarfareFaction"
|
|
17420
|
+
}
|
|
17421
|
+
},
|
|
17422
|
+
"type": "object"
|
|
17423
|
+
},
|
|
17424
|
+
"FactionRaidWarfareFaction": {
|
|
17425
|
+
"description": "The field 'chain' exists only if the field 'end' is NOT populated in FactionRaidWarfare schema.",
|
|
17426
|
+
"required": [
|
|
17427
|
+
"id",
|
|
17428
|
+
"name",
|
|
17429
|
+
"score"
|
|
17430
|
+
],
|
|
17431
|
+
"properties": {
|
|
17432
|
+
"id": {
|
|
17433
|
+
"$ref": "#/components/schemas/FactionId"
|
|
17434
|
+
},
|
|
17435
|
+
"name": {
|
|
17436
|
+
"type": "string"
|
|
17437
|
+
},
|
|
17438
|
+
"score": {
|
|
17439
|
+
"type": "number",
|
|
17440
|
+
"format": "float"
|
|
17441
|
+
},
|
|
17442
|
+
"chain": {
|
|
17443
|
+
"type": "integer",
|
|
17444
|
+
"format": "int32"
|
|
17445
|
+
}
|
|
17446
|
+
},
|
|
17447
|
+
"type": "object"
|
|
17448
|
+
},
|
|
17449
|
+
"FactionTerritoryWarfare": {
|
|
17450
|
+
"required": [
|
|
17451
|
+
"id",
|
|
17452
|
+
"territory",
|
|
17453
|
+
"start",
|
|
17454
|
+
"end",
|
|
17455
|
+
"target",
|
|
17456
|
+
"aggressor",
|
|
17457
|
+
"defender",
|
|
17458
|
+
"result"
|
|
17459
|
+
],
|
|
17460
|
+
"properties": {
|
|
17461
|
+
"id": {
|
|
17462
|
+
"$ref": "#/components/schemas/TerritoryWarId"
|
|
17463
|
+
},
|
|
17464
|
+
"territory": {
|
|
17465
|
+
"$ref": "#/components/schemas/FactionTerritoryEnum"
|
|
17466
|
+
},
|
|
17467
|
+
"start": {
|
|
17468
|
+
"type": "integer",
|
|
17469
|
+
"format": "int32"
|
|
17470
|
+
},
|
|
17471
|
+
"end": {
|
|
17472
|
+
"type": "integer",
|
|
17473
|
+
"format": "int32"
|
|
17474
|
+
},
|
|
17475
|
+
"target": {
|
|
17476
|
+
"type": "integer",
|
|
17477
|
+
"format": "int32"
|
|
17478
|
+
},
|
|
17479
|
+
"aggressor": {
|
|
17480
|
+
"$ref": "#/components/schemas/FactionTerritoryWarFaction"
|
|
17481
|
+
},
|
|
17482
|
+
"defender": {
|
|
17483
|
+
"$ref": "#/components/schemas/FactionTerritoryWarFaction"
|
|
17484
|
+
},
|
|
17485
|
+
"result": {
|
|
17486
|
+
"type": "string"
|
|
17487
|
+
}
|
|
17488
|
+
},
|
|
17489
|
+
"type": "object"
|
|
17490
|
+
},
|
|
17491
|
+
"FactionTerritoryWarFaction": {
|
|
17492
|
+
"description": "The fields 'chain' and 'players_on_wall' exist only for wars with the result 'in_progress'.",
|
|
17493
|
+
"required": [
|
|
17494
|
+
"id",
|
|
17495
|
+
"name",
|
|
17496
|
+
"score"
|
|
17497
|
+
],
|
|
17498
|
+
"properties": {
|
|
17499
|
+
"id": {
|
|
17500
|
+
"$ref": "#/components/schemas/FactionId"
|
|
17501
|
+
},
|
|
17502
|
+
"name": {
|
|
17503
|
+
"type": "string"
|
|
17504
|
+
},
|
|
17505
|
+
"score": {
|
|
17506
|
+
"type": "integer",
|
|
17507
|
+
"format": "int32"
|
|
17508
|
+
},
|
|
17509
|
+
"chain": {
|
|
17510
|
+
"type": "integer",
|
|
17511
|
+
"format": "int32"
|
|
17512
|
+
},
|
|
17513
|
+
"players_on_wall": {
|
|
17514
|
+
"type": "array",
|
|
17515
|
+
"items": {}
|
|
17516
|
+
}
|
|
17517
|
+
},
|
|
17518
|
+
"type": "object"
|
|
17519
|
+
},
|
|
16829
17520
|
"FactionTerritoryWarFinishedFaction": {
|
|
16830
17521
|
"required": [
|
|
16831
17522
|
"id",
|
|
@@ -17885,10 +18576,6 @@
|
|
|
17885
18576
|
"leader_id": {
|
|
17886
18577
|
"$ref": "#/components/schemas/UserId"
|
|
17887
18578
|
},
|
|
17888
|
-
"co-leader_id": {
|
|
17889
|
-
"$ref": "#/components/schemas/UserId",
|
|
17890
|
-
"description": "This is replaced with 'co_leader_id' field and will be removed on 1st June 2025."
|
|
17891
|
-
},
|
|
17892
18579
|
"co_leader_id": {
|
|
17893
18580
|
"$ref": "#/components/schemas/UserId"
|
|
17894
18581
|
},
|
|
@@ -18290,6 +18977,24 @@
|
|
|
18290
18977
|
},
|
|
18291
18978
|
"type": "object"
|
|
18292
18979
|
},
|
|
18980
|
+
"FactionRaidsResponse": {
|
|
18981
|
+
"required": [
|
|
18982
|
+
"raids",
|
|
18983
|
+
"_metadata"
|
|
18984
|
+
],
|
|
18985
|
+
"properties": {
|
|
18986
|
+
"raids": {
|
|
18987
|
+
"type": "array",
|
|
18988
|
+
"items": {
|
|
18989
|
+
"$ref": "#/components/schemas/FactionRaidWarfare"
|
|
18990
|
+
}
|
|
18991
|
+
},
|
|
18992
|
+
"_metadata": {
|
|
18993
|
+
"$ref": "#/components/schemas/RequestMetadataWithLinks"
|
|
18994
|
+
}
|
|
18995
|
+
},
|
|
18996
|
+
"type": "object"
|
|
18997
|
+
},
|
|
18293
18998
|
"FactionAttacksResponse": {
|
|
18294
18999
|
"required": [
|
|
18295
19000
|
"attacks",
|
|
@@ -18502,8 +19207,38 @@
|
|
|
18502
19207
|
"type": "integer",
|
|
18503
19208
|
"format": "int32"
|
|
18504
19209
|
}
|
|
18505
|
-
},
|
|
18506
|
-
"type": "object"
|
|
19210
|
+
},
|
|
19211
|
+
"type": "object"
|
|
19212
|
+
},
|
|
19213
|
+
"FactionChainWarfare": {
|
|
19214
|
+
"allOf": [
|
|
19215
|
+
{
|
|
19216
|
+
"$ref": "#/components/schemas/FactionChain"
|
|
19217
|
+
},
|
|
19218
|
+
{
|
|
19219
|
+
"required": [
|
|
19220
|
+
"faction"
|
|
19221
|
+
],
|
|
19222
|
+
"properties": {
|
|
19223
|
+
"faction": {
|
|
19224
|
+
"required": [
|
|
19225
|
+
"id",
|
|
19226
|
+
"name"
|
|
19227
|
+
],
|
|
19228
|
+
"properties": {
|
|
19229
|
+
"id": {
|
|
19230
|
+
"$ref": "#/components/schemas/FactionId"
|
|
19231
|
+
},
|
|
19232
|
+
"name": {
|
|
19233
|
+
"type": "string"
|
|
19234
|
+
}
|
|
19235
|
+
},
|
|
19236
|
+
"type": "object"
|
|
19237
|
+
}
|
|
19238
|
+
},
|
|
19239
|
+
"type": "object"
|
|
19240
|
+
}
|
|
19241
|
+
]
|
|
18507
19242
|
},
|
|
18508
19243
|
"FactionChainsResponse": {
|
|
18509
19244
|
"required": [
|
|
@@ -18575,14 +19310,6 @@
|
|
|
18575
19310
|
"$ref": "#/components/schemas/FactionChainReportAttacker"
|
|
18576
19311
|
}
|
|
18577
19312
|
},
|
|
18578
|
-
"non-attackers": {
|
|
18579
|
-
"description": "This is replaced with 'non_attackers' field and will be removed on 1st June 2025.",
|
|
18580
|
-
"type": "array",
|
|
18581
|
-
"items": {
|
|
18582
|
-
"$ref": "#/components/schemas/UserId"
|
|
18583
|
-
},
|
|
18584
|
-
"deprecated": true
|
|
18585
|
-
},
|
|
18586
19313
|
"non_attackers": {
|
|
18587
19314
|
"type": "array",
|
|
18588
19315
|
"items": {
|
|
@@ -19211,6 +19938,8 @@
|
|
|
19211
19938
|
"news",
|
|
19212
19939
|
"positions",
|
|
19213
19940
|
"rackets",
|
|
19941
|
+
"raidreport",
|
|
19942
|
+
"raids",
|
|
19214
19943
|
"rankedwars",
|
|
19215
19944
|
"rankedwarreport",
|
|
19216
19945
|
"reports",
|
|
@@ -19224,6 +19953,7 @@
|
|
|
19224
19953
|
"territorywars",
|
|
19225
19954
|
"timestamp",
|
|
19226
19955
|
"upgrades",
|
|
19956
|
+
"warfare",
|
|
19227
19957
|
"wars",
|
|
19228
19958
|
"armor",
|
|
19229
19959
|
"boosters",
|
|
@@ -19341,6 +20071,52 @@
|
|
|
19341
20071
|
},
|
|
19342
20072
|
"type": "object"
|
|
19343
20073
|
},
|
|
20074
|
+
"FactionWarfareResponse": {
|
|
20075
|
+
"required": [
|
|
20076
|
+
"warfare",
|
|
20077
|
+
"_metadata"
|
|
20078
|
+
],
|
|
20079
|
+
"properties": {
|
|
20080
|
+
"warfare": {
|
|
20081
|
+
"oneOf": [
|
|
20082
|
+
{
|
|
20083
|
+
"type": "array",
|
|
20084
|
+
"items": {
|
|
20085
|
+
"$ref": "#/components/schemas/FactionRankedWarDetails"
|
|
20086
|
+
}
|
|
20087
|
+
},
|
|
20088
|
+
{
|
|
20089
|
+
"type": "array",
|
|
20090
|
+
"items": {
|
|
20091
|
+
"$ref": "#/components/schemas/FactionTerritoryWarfare"
|
|
20092
|
+
}
|
|
20093
|
+
},
|
|
20094
|
+
{
|
|
20095
|
+
"type": "array",
|
|
20096
|
+
"items": {
|
|
20097
|
+
"$ref": "#/components/schemas/FactionChainWarfare"
|
|
20098
|
+
}
|
|
20099
|
+
},
|
|
20100
|
+
{
|
|
20101
|
+
"type": "array",
|
|
20102
|
+
"items": {
|
|
20103
|
+
"$ref": "#/components/schemas/FactionRaidWarfare"
|
|
20104
|
+
}
|
|
20105
|
+
},
|
|
20106
|
+
{
|
|
20107
|
+
"type": "array",
|
|
20108
|
+
"items": {
|
|
20109
|
+
"$ref": "#/components/schemas/FactionWarfareDirtyBomb"
|
|
20110
|
+
}
|
|
20111
|
+
}
|
|
20112
|
+
]
|
|
20113
|
+
},
|
|
20114
|
+
"_metadata": {
|
|
20115
|
+
"$ref": "#/components/schemas/RequestMetadataWithLinks"
|
|
20116
|
+
}
|
|
20117
|
+
},
|
|
20118
|
+
"type": "object"
|
|
20119
|
+
},
|
|
19344
20120
|
"FactionRankedWarReportResponse": {
|
|
19345
20121
|
"required": [
|
|
19346
20122
|
"rankedwarreport"
|
|
@@ -20188,6 +20964,284 @@
|
|
|
20188
20964
|
}
|
|
20189
20965
|
]
|
|
20190
20966
|
},
|
|
20967
|
+
"BazaarWeekly": {
|
|
20968
|
+
"required": [
|
|
20969
|
+
"busiest",
|
|
20970
|
+
"most_popular",
|
|
20971
|
+
"trending",
|
|
20972
|
+
"top_grossing",
|
|
20973
|
+
"bulk",
|
|
20974
|
+
"advanced_item",
|
|
20975
|
+
"bargain",
|
|
20976
|
+
"dollar_sale"
|
|
20977
|
+
],
|
|
20978
|
+
"properties": {
|
|
20979
|
+
"busiest": {
|
|
20980
|
+
"type": "array",
|
|
20981
|
+
"items": {
|
|
20982
|
+
"$ref": "#/components/schemas/BazaarWeeklyCustomers"
|
|
20983
|
+
}
|
|
20984
|
+
},
|
|
20985
|
+
"most_popular": {
|
|
20986
|
+
"type": "array",
|
|
20987
|
+
"items": {
|
|
20988
|
+
"$ref": "#/components/schemas/BazaarTotalFavorites"
|
|
20989
|
+
}
|
|
20990
|
+
},
|
|
20991
|
+
"trending": {
|
|
20992
|
+
"type": "array",
|
|
20993
|
+
"items": {
|
|
20994
|
+
"$ref": "#/components/schemas/BazaarRecentFavorites"
|
|
20995
|
+
}
|
|
20996
|
+
},
|
|
20997
|
+
"top_grossing": {
|
|
20998
|
+
"type": "array",
|
|
20999
|
+
"items": {
|
|
21000
|
+
"$ref": "#/components/schemas/BazaarWeeklyIncome"
|
|
21001
|
+
}
|
|
21002
|
+
},
|
|
21003
|
+
"bulk": {
|
|
21004
|
+
"type": "array",
|
|
21005
|
+
"items": {
|
|
21006
|
+
"$ref": "#/components/schemas/BazaarBulkSales"
|
|
21007
|
+
}
|
|
21008
|
+
},
|
|
21009
|
+
"advanced_item": {
|
|
21010
|
+
"type": "array",
|
|
21011
|
+
"items": {
|
|
21012
|
+
"$ref": "#/components/schemas/BazaarAdvancedItemSales"
|
|
21013
|
+
}
|
|
21014
|
+
},
|
|
21015
|
+
"bargain": {
|
|
21016
|
+
"type": "array",
|
|
21017
|
+
"items": {
|
|
21018
|
+
"$ref": "#/components/schemas/BazaarBargainSales"
|
|
21019
|
+
}
|
|
21020
|
+
},
|
|
21021
|
+
"dollar_sale": {
|
|
21022
|
+
"type": "array",
|
|
21023
|
+
"items": {
|
|
21024
|
+
"$ref": "#/components/schemas/BazaarDollarSales"
|
|
21025
|
+
}
|
|
21026
|
+
}
|
|
21027
|
+
},
|
|
21028
|
+
"type": "object"
|
|
21029
|
+
},
|
|
21030
|
+
"BazaarSpecialized": {
|
|
21031
|
+
"required": [
|
|
21032
|
+
"specialized"
|
|
21033
|
+
],
|
|
21034
|
+
"properties": {
|
|
21035
|
+
"specialized": {
|
|
21036
|
+
"type": "array",
|
|
21037
|
+
"items": {
|
|
21038
|
+
"$ref": "#/components/schemas/BazaarWeeklyCustomers"
|
|
21039
|
+
}
|
|
21040
|
+
}
|
|
21041
|
+
},
|
|
21042
|
+
"type": "object"
|
|
21043
|
+
},
|
|
21044
|
+
"BazaarResponse": {
|
|
21045
|
+
"required": [
|
|
21046
|
+
"bazaar"
|
|
21047
|
+
],
|
|
21048
|
+
"properties": {
|
|
21049
|
+
"bazaar": {
|
|
21050
|
+
"description": "If there's a specific item ID passed or a category chosen, the response will be of type 'BazaarSpecialized', otherwise it will be 'BazaarWeekly'.",
|
|
21051
|
+
"oneOf": [
|
|
21052
|
+
{
|
|
21053
|
+
"$ref": "#/components/schemas/BazaarWeekly"
|
|
21054
|
+
},
|
|
21055
|
+
{
|
|
21056
|
+
"$ref": "#/components/schemas/BazaarSpecialized"
|
|
21057
|
+
}
|
|
21058
|
+
]
|
|
21059
|
+
}
|
|
21060
|
+
},
|
|
21061
|
+
"type": "object"
|
|
21062
|
+
},
|
|
21063
|
+
"BazaarResponseSpecialized": {
|
|
21064
|
+
"required": [
|
|
21065
|
+
"bazaar"
|
|
21066
|
+
],
|
|
21067
|
+
"properties": {
|
|
21068
|
+
"bazaar": {
|
|
21069
|
+
"$ref": "#/components/schemas/BazaarSpecialized"
|
|
21070
|
+
}
|
|
21071
|
+
},
|
|
21072
|
+
"type": "object"
|
|
21073
|
+
},
|
|
21074
|
+
"Bazaar": {
|
|
21075
|
+
"required": [
|
|
21076
|
+
"id",
|
|
21077
|
+
"name",
|
|
21078
|
+
"is_open"
|
|
21079
|
+
],
|
|
21080
|
+
"properties": {
|
|
21081
|
+
"id": {
|
|
21082
|
+
"$ref": "#/components/schemas/UserId"
|
|
21083
|
+
},
|
|
21084
|
+
"name": {
|
|
21085
|
+
"type": "string"
|
|
21086
|
+
},
|
|
21087
|
+
"is_open": {
|
|
21088
|
+
"type": "boolean"
|
|
21089
|
+
}
|
|
21090
|
+
},
|
|
21091
|
+
"type": "object"
|
|
21092
|
+
},
|
|
21093
|
+
"BazaarWeeklyCustomers": {
|
|
21094
|
+
"allOf": [
|
|
21095
|
+
{
|
|
21096
|
+
"$ref": "#/components/schemas/Bazaar"
|
|
21097
|
+
},
|
|
21098
|
+
{
|
|
21099
|
+
"required": [
|
|
21100
|
+
"weekly_customers"
|
|
21101
|
+
],
|
|
21102
|
+
"properties": {
|
|
21103
|
+
"weekly_customers": {
|
|
21104
|
+
"type": "integer",
|
|
21105
|
+
"format": "int32"
|
|
21106
|
+
}
|
|
21107
|
+
},
|
|
21108
|
+
"type": "object"
|
|
21109
|
+
}
|
|
21110
|
+
]
|
|
21111
|
+
},
|
|
21112
|
+
"BazaarTotalFavorites": {
|
|
21113
|
+
"allOf": [
|
|
21114
|
+
{
|
|
21115
|
+
"$ref": "#/components/schemas/Bazaar"
|
|
21116
|
+
},
|
|
21117
|
+
{
|
|
21118
|
+
"required": [
|
|
21119
|
+
"total_favorites"
|
|
21120
|
+
],
|
|
21121
|
+
"properties": {
|
|
21122
|
+
"total_favorites": {
|
|
21123
|
+
"type": "integer",
|
|
21124
|
+
"format": "int32"
|
|
21125
|
+
}
|
|
21126
|
+
},
|
|
21127
|
+
"type": "object"
|
|
21128
|
+
}
|
|
21129
|
+
]
|
|
21130
|
+
},
|
|
21131
|
+
"BazaarRecentFavorites": {
|
|
21132
|
+
"allOf": [
|
|
21133
|
+
{
|
|
21134
|
+
"$ref": "#/components/schemas/Bazaar"
|
|
21135
|
+
},
|
|
21136
|
+
{
|
|
21137
|
+
"required": [
|
|
21138
|
+
"recent_favorites"
|
|
21139
|
+
],
|
|
21140
|
+
"properties": {
|
|
21141
|
+
"recent_favorites": {
|
|
21142
|
+
"type": "integer",
|
|
21143
|
+
"format": "int32"
|
|
21144
|
+
}
|
|
21145
|
+
},
|
|
21146
|
+
"type": "object"
|
|
21147
|
+
}
|
|
21148
|
+
]
|
|
21149
|
+
},
|
|
21150
|
+
"BazaarWeeklyIncome": {
|
|
21151
|
+
"allOf": [
|
|
21152
|
+
{
|
|
21153
|
+
"$ref": "#/components/schemas/Bazaar"
|
|
21154
|
+
},
|
|
21155
|
+
{
|
|
21156
|
+
"required": [
|
|
21157
|
+
"weekly_income"
|
|
21158
|
+
],
|
|
21159
|
+
"properties": {
|
|
21160
|
+
"weekly_income": {
|
|
21161
|
+
"type": "integer",
|
|
21162
|
+
"format": "int64"
|
|
21163
|
+
}
|
|
21164
|
+
},
|
|
21165
|
+
"type": "object"
|
|
21166
|
+
}
|
|
21167
|
+
]
|
|
21168
|
+
},
|
|
21169
|
+
"BazaarBulkSales": {
|
|
21170
|
+
"allOf": [
|
|
21171
|
+
{
|
|
21172
|
+
"$ref": "#/components/schemas/Bazaar"
|
|
21173
|
+
},
|
|
21174
|
+
{
|
|
21175
|
+
"required": [
|
|
21176
|
+
"bulk_sales"
|
|
21177
|
+
],
|
|
21178
|
+
"properties": {
|
|
21179
|
+
"bulk_sales": {
|
|
21180
|
+
"type": "integer",
|
|
21181
|
+
"format": "int32"
|
|
21182
|
+
}
|
|
21183
|
+
},
|
|
21184
|
+
"type": "object"
|
|
21185
|
+
}
|
|
21186
|
+
]
|
|
21187
|
+
},
|
|
21188
|
+
"BazaarAdvancedItemSales": {
|
|
21189
|
+
"allOf": [
|
|
21190
|
+
{
|
|
21191
|
+
"$ref": "#/components/schemas/Bazaar"
|
|
21192
|
+
},
|
|
21193
|
+
{
|
|
21194
|
+
"required": [
|
|
21195
|
+
"advanced_item_sales"
|
|
21196
|
+
],
|
|
21197
|
+
"properties": {
|
|
21198
|
+
"advanced_item_sales": {
|
|
21199
|
+
"type": "integer",
|
|
21200
|
+
"format": "int32"
|
|
21201
|
+
}
|
|
21202
|
+
},
|
|
21203
|
+
"type": "object"
|
|
21204
|
+
}
|
|
21205
|
+
]
|
|
21206
|
+
},
|
|
21207
|
+
"BazaarBargainSales": {
|
|
21208
|
+
"allOf": [
|
|
21209
|
+
{
|
|
21210
|
+
"$ref": "#/components/schemas/Bazaar"
|
|
21211
|
+
},
|
|
21212
|
+
{
|
|
21213
|
+
"required": [
|
|
21214
|
+
"bargain_sales"
|
|
21215
|
+
],
|
|
21216
|
+
"properties": {
|
|
21217
|
+
"bargain_sales": {
|
|
21218
|
+
"type": "integer",
|
|
21219
|
+
"format": "int32"
|
|
21220
|
+
}
|
|
21221
|
+
},
|
|
21222
|
+
"type": "object"
|
|
21223
|
+
}
|
|
21224
|
+
]
|
|
21225
|
+
},
|
|
21226
|
+
"BazaarDollarSales": {
|
|
21227
|
+
"allOf": [
|
|
21228
|
+
{
|
|
21229
|
+
"$ref": "#/components/schemas/Bazaar"
|
|
21230
|
+
},
|
|
21231
|
+
{
|
|
21232
|
+
"required": [
|
|
21233
|
+
"dollar_sales"
|
|
21234
|
+
],
|
|
21235
|
+
"properties": {
|
|
21236
|
+
"dollar_sales": {
|
|
21237
|
+
"type": "integer",
|
|
21238
|
+
"format": "int32"
|
|
21239
|
+
}
|
|
21240
|
+
},
|
|
21241
|
+
"type": "object"
|
|
21242
|
+
}
|
|
21243
|
+
]
|
|
21244
|
+
},
|
|
20191
21245
|
"ItemMarketListingItemBonus": {
|
|
20192
21246
|
"required": [
|
|
20193
21247
|
"id",
|
|
@@ -20413,11 +21467,11 @@
|
|
|
20413
21467
|
"description": "The following selections will fallback to API v1 and may change at any time: 'pointsmarket'.",
|
|
20414
21468
|
"type": "string",
|
|
20415
21469
|
"enum": [
|
|
21470
|
+
"bazaar",
|
|
20416
21471
|
"itemmarket",
|
|
20417
21472
|
"lookup",
|
|
20418
21473
|
"timestamp",
|
|
20419
|
-
"pointsmarket"
|
|
20420
|
-
"bazaar"
|
|
21474
|
+
"pointsmarket"
|
|
20421
21475
|
]
|
|
20422
21476
|
},
|
|
20423
21477
|
{
|
|
@@ -22416,7 +23470,7 @@
|
|
|
22416
23470
|
"TornSelectionName": {
|
|
22417
23471
|
"oneOf": [
|
|
22418
23472
|
{
|
|
22419
|
-
"description": "The following selections will fallback to API v1 and may change at any time: 'bank','cards','cityshops','companies','competition','
|
|
23473
|
+
"description": "The following selections will fallback to API v1 and may change at any time: 'bank','cards','cityshops','companies','competition','gyms','honors','itemdetails','itemstats','medals','organisedcrimes','pawnshop','pokertables','properties','rockpaperscissors','searchforcash','shoplifting','stats','stocks'.\n * The following selections are not available in API v2: 'dirtybombs','raidreport','raids', 'chainreport', 'rackets', 'rankedwarreport', 'rankedwars', 'territorynames', 'territorywarreport', 'territorywars'.",
|
|
22420
23474
|
"type": "string",
|
|
22421
23475
|
"enum": [
|
|
22422
23476
|
"attacklog",
|
|
@@ -22441,7 +23495,6 @@
|
|
|
22441
23495
|
"cityshops",
|
|
22442
23496
|
"companies",
|
|
22443
23497
|
"competition",
|
|
22444
|
-
"dirtybombs",
|
|
22445
23498
|
"gyms",
|
|
22446
23499
|
"honors",
|
|
22447
23500
|
"itemdetails",
|
|
@@ -22451,8 +23504,6 @@
|
|
|
22451
23504
|
"pawnshop",
|
|
22452
23505
|
"pokertables",
|
|
22453
23506
|
"properties",
|
|
22454
|
-
"raidreport",
|
|
22455
|
-
"raids",
|
|
22456
23507
|
"rockpaperscissors",
|
|
22457
23508
|
"searchforcash",
|
|
22458
23509
|
"shoplifting",
|