tornapi-typescript 6.8.0 → 6.9.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 +71 -3
- package/dist/index.ts +90 -3
- package/dist/openapi.json +600 -18
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -109,6 +109,7 @@ export type EducationId = number;
|
|
|
109
109
|
export type FactionBranchId = number;
|
|
110
110
|
export type FactionCrimeId = number;
|
|
111
111
|
export type TornCrimeId = number;
|
|
112
|
+
export type TornSubCrimeId = number;
|
|
112
113
|
export type ChainId = number;
|
|
113
114
|
export type AttackId = number;
|
|
114
115
|
export type AttackCode = string;
|
|
@@ -148,6 +149,7 @@ export type AwardCrimesVersionEnum = "v1" | "v2";
|
|
|
148
149
|
export type CompanySearchParameter = string;
|
|
149
150
|
export type UserSearchParameter = string;
|
|
150
151
|
export type Parameters = string;
|
|
152
|
+
export type TornShopliftingStatusTitleEnum = "One camera" | "Two cameras" | "Three cameras" | "Four cameras" | "Checkpoint" | "One guard" | "Two guards";
|
|
151
153
|
export type ReviveSetting = "Everyone" | "Friends & faction" | "No one" | "Unknown";
|
|
152
154
|
export type FactionWarfareTypeEnum = "ranked" | "territory" | "raid" | "chain" | "chainOngoing" | "db";
|
|
153
155
|
export type PropertyModificationEnum = "Hot Tub" | "Sauna" | "Open Bar" | "Small Pool" | "Medium Pool" | "Large Pool" | "Small Vault" | "Medium Vault" | "Large Vault" | "Extra Large Vault" | "Medical Facility" | "Advanced Shooting Range" | "Airstrip" | "Private Yacht" | "Sufficient Interior Modification" | "Superior Interior Modification";
|
|
@@ -1264,7 +1266,7 @@ export interface UserCrimeDetailsScamming {
|
|
|
1264
1266
|
};
|
|
1265
1267
|
}
|
|
1266
1268
|
export interface UserSubcrime {
|
|
1267
|
-
id:
|
|
1269
|
+
id: TornSubCrimeId;
|
|
1268
1270
|
total: number;
|
|
1269
1271
|
success: number;
|
|
1270
1272
|
fail: number;
|
|
@@ -2719,6 +2721,25 @@ export interface FactionRankedWarResponse {
|
|
|
2719
2721
|
rankedwars: FactionRankedWarDetails[];
|
|
2720
2722
|
_metadata: RequestMetadataWithLinks;
|
|
2721
2723
|
}
|
|
2724
|
+
export interface FactionWarfareRankedResponse {
|
|
2725
|
+
warfareranked: FactionRankedWarDetails[];
|
|
2726
|
+
_metadata: RequestMetadataWithLinks;
|
|
2727
|
+
}
|
|
2728
|
+
export interface FactionWarfareRaidsResponse {
|
|
2729
|
+
warfareraids: FactionRaidWarfare[];
|
|
2730
|
+
_metadata: RequestMetadataWithLinks;
|
|
2731
|
+
}
|
|
2732
|
+
export interface FactionWarfareTerritoryWarsResponse {
|
|
2733
|
+
warfareterritory: FactionTerritoryWarfare[];
|
|
2734
|
+
_metadata: RequestMetadataWithLinks;
|
|
2735
|
+
}
|
|
2736
|
+
export interface FactionWarfareChainsResponse {
|
|
2737
|
+
warfarechains: FactionChainWarfare[];
|
|
2738
|
+
_metadata: RequestMetadataWithLinks;
|
|
2739
|
+
}
|
|
2740
|
+
export interface FactionWarfareDirtyBombsResponse {
|
|
2741
|
+
dirtybombs: FactionWarfareDirtyBomb[];
|
|
2742
|
+
}
|
|
2722
2743
|
export interface FactionWarfareResponse {
|
|
2723
2744
|
warfare: FactionRankedWarDetails[] | FactionTerritoryWarfare[] | FactionChainWarfare[] | FactionRaidWarfare[] | FactionWarfareDirtyBomb[];
|
|
2724
2745
|
_metadata: RequestMetadataWithLinks;
|
|
@@ -3373,6 +3394,25 @@ export type PropertySelectionName = string;
|
|
|
3373
3394
|
export interface PropertyLookupResponse {
|
|
3374
3395
|
selections: PropertySelectionName[];
|
|
3375
3396
|
}
|
|
3397
|
+
export interface TornSearchForCash {
|
|
3398
|
+
id: TornSubCrimeId;
|
|
3399
|
+
title: string;
|
|
3400
|
+
percentage: number;
|
|
3401
|
+
}
|
|
3402
|
+
export interface TornSearchForCashResponse {
|
|
3403
|
+
searchforcash: TornSearchForCash[];
|
|
3404
|
+
}
|
|
3405
|
+
export interface TornShopliftingSecurityStatus {
|
|
3406
|
+
title: TornShopliftingStatusTitleEnum;
|
|
3407
|
+
disabled: boolean;
|
|
3408
|
+
}
|
|
3409
|
+
export interface TornShoplifting {
|
|
3410
|
+
id: TornSubCrimeId;
|
|
3411
|
+
status: TornShopliftingSecurityStatus[];
|
|
3412
|
+
}
|
|
3413
|
+
export interface TornShopliftingResponse {
|
|
3414
|
+
shoplifting: TornShoplifting[];
|
|
3415
|
+
}
|
|
3376
3416
|
export interface TornCompaniesResponse {
|
|
3377
3417
|
companies: TornCompany[];
|
|
3378
3418
|
}
|
|
@@ -3654,7 +3694,7 @@ export interface TornSubcrimesResponse {
|
|
|
3654
3694
|
subcrimes: TornSubcrime[];
|
|
3655
3695
|
}
|
|
3656
3696
|
export interface TornSubcrime {
|
|
3657
|
-
id:
|
|
3697
|
+
id: TornSubCrimeId;
|
|
3658
3698
|
name: string;
|
|
3659
3699
|
nerve_cost: number;
|
|
3660
3700
|
}
|
|
@@ -3899,7 +3939,7 @@ export interface TornFactionTreeResponse {
|
|
|
3899
3939
|
factionTree: TornFactionTree[];
|
|
3900
3940
|
}
|
|
3901
3941
|
/**
|
|
3902
|
-
* The following selections will fallback to API v1 and may change at any time: 'bank','cards','cityshops','companies','competition','gyms','itemdetails','itemstats','organisedcrimes','pawnshop','pokertables','rockpaperscissors','
|
|
3942
|
+
* The following selections will fallback to API v1 and may change at any time: 'bank','cards','cityshops','companies','competition','gyms','itemdetails','itemstats','organisedcrimes','pawnshop','pokertables','rockpaperscissors','stats'.
|
|
3903
3943
|
* * The following selections are not available in API v2: 'dirtybombs','raidreport','raids', 'chainreport', 'rackets', 'rankedwarreport', 'rankedwars', 'territorynames', 'territorywarreport', 'territorywars'.
|
|
3904
3944
|
*/
|
|
3905
3945
|
export type TornSelectionName = string;
|
|
@@ -7491,6 +7531,10 @@ export interface FactionV2 extends BaseSchema {
|
|
|
7491
7531
|
response: FactionCrimeResponse;
|
|
7492
7532
|
params: "crimeId" | "timestamp";
|
|
7493
7533
|
};
|
|
7534
|
+
dirtybombs: {
|
|
7535
|
+
response: FactionWarfareDirtyBombsResponse;
|
|
7536
|
+
params: "timestamp";
|
|
7537
|
+
};
|
|
7494
7538
|
hof: {
|
|
7495
7539
|
response: FactionHofResponse;
|
|
7496
7540
|
params: "timestamp";
|
|
@@ -7571,6 +7615,22 @@ export interface FactionV2 extends BaseSchema {
|
|
|
7571
7615
|
response: FactionUpgradesResponse;
|
|
7572
7616
|
params: "timestamp";
|
|
7573
7617
|
};
|
|
7618
|
+
warfarechains: {
|
|
7619
|
+
response: FactionWarfareChainsResponse;
|
|
7620
|
+
params: "cat" | "limit" | "sort" | "from" | "to" | "timestamp";
|
|
7621
|
+
};
|
|
7622
|
+
warfareraids: {
|
|
7623
|
+
response: FactionWarfareRaidsResponse;
|
|
7624
|
+
params: "limit" | "sort" | "from" | "to" | "timestamp";
|
|
7625
|
+
};
|
|
7626
|
+
warfareranked: {
|
|
7627
|
+
response: FactionWarfareRankedResponse;
|
|
7628
|
+
params: "limit" | "sort" | "from" | "to" | "timestamp";
|
|
7629
|
+
};
|
|
7630
|
+
warfareterritory: {
|
|
7631
|
+
response: FactionWarfareTerritoryWarsResponse;
|
|
7632
|
+
params: "limit" | "sort" | "from" | "to" | "timestamp";
|
|
7633
|
+
};
|
|
7574
7634
|
warfare: {
|
|
7575
7635
|
response: FactionWarfareResponse;
|
|
7576
7636
|
params: "cat" | "limit" | "sort" | "from" | "to" | "timestamp";
|
|
@@ -7859,6 +7919,14 @@ export interface TornV2 extends BaseSchema {
|
|
|
7859
7919
|
response: TornProperties;
|
|
7860
7920
|
params: "timestamp";
|
|
7861
7921
|
};
|
|
7922
|
+
searchforcash: {
|
|
7923
|
+
response: TornSearchForCashResponse;
|
|
7924
|
+
params: "timestamp";
|
|
7925
|
+
};
|
|
7926
|
+
shoplifting: {
|
|
7927
|
+
response: TornShopliftingResponse;
|
|
7928
|
+
params: "timestamp";
|
|
7929
|
+
};
|
|
7862
7930
|
stocks: {
|
|
7863
7931
|
response: TornStocksResponse;
|
|
7864
7932
|
params: "timestamp";
|
package/dist/index.ts
CHANGED
|
@@ -4787,6 +4787,8 @@ export type FactionCrimeId = number;
|
|
|
4787
4787
|
|
|
4788
4788
|
export type TornCrimeId = number;
|
|
4789
4789
|
|
|
4790
|
+
export type TornSubCrimeId = number;
|
|
4791
|
+
|
|
4790
4792
|
export type ChainId = number;
|
|
4791
4793
|
|
|
4792
4794
|
export type AttackId = number;
|
|
@@ -4868,6 +4870,15 @@ export type UserSearchParameter = string;
|
|
|
4868
4870
|
|
|
4869
4871
|
export type Parameters = string;
|
|
4870
4872
|
|
|
4873
|
+
export type TornShopliftingStatusTitleEnum =
|
|
4874
|
+
| "One camera"
|
|
4875
|
+
| "Two cameras"
|
|
4876
|
+
| "Three cameras"
|
|
4877
|
+
| "Four cameras"
|
|
4878
|
+
| "Checkpoint"
|
|
4879
|
+
| "One guard"
|
|
4880
|
+
| "Two guards";
|
|
4881
|
+
|
|
4871
4882
|
export type ReviveSetting =
|
|
4872
4883
|
"Everyone" | "Friends & faction" | "No one" | "Unknown";
|
|
4873
4884
|
|
|
@@ -6409,7 +6420,7 @@ export interface UserCrimeDetailsScamming {
|
|
|
6409
6420
|
}
|
|
6410
6421
|
|
|
6411
6422
|
export interface UserSubcrime {
|
|
6412
|
-
id:
|
|
6423
|
+
id: TornSubCrimeId;
|
|
6413
6424
|
total: number;
|
|
6414
6425
|
success: number;
|
|
6415
6426
|
fail: number;
|
|
@@ -8354,6 +8365,30 @@ export interface FactionRankedWarResponse {
|
|
|
8354
8365
|
_metadata: RequestMetadataWithLinks;
|
|
8355
8366
|
}
|
|
8356
8367
|
|
|
8368
|
+
export interface FactionWarfareRankedResponse {
|
|
8369
|
+
warfareranked: FactionRankedWarDetails[];
|
|
8370
|
+
_metadata: RequestMetadataWithLinks;
|
|
8371
|
+
}
|
|
8372
|
+
|
|
8373
|
+
export interface FactionWarfareRaidsResponse {
|
|
8374
|
+
warfareraids: FactionRaidWarfare[];
|
|
8375
|
+
_metadata: RequestMetadataWithLinks;
|
|
8376
|
+
}
|
|
8377
|
+
|
|
8378
|
+
export interface FactionWarfareTerritoryWarsResponse {
|
|
8379
|
+
warfareterritory: FactionTerritoryWarfare[];
|
|
8380
|
+
_metadata: RequestMetadataWithLinks;
|
|
8381
|
+
}
|
|
8382
|
+
|
|
8383
|
+
export interface FactionWarfareChainsResponse {
|
|
8384
|
+
warfarechains: FactionChainWarfare[];
|
|
8385
|
+
_metadata: RequestMetadataWithLinks;
|
|
8386
|
+
}
|
|
8387
|
+
|
|
8388
|
+
export interface FactionWarfareDirtyBombsResponse {
|
|
8389
|
+
dirtybombs: FactionWarfareDirtyBomb[];
|
|
8390
|
+
}
|
|
8391
|
+
|
|
8357
8392
|
export interface FactionWarfareResponse {
|
|
8358
8393
|
warfare:
|
|
8359
8394
|
| FactionRankedWarDetails[]
|
|
@@ -9119,6 +9154,30 @@ export interface PropertyLookupResponse {
|
|
|
9119
9154
|
selections: PropertySelectionName[];
|
|
9120
9155
|
}
|
|
9121
9156
|
|
|
9157
|
+
export interface TornSearchForCash {
|
|
9158
|
+
id: TornSubCrimeId;
|
|
9159
|
+
title: string;
|
|
9160
|
+
percentage: number;
|
|
9161
|
+
}
|
|
9162
|
+
|
|
9163
|
+
export interface TornSearchForCashResponse {
|
|
9164
|
+
searchforcash: TornSearchForCash[];
|
|
9165
|
+
}
|
|
9166
|
+
|
|
9167
|
+
export interface TornShopliftingSecurityStatus {
|
|
9168
|
+
title: TornShopliftingStatusTitleEnum;
|
|
9169
|
+
disabled: boolean;
|
|
9170
|
+
}
|
|
9171
|
+
|
|
9172
|
+
export interface TornShoplifting {
|
|
9173
|
+
id: TornSubCrimeId;
|
|
9174
|
+
status: TornShopliftingSecurityStatus[];
|
|
9175
|
+
}
|
|
9176
|
+
|
|
9177
|
+
export interface TornShopliftingResponse {
|
|
9178
|
+
shoplifting: TornShoplifting[];
|
|
9179
|
+
}
|
|
9180
|
+
|
|
9122
9181
|
export interface TornCompaniesResponse {
|
|
9123
9182
|
companies: TornCompany[];
|
|
9124
9183
|
}
|
|
@@ -9443,7 +9502,7 @@ export interface TornSubcrimesResponse {
|
|
|
9443
9502
|
}
|
|
9444
9503
|
|
|
9445
9504
|
export interface TornSubcrime {
|
|
9446
|
-
id:
|
|
9505
|
+
id: TornSubCrimeId;
|
|
9447
9506
|
name: string;
|
|
9448
9507
|
nerve_cost: number;
|
|
9449
9508
|
}
|
|
@@ -9725,7 +9784,7 @@ export interface TornFactionTreeResponse {
|
|
|
9725
9784
|
}
|
|
9726
9785
|
|
|
9727
9786
|
/**
|
|
9728
|
-
* The following selections will fallback to API v1 and may change at any time: 'bank','cards','cityshops','companies','competition','gyms','itemdetails','itemstats','organisedcrimes','pawnshop','pokertables','rockpaperscissors','
|
|
9787
|
+
* The following selections will fallback to API v1 and may change at any time: 'bank','cards','cityshops','companies','competition','gyms','itemdetails','itemstats','organisedcrimes','pawnshop','pokertables','rockpaperscissors','stats'.
|
|
9729
9788
|
* * The following selections are not available in API v2: 'dirtybombs','raidreport','raids', 'chainreport', 'rackets', 'rankedwarreport', 'rankedwars', 'territorynames', 'territorywarreport', 'territorywars'.
|
|
9730
9789
|
*/
|
|
9731
9790
|
export type TornSelectionName = string;
|
|
@@ -13421,6 +13480,10 @@ export interface FactionV2 extends BaseSchema {
|
|
|
13421
13480
|
response: FactionCrimeResponse;
|
|
13422
13481
|
params: "crimeId" | "timestamp";
|
|
13423
13482
|
};
|
|
13483
|
+
dirtybombs: {
|
|
13484
|
+
response: FactionWarfareDirtyBombsResponse;
|
|
13485
|
+
params: "timestamp";
|
|
13486
|
+
};
|
|
13424
13487
|
hof: {
|
|
13425
13488
|
response: FactionHofResponse;
|
|
13426
13489
|
params: "timestamp";
|
|
@@ -13523,6 +13586,22 @@ export interface FactionV2 extends BaseSchema {
|
|
|
13523
13586
|
response: FactionUpgradesResponse;
|
|
13524
13587
|
params: "timestamp";
|
|
13525
13588
|
};
|
|
13589
|
+
warfarechains: {
|
|
13590
|
+
response: FactionWarfareChainsResponse;
|
|
13591
|
+
params: "cat" | "limit" | "sort" | "from" | "to" | "timestamp";
|
|
13592
|
+
};
|
|
13593
|
+
warfareraids: {
|
|
13594
|
+
response: FactionWarfareRaidsResponse;
|
|
13595
|
+
params: "limit" | "sort" | "from" | "to" | "timestamp";
|
|
13596
|
+
};
|
|
13597
|
+
warfareranked: {
|
|
13598
|
+
response: FactionWarfareRankedResponse;
|
|
13599
|
+
params: "limit" | "sort" | "from" | "to" | "timestamp";
|
|
13600
|
+
};
|
|
13601
|
+
warfareterritory: {
|
|
13602
|
+
response: FactionWarfareTerritoryWarsResponse;
|
|
13603
|
+
params: "limit" | "sort" | "from" | "to" | "timestamp";
|
|
13604
|
+
};
|
|
13526
13605
|
warfare: {
|
|
13527
13606
|
response: FactionWarfareResponse;
|
|
13528
13607
|
params: "cat" | "limit" | "sort" | "from" | "to" | "timestamp";
|
|
@@ -13827,6 +13906,14 @@ export interface TornV2 extends BaseSchema {
|
|
|
13827
13906
|
response: TornProperties;
|
|
13828
13907
|
params: "timestamp";
|
|
13829
13908
|
};
|
|
13909
|
+
searchforcash: {
|
|
13910
|
+
response: TornSearchForCashResponse;
|
|
13911
|
+
params: "timestamp";
|
|
13912
|
+
};
|
|
13913
|
+
shoplifting: {
|
|
13914
|
+
response: TornShopliftingResponse;
|
|
13915
|
+
params: "timestamp";
|
|
13916
|
+
};
|
|
13830
13917
|
stocks: {
|
|
13831
13918
|
response: TornStocksResponse;
|
|
13832
13919
|
params: "timestamp";
|
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": "6.
|
|
6
|
+
"version": "6.9.0"
|
|
7
7
|
},
|
|
8
8
|
"servers": [
|
|
9
9
|
{
|
|
@@ -1488,7 +1488,7 @@
|
|
|
1488
1488
|
"User"
|
|
1489
1489
|
],
|
|
1490
1490
|
"summary": "Get your icons information",
|
|
1491
|
-
"description": "Requires public access key. <br> When requesting data for yourself with '
|
|
1491
|
+
"description": "Requires public access key. <br> When requesting data for yourself with 'Limited' or 'Full' access keys, the response will be of type UserIconPrivate, otherwise UserIconPublic.",
|
|
1492
1492
|
"operationId": "getMyIcons",
|
|
1493
1493
|
"parameters": [
|
|
1494
1494
|
{
|
|
@@ -1575,7 +1575,7 @@
|
|
|
1575
1575
|
"User"
|
|
1576
1576
|
],
|
|
1577
1577
|
"summary": "Get your inventory",
|
|
1578
|
-
"description": "<b>Cached selection (1 hour per category).</b><br><br>Requires
|
|
1578
|
+
"description": "<b>Cached selection (1 hour per category).</b><br><br>Requires minimal access key. <br>",
|
|
1579
1579
|
"operationId": "getMyInventory",
|
|
1580
1580
|
"parameters": [
|
|
1581
1581
|
{
|
|
@@ -1600,7 +1600,7 @@
|
|
|
1600
1600
|
"$ref": "#/components/parameters/ApiComment"
|
|
1601
1601
|
},
|
|
1602
1602
|
{
|
|
1603
|
-
"$ref": "#/components/parameters/
|
|
1603
|
+
"$ref": "#/components/parameters/ApiKeyMinimal"
|
|
1604
1604
|
}
|
|
1605
1605
|
],
|
|
1606
1606
|
"responses": {
|
|
@@ -2014,8 +2014,8 @@
|
|
|
2014
2014
|
"tags": [
|
|
2015
2015
|
"User"
|
|
2016
2016
|
],
|
|
2017
|
-
"summary": "Get your achieved medals",
|
|
2018
|
-
"description": "Requires
|
|
2017
|
+
"summary": "Get all your achieved medals",
|
|
2018
|
+
"description": "Requires public access key. <br>",
|
|
2019
2019
|
"operationId": "getMyMedals",
|
|
2020
2020
|
"parameters": [
|
|
2021
2021
|
{
|
|
@@ -2025,7 +2025,55 @@
|
|
|
2025
2025
|
"$ref": "#/components/parameters/ApiComment"
|
|
2026
2026
|
},
|
|
2027
2027
|
{
|
|
2028
|
-
"$ref": "#/components/parameters/
|
|
2028
|
+
"$ref": "#/components/parameters/ApiKeyPublic"
|
|
2029
|
+
}
|
|
2030
|
+
],
|
|
2031
|
+
"responses": {
|
|
2032
|
+
"200": {
|
|
2033
|
+
"description": "Successful operation",
|
|
2034
|
+
"content": {
|
|
2035
|
+
"application/json": {
|
|
2036
|
+
"schema": {
|
|
2037
|
+
"$ref": "#/components/schemas/UserMedalsResponse"
|
|
2038
|
+
}
|
|
2039
|
+
}
|
|
2040
|
+
}
|
|
2041
|
+
}
|
|
2042
|
+
},
|
|
2043
|
+
"security": [
|
|
2044
|
+
{
|
|
2045
|
+
"api_key": []
|
|
2046
|
+
}
|
|
2047
|
+
],
|
|
2048
|
+
"x-stability": "Stable"
|
|
2049
|
+
}
|
|
2050
|
+
},
|
|
2051
|
+
"/user/{id}/medals": {
|
|
2052
|
+
"get": {
|
|
2053
|
+
"tags": [
|
|
2054
|
+
"User"
|
|
2055
|
+
],
|
|
2056
|
+
"summary": "Get medals achieved by a specific player",
|
|
2057
|
+
"description": "Requires public access key.<br>Returns only highest medal in each category (just like profiles on site).",
|
|
2058
|
+
"operationId": "getUserMedals",
|
|
2059
|
+
"parameters": [
|
|
2060
|
+
{
|
|
2061
|
+
"name": "id",
|
|
2062
|
+
"in": "path",
|
|
2063
|
+
"description": "User id or user discord id",
|
|
2064
|
+
"required": true,
|
|
2065
|
+
"schema": {
|
|
2066
|
+
"$ref": "#/components/schemas/UserDiscordPathId"
|
|
2067
|
+
}
|
|
2068
|
+
},
|
|
2069
|
+
{
|
|
2070
|
+
"$ref": "#/components/parameters/ApiTimestamp"
|
|
2071
|
+
},
|
|
2072
|
+
{
|
|
2073
|
+
"$ref": "#/components/parameters/ApiComment"
|
|
2074
|
+
},
|
|
2075
|
+
{
|
|
2076
|
+
"$ref": "#/components/parameters/ApiKeyPublic"
|
|
2029
2077
|
}
|
|
2030
2078
|
],
|
|
2031
2079
|
"responses": {
|
|
@@ -4866,6 +4914,45 @@
|
|
|
4866
4914
|
"x-stability": "Stable"
|
|
4867
4915
|
}
|
|
4868
4916
|
},
|
|
4917
|
+
"/faction/dirtybombs": {
|
|
4918
|
+
"get": {
|
|
4919
|
+
"tags": [
|
|
4920
|
+
"Faction"
|
|
4921
|
+
],
|
|
4922
|
+
"summary": "Get all dirty bombs",
|
|
4923
|
+
"description": "Requires public access key. <br>",
|
|
4924
|
+
"operationId": "getWarfareDirtyBombs",
|
|
4925
|
+
"parameters": [
|
|
4926
|
+
{
|
|
4927
|
+
"$ref": "#/components/parameters/ApiTimestamp"
|
|
4928
|
+
},
|
|
4929
|
+
{
|
|
4930
|
+
"$ref": "#/components/parameters/ApiComment"
|
|
4931
|
+
},
|
|
4932
|
+
{
|
|
4933
|
+
"$ref": "#/components/parameters/ApiKeyPublic"
|
|
4934
|
+
}
|
|
4935
|
+
],
|
|
4936
|
+
"responses": {
|
|
4937
|
+
"200": {
|
|
4938
|
+
"description": "Successful operation",
|
|
4939
|
+
"content": {
|
|
4940
|
+
"application/json": {
|
|
4941
|
+
"schema": {
|
|
4942
|
+
"$ref": "#/components/schemas/FactionWarfareDirtyBombsResponse"
|
|
4943
|
+
}
|
|
4944
|
+
}
|
|
4945
|
+
}
|
|
4946
|
+
}
|
|
4947
|
+
},
|
|
4948
|
+
"security": [
|
|
4949
|
+
{
|
|
4950
|
+
"api_key": []
|
|
4951
|
+
}
|
|
4952
|
+
],
|
|
4953
|
+
"x-stability": "Stable"
|
|
4954
|
+
}
|
|
4955
|
+
},
|
|
4869
4956
|
"/faction/hof": {
|
|
4870
4957
|
"get": {
|
|
4871
4958
|
"tags": [
|
|
@@ -6145,13 +6232,229 @@
|
|
|
6145
6232
|
"x-stability": "Stable"
|
|
6146
6233
|
}
|
|
6147
6234
|
},
|
|
6235
|
+
"/faction/warfarechains": {
|
|
6236
|
+
"get": {
|
|
6237
|
+
"tags": [
|
|
6238
|
+
"Faction"
|
|
6239
|
+
],
|
|
6240
|
+
"summary": "Get all chains",
|
|
6241
|
+
"description": "Requires public access key. <br>By default, active chains are returned.",
|
|
6242
|
+
"operationId": "getWarfareChains",
|
|
6243
|
+
"parameters": [
|
|
6244
|
+
{
|
|
6245
|
+
"name": "cat",
|
|
6246
|
+
"in": "query",
|
|
6247
|
+
"required": true,
|
|
6248
|
+
"schema": {
|
|
6249
|
+
"type": "string",
|
|
6250
|
+
"enum": [
|
|
6251
|
+
"active",
|
|
6252
|
+
"complete"
|
|
6253
|
+
]
|
|
6254
|
+
}
|
|
6255
|
+
},
|
|
6256
|
+
{
|
|
6257
|
+
"$ref": "#/components/parameters/ApiLimit100"
|
|
6258
|
+
},
|
|
6259
|
+
{
|
|
6260
|
+
"$ref": "#/components/parameters/ApiSort"
|
|
6261
|
+
},
|
|
6262
|
+
{
|
|
6263
|
+
"$ref": "#/components/parameters/ApiFrom"
|
|
6264
|
+
},
|
|
6265
|
+
{
|
|
6266
|
+
"$ref": "#/components/parameters/ApiTo"
|
|
6267
|
+
},
|
|
6268
|
+
{
|
|
6269
|
+
"$ref": "#/components/parameters/ApiTimestamp"
|
|
6270
|
+
},
|
|
6271
|
+
{
|
|
6272
|
+
"$ref": "#/components/parameters/ApiComment"
|
|
6273
|
+
},
|
|
6274
|
+
{
|
|
6275
|
+
"$ref": "#/components/parameters/ApiKeyPublic"
|
|
6276
|
+
}
|
|
6277
|
+
],
|
|
6278
|
+
"responses": {
|
|
6279
|
+
"200": {
|
|
6280
|
+
"description": "Successful operation",
|
|
6281
|
+
"content": {
|
|
6282
|
+
"application/json": {
|
|
6283
|
+
"schema": {
|
|
6284
|
+
"$ref": "#/components/schemas/FactionWarfareChainsResponse"
|
|
6285
|
+
}
|
|
6286
|
+
}
|
|
6287
|
+
}
|
|
6288
|
+
}
|
|
6289
|
+
},
|
|
6290
|
+
"security": [
|
|
6291
|
+
{
|
|
6292
|
+
"api_key": []
|
|
6293
|
+
}
|
|
6294
|
+
],
|
|
6295
|
+
"x-stability": "Stable"
|
|
6296
|
+
}
|
|
6297
|
+
},
|
|
6298
|
+
"/faction/warfareraids": {
|
|
6299
|
+
"get": {
|
|
6300
|
+
"tags": [
|
|
6301
|
+
"Faction"
|
|
6302
|
+
],
|
|
6303
|
+
"summary": "Get all raids",
|
|
6304
|
+
"description": "Requires public access key. <br>",
|
|
6305
|
+
"operationId": "getWarfareRaids",
|
|
6306
|
+
"parameters": [
|
|
6307
|
+
{
|
|
6308
|
+
"$ref": "#/components/parameters/ApiLimit100"
|
|
6309
|
+
},
|
|
6310
|
+
{
|
|
6311
|
+
"$ref": "#/components/parameters/ApiSort"
|
|
6312
|
+
},
|
|
6313
|
+
{
|
|
6314
|
+
"$ref": "#/components/parameters/ApiFrom"
|
|
6315
|
+
},
|
|
6316
|
+
{
|
|
6317
|
+
"$ref": "#/components/parameters/ApiTo"
|
|
6318
|
+
},
|
|
6319
|
+
{
|
|
6320
|
+
"$ref": "#/components/parameters/ApiTimestamp"
|
|
6321
|
+
},
|
|
6322
|
+
{
|
|
6323
|
+
"$ref": "#/components/parameters/ApiComment"
|
|
6324
|
+
},
|
|
6325
|
+
{
|
|
6326
|
+
"$ref": "#/components/parameters/ApiKeyPublic"
|
|
6327
|
+
}
|
|
6328
|
+
],
|
|
6329
|
+
"responses": {
|
|
6330
|
+
"200": {
|
|
6331
|
+
"description": "Successful operation",
|
|
6332
|
+
"content": {
|
|
6333
|
+
"application/json": {
|
|
6334
|
+
"schema": {
|
|
6335
|
+
"$ref": "#/components/schemas/FactionWarfareRaidsResponse"
|
|
6336
|
+
}
|
|
6337
|
+
}
|
|
6338
|
+
}
|
|
6339
|
+
}
|
|
6340
|
+
},
|
|
6341
|
+
"security": [
|
|
6342
|
+
{
|
|
6343
|
+
"api_key": []
|
|
6344
|
+
}
|
|
6345
|
+
],
|
|
6346
|
+
"x-stability": "Stable"
|
|
6347
|
+
}
|
|
6348
|
+
},
|
|
6349
|
+
"/faction/warfareranked": {
|
|
6350
|
+
"get": {
|
|
6351
|
+
"tags": [
|
|
6352
|
+
"Faction"
|
|
6353
|
+
],
|
|
6354
|
+
"summary": "Get all ranked wars",
|
|
6355
|
+
"description": "Requires public access key. <br>",
|
|
6356
|
+
"operationId": "getWarfareRankedWars",
|
|
6357
|
+
"parameters": [
|
|
6358
|
+
{
|
|
6359
|
+
"$ref": "#/components/parameters/ApiLimit100"
|
|
6360
|
+
},
|
|
6361
|
+
{
|
|
6362
|
+
"$ref": "#/components/parameters/ApiSort"
|
|
6363
|
+
},
|
|
6364
|
+
{
|
|
6365
|
+
"$ref": "#/components/parameters/ApiFrom"
|
|
6366
|
+
},
|
|
6367
|
+
{
|
|
6368
|
+
"$ref": "#/components/parameters/ApiTo"
|
|
6369
|
+
},
|
|
6370
|
+
{
|
|
6371
|
+
"$ref": "#/components/parameters/ApiTimestamp"
|
|
6372
|
+
},
|
|
6373
|
+
{
|
|
6374
|
+
"$ref": "#/components/parameters/ApiComment"
|
|
6375
|
+
},
|
|
6376
|
+
{
|
|
6377
|
+
"$ref": "#/components/parameters/ApiKeyPublic"
|
|
6378
|
+
}
|
|
6379
|
+
],
|
|
6380
|
+
"responses": {
|
|
6381
|
+
"200": {
|
|
6382
|
+
"description": "Successful operation",
|
|
6383
|
+
"content": {
|
|
6384
|
+
"application/json": {
|
|
6385
|
+
"schema": {
|
|
6386
|
+
"$ref": "#/components/schemas/FactionWarfareRankedResponse"
|
|
6387
|
+
}
|
|
6388
|
+
}
|
|
6389
|
+
}
|
|
6390
|
+
}
|
|
6391
|
+
},
|
|
6392
|
+
"security": [
|
|
6393
|
+
{
|
|
6394
|
+
"api_key": []
|
|
6395
|
+
}
|
|
6396
|
+
],
|
|
6397
|
+
"x-stability": "Stable"
|
|
6398
|
+
}
|
|
6399
|
+
},
|
|
6400
|
+
"/faction/warfareterritory": {
|
|
6401
|
+
"get": {
|
|
6402
|
+
"tags": [
|
|
6403
|
+
"Faction"
|
|
6404
|
+
],
|
|
6405
|
+
"summary": "Get all territory wars",
|
|
6406
|
+
"description": "Requires public access key. <br>",
|
|
6407
|
+
"operationId": "getWarfareTerritoryWars",
|
|
6408
|
+
"parameters": [
|
|
6409
|
+
{
|
|
6410
|
+
"$ref": "#/components/parameters/ApiLimit100"
|
|
6411
|
+
},
|
|
6412
|
+
{
|
|
6413
|
+
"$ref": "#/components/parameters/ApiSort"
|
|
6414
|
+
},
|
|
6415
|
+
{
|
|
6416
|
+
"$ref": "#/components/parameters/ApiFrom"
|
|
6417
|
+
},
|
|
6418
|
+
{
|
|
6419
|
+
"$ref": "#/components/parameters/ApiTo"
|
|
6420
|
+
},
|
|
6421
|
+
{
|
|
6422
|
+
"$ref": "#/components/parameters/ApiTimestamp"
|
|
6423
|
+
},
|
|
6424
|
+
{
|
|
6425
|
+
"$ref": "#/components/parameters/ApiComment"
|
|
6426
|
+
},
|
|
6427
|
+
{
|
|
6428
|
+
"$ref": "#/components/parameters/ApiKeyPublic"
|
|
6429
|
+
}
|
|
6430
|
+
],
|
|
6431
|
+
"responses": {
|
|
6432
|
+
"200": {
|
|
6433
|
+
"description": "Successful operation",
|
|
6434
|
+
"content": {
|
|
6435
|
+
"application/json": {
|
|
6436
|
+
"schema": {
|
|
6437
|
+
"$ref": "#/components/schemas/FactionWarfareTerritoryWarsResponse"
|
|
6438
|
+
}
|
|
6439
|
+
}
|
|
6440
|
+
}
|
|
6441
|
+
}
|
|
6442
|
+
},
|
|
6443
|
+
"security": [
|
|
6444
|
+
{
|
|
6445
|
+
"api_key": []
|
|
6446
|
+
}
|
|
6447
|
+
],
|
|
6448
|
+
"x-stability": "Stable"
|
|
6449
|
+
}
|
|
6450
|
+
},
|
|
6148
6451
|
"/faction/warfare": {
|
|
6149
6452
|
"get": {
|
|
6150
6453
|
"tags": [
|
|
6151
6454
|
"Faction"
|
|
6152
6455
|
],
|
|
6153
6456
|
"summary": "Get faction warfare",
|
|
6154
|
-
"description": "Requires public access key. <br>The response depends on the selected category.",
|
|
6457
|
+
"description": "This selection is replaced by other warfare selections and 'faction' -> 'dirtybombs'.<br>This will be removed on 1st January 2027<b></b>.<br>Requires public access key. <br>The response depends on the selected category.",
|
|
6155
6458
|
"operationId": "getWarfare",
|
|
6156
6459
|
"parameters": [
|
|
6157
6460
|
{
|
|
@@ -6196,6 +6499,7 @@
|
|
|
6196
6499
|
}
|
|
6197
6500
|
}
|
|
6198
6501
|
},
|
|
6502
|
+
"deprecated": true,
|
|
6199
6503
|
"security": [
|
|
6200
6504
|
{
|
|
6201
6505
|
"api_key": []
|
|
@@ -6631,6 +6935,21 @@
|
|
|
6631
6935
|
{
|
|
6632
6936
|
"$ref": "#/components/schemas/FactionLookupResponse"
|
|
6633
6937
|
},
|
|
6938
|
+
{
|
|
6939
|
+
"$ref": "#/components/schemas/FactionWarfareDirtyBombsResponse"
|
|
6940
|
+
},
|
|
6941
|
+
{
|
|
6942
|
+
"$ref": "#/components/schemas/FactionWarfareChainsResponse"
|
|
6943
|
+
},
|
|
6944
|
+
{
|
|
6945
|
+
"$ref": "#/components/schemas/FactionWarfareTerritoryWarsResponse"
|
|
6946
|
+
},
|
|
6947
|
+
{
|
|
6948
|
+
"$ref": "#/components/schemas/FactionWarfareRaidsResponse"
|
|
6949
|
+
},
|
|
6950
|
+
{
|
|
6951
|
+
"$ref": "#/components/schemas/FactionWarfareRankedResponse"
|
|
6952
|
+
},
|
|
6634
6953
|
{
|
|
6635
6954
|
"$ref": "#/components/schemas/TimestampResponse"
|
|
6636
6955
|
}
|
|
@@ -6786,7 +7105,7 @@
|
|
|
6786
7105
|
"Company"
|
|
6787
7106
|
],
|
|
6788
7107
|
"summary": "Get your company's news details",
|
|
6789
|
-
"description": "Requires
|
|
7108
|
+
"description": "Requires limited access key. <br>",
|
|
6790
7109
|
"operationId": "getMyCompanyNews",
|
|
6791
7110
|
"parameters": [
|
|
6792
7111
|
{
|
|
@@ -6820,7 +7139,7 @@
|
|
|
6820
7139
|
"$ref": "#/components/parameters/ApiComment"
|
|
6821
7140
|
},
|
|
6822
7141
|
{
|
|
6823
|
-
"$ref": "#/components/parameters/
|
|
7142
|
+
"$ref": "#/components/parameters/ApiKeyLimited"
|
|
6824
7143
|
}
|
|
6825
7144
|
],
|
|
6826
7145
|
"responses": {
|
|
@@ -10572,6 +10891,84 @@
|
|
|
10572
10891
|
"x-stability": "Stable"
|
|
10573
10892
|
}
|
|
10574
10893
|
},
|
|
10894
|
+
"/torn/searchforcash": {
|
|
10895
|
+
"get": {
|
|
10896
|
+
"tags": [
|
|
10897
|
+
"Torn"
|
|
10898
|
+
],
|
|
10899
|
+
"summary": "Get search for cash crime statuses",
|
|
10900
|
+
"description": "Requires public access key. <br>",
|
|
10901
|
+
"operationId": "getTornSearchForCash",
|
|
10902
|
+
"parameters": [
|
|
10903
|
+
{
|
|
10904
|
+
"$ref": "#/components/parameters/ApiTimestamp"
|
|
10905
|
+
},
|
|
10906
|
+
{
|
|
10907
|
+
"$ref": "#/components/parameters/ApiComment"
|
|
10908
|
+
},
|
|
10909
|
+
{
|
|
10910
|
+
"$ref": "#/components/parameters/ApiKeyPublic"
|
|
10911
|
+
}
|
|
10912
|
+
],
|
|
10913
|
+
"responses": {
|
|
10914
|
+
"200": {
|
|
10915
|
+
"description": "Successful operation",
|
|
10916
|
+
"content": {
|
|
10917
|
+
"application/json": {
|
|
10918
|
+
"schema": {
|
|
10919
|
+
"$ref": "#/components/schemas/TornSearchForCashResponse"
|
|
10920
|
+
}
|
|
10921
|
+
}
|
|
10922
|
+
}
|
|
10923
|
+
}
|
|
10924
|
+
},
|
|
10925
|
+
"security": [
|
|
10926
|
+
{
|
|
10927
|
+
"api_key": []
|
|
10928
|
+
}
|
|
10929
|
+
],
|
|
10930
|
+
"x-stability": "Unstable"
|
|
10931
|
+
}
|
|
10932
|
+
},
|
|
10933
|
+
"/torn/shoplifting": {
|
|
10934
|
+
"get": {
|
|
10935
|
+
"tags": [
|
|
10936
|
+
"Torn"
|
|
10937
|
+
],
|
|
10938
|
+
"summary": "Get shoplifting crime statuses",
|
|
10939
|
+
"description": "Requires public access key. <br>",
|
|
10940
|
+
"operationId": "getTornShoplifting",
|
|
10941
|
+
"parameters": [
|
|
10942
|
+
{
|
|
10943
|
+
"$ref": "#/components/parameters/ApiTimestamp"
|
|
10944
|
+
},
|
|
10945
|
+
{
|
|
10946
|
+
"$ref": "#/components/parameters/ApiComment"
|
|
10947
|
+
},
|
|
10948
|
+
{
|
|
10949
|
+
"$ref": "#/components/parameters/ApiKeyPublic"
|
|
10950
|
+
}
|
|
10951
|
+
],
|
|
10952
|
+
"responses": {
|
|
10953
|
+
"200": {
|
|
10954
|
+
"description": "Successful operation",
|
|
10955
|
+
"content": {
|
|
10956
|
+
"application/json": {
|
|
10957
|
+
"schema": {
|
|
10958
|
+
"$ref": "#/components/schemas/TornShopliftingResponse"
|
|
10959
|
+
}
|
|
10960
|
+
}
|
|
10961
|
+
}
|
|
10962
|
+
}
|
|
10963
|
+
},
|
|
10964
|
+
"security": [
|
|
10965
|
+
{
|
|
10966
|
+
"api_key": []
|
|
10967
|
+
}
|
|
10968
|
+
],
|
|
10969
|
+
"x-stability": "Unstable"
|
|
10970
|
+
}
|
|
10971
|
+
},
|
|
10575
10972
|
"/torn/stocks": {
|
|
10576
10973
|
"get": {
|
|
10577
10974
|
"tags": [
|
|
@@ -16230,6 +16627,10 @@
|
|
|
16230
16627
|
"type": "integer",
|
|
16231
16628
|
"format": "int32"
|
|
16232
16629
|
},
|
|
16630
|
+
"TornSubCrimeId": {
|
|
16631
|
+
"type": "integer",
|
|
16632
|
+
"format": "int32"
|
|
16633
|
+
},
|
|
16233
16634
|
"ChainId": {
|
|
16234
16635
|
"type": "integer",
|
|
16235
16636
|
"format": "int32"
|
|
@@ -16461,6 +16862,18 @@
|
|
|
16461
16862
|
}
|
|
16462
16863
|
]
|
|
16463
16864
|
},
|
|
16865
|
+
"TornShopliftingStatusTitleEnum": {
|
|
16866
|
+
"type": "string",
|
|
16867
|
+
"enum": [
|
|
16868
|
+
"One camera",
|
|
16869
|
+
"Two cameras",
|
|
16870
|
+
"Three cameras",
|
|
16871
|
+
"Four cameras",
|
|
16872
|
+
"Checkpoint",
|
|
16873
|
+
"One guard",
|
|
16874
|
+
"Two guards"
|
|
16875
|
+
]
|
|
16876
|
+
},
|
|
16464
16877
|
"ReviveSetting": {
|
|
16465
16878
|
"type": "string",
|
|
16466
16879
|
"enum": [
|
|
@@ -22243,8 +22656,7 @@
|
|
|
22243
22656
|
],
|
|
22244
22657
|
"properties": {
|
|
22245
22658
|
"id": {
|
|
22246
|
-
"
|
|
22247
|
-
"format": "int32"
|
|
22659
|
+
"$ref": "#/components/schemas/TornSubCrimeId"
|
|
22248
22660
|
},
|
|
22249
22661
|
"total": {
|
|
22250
22662
|
"type": "integer",
|
|
@@ -29272,6 +29684,7 @@
|
|
|
29272
29684
|
"contributors",
|
|
29273
29685
|
"crime",
|
|
29274
29686
|
"crimes",
|
|
29687
|
+
"dirtbombs",
|
|
29275
29688
|
"hof",
|
|
29276
29689
|
"lookup",
|
|
29277
29690
|
"members",
|
|
@@ -29293,7 +29706,10 @@
|
|
|
29293
29706
|
"territorywars",
|
|
29294
29707
|
"timestamp",
|
|
29295
29708
|
"upgrades",
|
|
29296
|
-
"
|
|
29709
|
+
"warfarechains",
|
|
29710
|
+
"warfareraids",
|
|
29711
|
+
"warfareranked",
|
|
29712
|
+
"warfareterritory",
|
|
29297
29713
|
"wars",
|
|
29298
29714
|
"armor",
|
|
29299
29715
|
"boosters",
|
|
@@ -29412,6 +29828,92 @@
|
|
|
29412
29828
|
},
|
|
29413
29829
|
"type": "object"
|
|
29414
29830
|
},
|
|
29831
|
+
"FactionWarfareRankedResponse": {
|
|
29832
|
+
"required": [
|
|
29833
|
+
"warfareranked",
|
|
29834
|
+
"_metadata"
|
|
29835
|
+
],
|
|
29836
|
+
"properties": {
|
|
29837
|
+
"warfareranked": {
|
|
29838
|
+
"type": "array",
|
|
29839
|
+
"items": {
|
|
29840
|
+
"$ref": "#/components/schemas/FactionRankedWarDetails"
|
|
29841
|
+
}
|
|
29842
|
+
},
|
|
29843
|
+
"_metadata": {
|
|
29844
|
+
"$ref": "#/components/schemas/RequestMetadataWithLinks"
|
|
29845
|
+
}
|
|
29846
|
+
},
|
|
29847
|
+
"type": "object"
|
|
29848
|
+
},
|
|
29849
|
+
"FactionWarfareRaidsResponse": {
|
|
29850
|
+
"required": [
|
|
29851
|
+
"warfareraids",
|
|
29852
|
+
"_metadata"
|
|
29853
|
+
],
|
|
29854
|
+
"properties": {
|
|
29855
|
+
"warfareraids": {
|
|
29856
|
+
"type": "array",
|
|
29857
|
+
"items": {
|
|
29858
|
+
"$ref": "#/components/schemas/FactionRaidWarfare"
|
|
29859
|
+
}
|
|
29860
|
+
},
|
|
29861
|
+
"_metadata": {
|
|
29862
|
+
"$ref": "#/components/schemas/RequestMetadataWithLinks"
|
|
29863
|
+
}
|
|
29864
|
+
},
|
|
29865
|
+
"type": "object"
|
|
29866
|
+
},
|
|
29867
|
+
"FactionWarfareTerritoryWarsResponse": {
|
|
29868
|
+
"required": [
|
|
29869
|
+
"warfareterritory",
|
|
29870
|
+
"_metadata"
|
|
29871
|
+
],
|
|
29872
|
+
"properties": {
|
|
29873
|
+
"warfareterritory": {
|
|
29874
|
+
"type": "array",
|
|
29875
|
+
"items": {
|
|
29876
|
+
"$ref": "#/components/schemas/FactionTerritoryWarfare"
|
|
29877
|
+
}
|
|
29878
|
+
},
|
|
29879
|
+
"_metadata": {
|
|
29880
|
+
"$ref": "#/components/schemas/RequestMetadataWithLinks"
|
|
29881
|
+
}
|
|
29882
|
+
},
|
|
29883
|
+
"type": "object"
|
|
29884
|
+
},
|
|
29885
|
+
"FactionWarfareChainsResponse": {
|
|
29886
|
+
"required": [
|
|
29887
|
+
"warfarechains",
|
|
29888
|
+
"_metadata"
|
|
29889
|
+
],
|
|
29890
|
+
"properties": {
|
|
29891
|
+
"warfarechains": {
|
|
29892
|
+
"type": "array",
|
|
29893
|
+
"items": {
|
|
29894
|
+
"$ref": "#/components/schemas/FactionChainWarfare"
|
|
29895
|
+
}
|
|
29896
|
+
},
|
|
29897
|
+
"_metadata": {
|
|
29898
|
+
"$ref": "#/components/schemas/RequestMetadataWithLinks"
|
|
29899
|
+
}
|
|
29900
|
+
},
|
|
29901
|
+
"type": "object"
|
|
29902
|
+
},
|
|
29903
|
+
"FactionWarfareDirtyBombsResponse": {
|
|
29904
|
+
"required": [
|
|
29905
|
+
"dirtybombs"
|
|
29906
|
+
],
|
|
29907
|
+
"properties": {
|
|
29908
|
+
"dirtybombs": {
|
|
29909
|
+
"type": "array",
|
|
29910
|
+
"items": {
|
|
29911
|
+
"$ref": "#/components/schemas/FactionWarfareDirtyBomb"
|
|
29912
|
+
}
|
|
29913
|
+
}
|
|
29914
|
+
},
|
|
29915
|
+
"type": "object"
|
|
29916
|
+
},
|
|
29415
29917
|
"FactionWarfareResponse": {
|
|
29416
29918
|
"required": [
|
|
29417
29919
|
"warfare",
|
|
@@ -32679,6 +33181,87 @@
|
|
|
32679
33181
|
},
|
|
32680
33182
|
"type": "object"
|
|
32681
33183
|
},
|
|
33184
|
+
"TornSearchForCash": {
|
|
33185
|
+
"required": [
|
|
33186
|
+
"id",
|
|
33187
|
+
"title",
|
|
33188
|
+
"percentage"
|
|
33189
|
+
],
|
|
33190
|
+
"properties": {
|
|
33191
|
+
"id": {
|
|
33192
|
+
"$ref": "#/components/schemas/TornSubCrimeId"
|
|
33193
|
+
},
|
|
33194
|
+
"title": {
|
|
33195
|
+
"type": "string"
|
|
33196
|
+
},
|
|
33197
|
+
"percentage": {
|
|
33198
|
+
"type": "integer",
|
|
33199
|
+
"format": "int32"
|
|
33200
|
+
}
|
|
33201
|
+
},
|
|
33202
|
+
"type": "object"
|
|
33203
|
+
},
|
|
33204
|
+
"TornSearchForCashResponse": {
|
|
33205
|
+
"required": [
|
|
33206
|
+
"searchforcash"
|
|
33207
|
+
],
|
|
33208
|
+
"properties": {
|
|
33209
|
+
"searchforcash": {
|
|
33210
|
+
"type": "array",
|
|
33211
|
+
"items": {
|
|
33212
|
+
"$ref": "#/components/schemas/TornSearchForCash"
|
|
33213
|
+
}
|
|
33214
|
+
}
|
|
33215
|
+
},
|
|
33216
|
+
"type": "object"
|
|
33217
|
+
},
|
|
33218
|
+
"TornShopliftingSecurityStatus": {
|
|
33219
|
+
"required": [
|
|
33220
|
+
"title",
|
|
33221
|
+
"disabled"
|
|
33222
|
+
],
|
|
33223
|
+
"properties": {
|
|
33224
|
+
"title": {
|
|
33225
|
+
"$ref": "#/components/schemas/TornShopliftingStatusTitleEnum"
|
|
33226
|
+
},
|
|
33227
|
+
"disabled": {
|
|
33228
|
+
"type": "boolean"
|
|
33229
|
+
}
|
|
33230
|
+
},
|
|
33231
|
+
"type": "object"
|
|
33232
|
+
},
|
|
33233
|
+
"TornShoplifting": {
|
|
33234
|
+
"required": [
|
|
33235
|
+
"id",
|
|
33236
|
+
"status"
|
|
33237
|
+
],
|
|
33238
|
+
"properties": {
|
|
33239
|
+
"id": {
|
|
33240
|
+
"$ref": "#/components/schemas/TornSubCrimeId"
|
|
33241
|
+
},
|
|
33242
|
+
"status": {
|
|
33243
|
+
"type": "array",
|
|
33244
|
+
"items": {
|
|
33245
|
+
"$ref": "#/components/schemas/TornShopliftingSecurityStatus"
|
|
33246
|
+
}
|
|
33247
|
+
}
|
|
33248
|
+
},
|
|
33249
|
+
"type": "object"
|
|
33250
|
+
},
|
|
33251
|
+
"TornShopliftingResponse": {
|
|
33252
|
+
"required": [
|
|
33253
|
+
"shoplifting"
|
|
33254
|
+
],
|
|
33255
|
+
"properties": {
|
|
33256
|
+
"shoplifting": {
|
|
33257
|
+
"type": "array",
|
|
33258
|
+
"items": {
|
|
33259
|
+
"$ref": "#/components/schemas/TornShoplifting"
|
|
33260
|
+
}
|
|
33261
|
+
}
|
|
33262
|
+
},
|
|
33263
|
+
"type": "object"
|
|
33264
|
+
},
|
|
32682
33265
|
"TornCompaniesResponse": {
|
|
32683
33266
|
"required": [
|
|
32684
33267
|
"companies"
|
|
@@ -33981,8 +34564,7 @@
|
|
|
33981
34564
|
],
|
|
33982
34565
|
"properties": {
|
|
33983
34566
|
"id": {
|
|
33984
|
-
"
|
|
33985
|
-
"format": "int32"
|
|
34567
|
+
"$ref": "#/components/schemas/TornSubCrimeId"
|
|
33986
34568
|
},
|
|
33987
34569
|
"name": {
|
|
33988
34570
|
"type": "string"
|
|
@@ -35179,7 +35761,7 @@
|
|
|
35179
35761
|
"TornSelectionName": {
|
|
35180
35762
|
"oneOf": [
|
|
35181
35763
|
{
|
|
35182
|
-
"description": "The following selections will fallback to API v1 and may change at any time: 'bank','cards','cityshops','companies','competition','gyms','itemdetails','itemstats','organisedcrimes','pawnshop','pokertables','rockpaperscissors','
|
|
35764
|
+
"description": "The following selections will fallback to API v1 and may change at any time: 'bank','cards','cityshops','companies','competition','gyms','itemdetails','itemstats','organisedcrimes','pawnshop','pokertables','rockpaperscissors','stats'.\n * The following selections are not available in API v2: 'dirtybombs','raidreport','raids', 'chainreport', 'rackets', 'rankedwarreport', 'rankedwars', 'territorynames', 'territorywarreport', 'territorywars'.",
|
|
35183
35765
|
"type": "string",
|
|
35184
35766
|
"enum": [
|
|
35185
35767
|
"attacklog",
|
|
@@ -35204,6 +35786,8 @@
|
|
|
35204
35786
|
"museum",
|
|
35205
35787
|
"organizedcrimes",
|
|
35206
35788
|
"properties",
|
|
35789
|
+
"searchforcash",
|
|
35790
|
+
"shoplifting",
|
|
35207
35791
|
"stocks",
|
|
35208
35792
|
"subcrimes",
|
|
35209
35793
|
"territory",
|
|
@@ -35220,8 +35804,6 @@
|
|
|
35220
35804
|
"pawnshop",
|
|
35221
35805
|
"pokertables",
|
|
35222
35806
|
"rockpaperscissors",
|
|
35223
|
-
"searchforcash",
|
|
35224
|
-
"shoplifting",
|
|
35225
35807
|
"stats"
|
|
35226
35808
|
]
|
|
35227
35809
|
},
|