@featureflip/mcp 0.11.0 → 0.12.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/README.md +1 -1
- package/dist/cli.mjs +1 -1
- package/dist/client.d.ts +1 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/generated/api-types.d.ts +1189 -80
- package/dist/generated/api-types.d.ts.map +1 -1
- package/dist/generated/output-schemas.json.d.ts +492 -1
- package/dist/index.mjs +1 -1
- package/dist/org-D-wxVFsh.js +2340 -0
- package/dist/server.d.ts.map +1 -1
- package/dist/tools/flag-versions.d.ts +4 -0
- package/dist/tools/flag-versions.d.ts.map +1 -0
- package/dist/tools/segments.d.ts.map +1 -1
- package/dist/tools/variations.d.ts.map +1 -1
- package/package.json +2 -2
- package/dist/org-BndJWcRw.js +0 -2264
|
@@ -21,6 +21,7 @@ export interface paths {
|
|
|
21
21
|
query?: {
|
|
22
22
|
project?: string;
|
|
23
23
|
status?: string;
|
|
24
|
+
/** @description Page size: 1 to 100 items, 20 when omitted. A value outside that range is clamped, not rejected: below 1 reads as 1, above 100 as 100. */
|
|
24
25
|
limit?: number;
|
|
25
26
|
cursor?: string;
|
|
26
27
|
};
|
|
@@ -114,8 +115,6 @@ export interface paths {
|
|
|
114
115
|
requestBody?: {
|
|
115
116
|
content: {
|
|
116
117
|
"application/json": components["schemas"]["PublicCreateChangeFreezeRequest"];
|
|
117
|
-
"text/json": components["schemas"]["PublicCreateChangeFreezeRequest"];
|
|
118
|
-
"application/*+json": components["schemas"]["PublicCreateChangeFreezeRequest"];
|
|
119
118
|
};
|
|
120
119
|
};
|
|
121
120
|
responses: {
|
|
@@ -179,6 +178,18 @@ export interface paths {
|
|
|
179
178
|
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
180
179
|
};
|
|
181
180
|
};
|
|
181
|
+
/** @description The request body has no Content-Type, or one that isn't JSON (error code unsupported_media_type). Send it as application/json. */
|
|
182
|
+
415: {
|
|
183
|
+
headers: {
|
|
184
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
185
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
186
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
187
|
+
[name: string]: unknown;
|
|
188
|
+
};
|
|
189
|
+
content: {
|
|
190
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
191
|
+
};
|
|
192
|
+
};
|
|
182
193
|
/** @description Rate limit exceeded. Retry after the interval indicated by the Retry-After header. */
|
|
183
194
|
429: {
|
|
184
195
|
headers: {
|
|
@@ -406,8 +417,6 @@ export interface paths {
|
|
|
406
417
|
requestBody?: {
|
|
407
418
|
content: {
|
|
408
419
|
"application/json": components["schemas"]["PublicUpdateChangeFreezeRequest"];
|
|
409
|
-
"text/json": components["schemas"]["PublicUpdateChangeFreezeRequest"];
|
|
410
|
-
"application/*+json": components["schemas"]["PublicUpdateChangeFreezeRequest"];
|
|
411
420
|
};
|
|
412
421
|
};
|
|
413
422
|
responses: {
|
|
@@ -485,6 +494,18 @@ export interface paths {
|
|
|
485
494
|
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
486
495
|
};
|
|
487
496
|
};
|
|
497
|
+
/** @description The request body has no Content-Type, or one that isn't JSON (error code unsupported_media_type). Send it as application/json. */
|
|
498
|
+
415: {
|
|
499
|
+
headers: {
|
|
500
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
501
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
502
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
503
|
+
[name: string]: unknown;
|
|
504
|
+
};
|
|
505
|
+
content: {
|
|
506
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
507
|
+
};
|
|
508
|
+
};
|
|
488
509
|
/** @description Rate limit exceeded. Retry after the interval indicated by the Retry-After header. */
|
|
489
510
|
429: {
|
|
490
511
|
headers: {
|
|
@@ -642,8 +663,6 @@ export interface paths {
|
|
|
642
663
|
requestBody?: {
|
|
643
664
|
content: {
|
|
644
665
|
"application/json": components["schemas"]["PublicGrantFreezeApprovalRequest"];
|
|
645
|
-
"text/json": components["schemas"]["PublicGrantFreezeApprovalRequest"];
|
|
646
|
-
"application/*+json": components["schemas"]["PublicGrantFreezeApprovalRequest"];
|
|
647
666
|
};
|
|
648
667
|
};
|
|
649
668
|
responses: {
|
|
@@ -719,6 +738,18 @@ export interface paths {
|
|
|
719
738
|
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
720
739
|
};
|
|
721
740
|
};
|
|
741
|
+
/** @description The request body has no Content-Type, or one that isn't JSON (error code unsupported_media_type). Send it as application/json. */
|
|
742
|
+
415: {
|
|
743
|
+
headers: {
|
|
744
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
745
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
746
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
747
|
+
[name: string]: unknown;
|
|
748
|
+
};
|
|
749
|
+
content: {
|
|
750
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
751
|
+
};
|
|
752
|
+
};
|
|
722
753
|
/** @description Rate limit exceeded. Retry after the interval indicated by the Retry-After header. */
|
|
723
754
|
429: {
|
|
724
755
|
headers: {
|
|
@@ -872,6 +903,7 @@ export interface paths {
|
|
|
872
903
|
get: {
|
|
873
904
|
parameters: {
|
|
874
905
|
query?: {
|
|
906
|
+
/** @description Page size: 1 to 100 items, 20 when omitted. A value outside that range is clamped, not rejected: below 1 reads as 1, above 100 as 100. */
|
|
875
907
|
limit?: number;
|
|
876
908
|
cursor?: string;
|
|
877
909
|
};
|
|
@@ -896,6 +928,18 @@ export interface paths {
|
|
|
896
928
|
"application/json": components["schemas"]["PublicEnvironmentResponsePagedResult"];
|
|
897
929
|
};
|
|
898
930
|
};
|
|
931
|
+
/** @description A query parameter, header or body field is invalid (error code validation_failed; fields names each one), or the body isn't valid JSON. */
|
|
932
|
+
400: {
|
|
933
|
+
headers: {
|
|
934
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
935
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
936
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
937
|
+
[name: string]: unknown;
|
|
938
|
+
};
|
|
939
|
+
content: {
|
|
940
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
941
|
+
};
|
|
942
|
+
};
|
|
899
943
|
/** @description Authentication is required, or the supplied API token is invalid or expired. */
|
|
900
944
|
401: {
|
|
901
945
|
headers: {
|
|
@@ -955,8 +999,6 @@ export interface paths {
|
|
|
955
999
|
requestBody?: {
|
|
956
1000
|
content: {
|
|
957
1001
|
"application/json": components["schemas"]["PublicCreateEnvironmentRequest"];
|
|
958
|
-
"text/json": components["schemas"]["PublicCreateEnvironmentRequest"];
|
|
959
|
-
"application/*+json": components["schemas"]["PublicCreateEnvironmentRequest"];
|
|
960
1002
|
};
|
|
961
1003
|
};
|
|
962
1004
|
responses: {
|
|
@@ -1020,6 +1062,18 @@ export interface paths {
|
|
|
1020
1062
|
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
1021
1063
|
};
|
|
1022
1064
|
};
|
|
1065
|
+
/** @description The request body has no Content-Type, or one that isn't JSON (error code unsupported_media_type). Send it as application/json. */
|
|
1066
|
+
415: {
|
|
1067
|
+
headers: {
|
|
1068
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
1069
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
1070
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
1071
|
+
[name: string]: unknown;
|
|
1072
|
+
};
|
|
1073
|
+
content: {
|
|
1074
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
1075
|
+
};
|
|
1076
|
+
};
|
|
1023
1077
|
/** @description Rate limit exceeded. Retry after the interval indicated by the Retry-After header. */
|
|
1024
1078
|
429: {
|
|
1025
1079
|
headers: {
|
|
@@ -1157,8 +1211,6 @@ export interface paths {
|
|
|
1157
1211
|
requestBody?: {
|
|
1158
1212
|
content: {
|
|
1159
1213
|
"application/json": components["schemas"]["PublicUpdateEnvironmentRequest"];
|
|
1160
|
-
"text/json": components["schemas"]["PublicUpdateEnvironmentRequest"];
|
|
1161
|
-
"application/*+json": components["schemas"]["PublicUpdateEnvironmentRequest"];
|
|
1162
1214
|
};
|
|
1163
1215
|
};
|
|
1164
1216
|
responses: {
|
|
@@ -1174,6 +1226,18 @@ export interface paths {
|
|
|
1174
1226
|
};
|
|
1175
1227
|
content?: never;
|
|
1176
1228
|
};
|
|
1229
|
+
/** @description A query parameter, header or body field is invalid (error code validation_failed; fields names each one), or the body isn't valid JSON. */
|
|
1230
|
+
400: {
|
|
1231
|
+
headers: {
|
|
1232
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
1233
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
1234
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
1235
|
+
[name: string]: unknown;
|
|
1236
|
+
};
|
|
1237
|
+
content: {
|
|
1238
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
1239
|
+
};
|
|
1240
|
+
};
|
|
1177
1241
|
/** @description Authentication is required, or the supplied API token is invalid or expired. */
|
|
1178
1242
|
401: {
|
|
1179
1243
|
headers: {
|
|
@@ -1222,6 +1286,18 @@ export interface paths {
|
|
|
1222
1286
|
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
1223
1287
|
};
|
|
1224
1288
|
};
|
|
1289
|
+
/** @description The request body has no Content-Type, or one that isn't JSON (error code unsupported_media_type). Send it as application/json. */
|
|
1290
|
+
415: {
|
|
1291
|
+
headers: {
|
|
1292
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
1293
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
1294
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
1295
|
+
[name: string]: unknown;
|
|
1296
|
+
};
|
|
1297
|
+
content: {
|
|
1298
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
1299
|
+
};
|
|
1300
|
+
};
|
|
1225
1301
|
/** @description A change reason is required: this change affects an environment that requires one (error code change_reason_required). Retry with the X-Intent-Reason header. */
|
|
1226
1302
|
422: {
|
|
1227
1303
|
headers: {
|
|
@@ -1405,6 +1481,7 @@ export interface paths {
|
|
|
1405
1481
|
tag?: string;
|
|
1406
1482
|
type?: string;
|
|
1407
1483
|
archived?: boolean;
|
|
1484
|
+
/** @description Page size: 1 to 100 items, 20 when omitted. A value outside that range is clamped, not rejected: below 1 reads as 1, above 100 as 100. */
|
|
1408
1485
|
limit?: number;
|
|
1409
1486
|
cursor?: string;
|
|
1410
1487
|
owner?: string;
|
|
@@ -1431,6 +1508,18 @@ export interface paths {
|
|
|
1431
1508
|
"application/json": components["schemas"]["PublicFlagListItemPagedResult"];
|
|
1432
1509
|
};
|
|
1433
1510
|
};
|
|
1511
|
+
/** @description A query parameter, header or body field is invalid (error code validation_failed; fields names each one), or the body isn't valid JSON. */
|
|
1512
|
+
400: {
|
|
1513
|
+
headers: {
|
|
1514
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
1515
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
1516
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
1517
|
+
[name: string]: unknown;
|
|
1518
|
+
};
|
|
1519
|
+
content: {
|
|
1520
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
1521
|
+
};
|
|
1522
|
+
};
|
|
1434
1523
|
/** @description Authentication is required, or the supplied API token is invalid or expired. */
|
|
1435
1524
|
401: {
|
|
1436
1525
|
headers: {
|
|
@@ -1494,8 +1583,6 @@ export interface paths {
|
|
|
1494
1583
|
requestBody?: {
|
|
1495
1584
|
content: {
|
|
1496
1585
|
"application/json": components["schemas"]["PublicCreateFeatureFlagRequest"];
|
|
1497
|
-
"text/json": components["schemas"]["PublicCreateFeatureFlagRequest"];
|
|
1498
|
-
"application/*+json": components["schemas"]["PublicCreateFeatureFlagRequest"];
|
|
1499
1586
|
};
|
|
1500
1587
|
};
|
|
1501
1588
|
responses: {
|
|
@@ -1559,6 +1646,18 @@ export interface paths {
|
|
|
1559
1646
|
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
1560
1647
|
};
|
|
1561
1648
|
};
|
|
1649
|
+
/** @description The request body has no Content-Type, or one that isn't JSON (error code unsupported_media_type). Send it as application/json. */
|
|
1650
|
+
415: {
|
|
1651
|
+
headers: {
|
|
1652
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
1653
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
1654
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
1655
|
+
[name: string]: unknown;
|
|
1656
|
+
};
|
|
1657
|
+
content: {
|
|
1658
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
1659
|
+
};
|
|
1660
|
+
};
|
|
1562
1661
|
/** @description Rate limit exceeded. Retry after the interval indicated by the Retry-After header. */
|
|
1563
1662
|
429: {
|
|
1564
1663
|
headers: {
|
|
@@ -1703,6 +1802,7 @@ export interface paths {
|
|
|
1703
1802
|
get: {
|
|
1704
1803
|
parameters: {
|
|
1705
1804
|
query?: {
|
|
1805
|
+
/** @description Page size: 1 to 100 items, 20 when omitted. A value outside that range is clamped, not rejected: below 1 reads as 1, above 100 as 100. */
|
|
1706
1806
|
limit?: number;
|
|
1707
1807
|
cursor?: string;
|
|
1708
1808
|
/**
|
|
@@ -1733,6 +1833,18 @@ export interface paths {
|
|
|
1733
1833
|
"application/json": components["schemas"]["PublicFlagRemovalCandidatePagedResult"];
|
|
1734
1834
|
};
|
|
1735
1835
|
};
|
|
1836
|
+
/** @description A query parameter, header or body field is invalid (error code validation_failed; fields names each one), or the body isn't valid JSON. */
|
|
1837
|
+
400: {
|
|
1838
|
+
headers: {
|
|
1839
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
1840
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
1841
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
1842
|
+
[name: string]: unknown;
|
|
1843
|
+
};
|
|
1844
|
+
content: {
|
|
1845
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
1846
|
+
};
|
|
1847
|
+
};
|
|
1736
1848
|
/** @description Authentication is required, or the supplied API token is invalid or expired. */
|
|
1737
1849
|
401: {
|
|
1738
1850
|
headers: {
|
|
@@ -1897,8 +2009,6 @@ export interface paths {
|
|
|
1897
2009
|
requestBody?: {
|
|
1898
2010
|
content: {
|
|
1899
2011
|
"application/json": components["schemas"]["PublicUpdateFeatureFlagRequest"];
|
|
1900
|
-
"text/json": components["schemas"]["PublicUpdateFeatureFlagRequest"];
|
|
1901
|
-
"application/*+json": components["schemas"]["PublicUpdateFeatureFlagRequest"];
|
|
1902
2012
|
};
|
|
1903
2013
|
};
|
|
1904
2014
|
responses: {
|
|
@@ -1914,6 +2024,18 @@ export interface paths {
|
|
|
1914
2024
|
};
|
|
1915
2025
|
content?: never;
|
|
1916
2026
|
};
|
|
2027
|
+
/** @description A query parameter, header or body field is invalid (error code validation_failed; fields names each one), or the body isn't valid JSON. */
|
|
2028
|
+
400: {
|
|
2029
|
+
headers: {
|
|
2030
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
2031
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
2032
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
2033
|
+
[name: string]: unknown;
|
|
2034
|
+
};
|
|
2035
|
+
content: {
|
|
2036
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
2037
|
+
};
|
|
2038
|
+
};
|
|
1917
2039
|
/** @description Authentication is required, or the supplied API token is invalid or expired. */
|
|
1918
2040
|
401: {
|
|
1919
2041
|
headers: {
|
|
@@ -1962,6 +2084,18 @@ export interface paths {
|
|
|
1962
2084
|
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
1963
2085
|
};
|
|
1964
2086
|
};
|
|
2087
|
+
/** @description The request body has no Content-Type, or one that isn't JSON (error code unsupported_media_type). Send it as application/json. */
|
|
2088
|
+
415: {
|
|
2089
|
+
headers: {
|
|
2090
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
2091
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
2092
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
2093
|
+
[name: string]: unknown;
|
|
2094
|
+
};
|
|
2095
|
+
content: {
|
|
2096
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
2097
|
+
};
|
|
2098
|
+
};
|
|
1965
2099
|
/** @description A change reason is required: this change affects an environment that requires one (error code change_reason_required). Retry with the X-Intent-Reason header. */
|
|
1966
2100
|
422: {
|
|
1967
2101
|
headers: {
|
|
@@ -2137,8 +2271,6 @@ export interface paths {
|
|
|
2137
2271
|
requestBody?: {
|
|
2138
2272
|
content: {
|
|
2139
2273
|
"application/json": components["schemas"]["PublicSetFlagExpiryRequest"];
|
|
2140
|
-
"text/json": components["schemas"]["PublicSetFlagExpiryRequest"];
|
|
2141
|
-
"application/*+json": components["schemas"]["PublicSetFlagExpiryRequest"];
|
|
2142
2274
|
};
|
|
2143
2275
|
};
|
|
2144
2276
|
responses: {
|
|
@@ -2200,6 +2332,18 @@ export interface paths {
|
|
|
2200
2332
|
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
2201
2333
|
};
|
|
2202
2334
|
};
|
|
2335
|
+
/** @description The request body has no Content-Type, or one that isn't JSON (error code unsupported_media_type). Send it as application/json. */
|
|
2336
|
+
415: {
|
|
2337
|
+
headers: {
|
|
2338
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
2339
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
2340
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
2341
|
+
[name: string]: unknown;
|
|
2342
|
+
};
|
|
2343
|
+
content: {
|
|
2344
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
2345
|
+
};
|
|
2346
|
+
};
|
|
2203
2347
|
/** @description Rate limit exceeded. Retry after the interval indicated by the Retry-After header. */
|
|
2204
2348
|
429: {
|
|
2205
2349
|
headers: {
|
|
@@ -2342,8 +2486,6 @@ export interface paths {
|
|
|
2342
2486
|
requestBody?: {
|
|
2343
2487
|
content: {
|
|
2344
2488
|
"application/json": components["schemas"]["PublicSetFlagOwnerRequest"];
|
|
2345
|
-
"text/json": components["schemas"]["PublicSetFlagOwnerRequest"];
|
|
2346
|
-
"application/*+json": components["schemas"]["PublicSetFlagOwnerRequest"];
|
|
2347
2489
|
};
|
|
2348
2490
|
};
|
|
2349
2491
|
responses: {
|
|
@@ -2405,6 +2547,18 @@ export interface paths {
|
|
|
2405
2547
|
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
2406
2548
|
};
|
|
2407
2549
|
};
|
|
2550
|
+
/** @description The request body has no Content-Type, or one that isn't JSON (error code unsupported_media_type). Send it as application/json. */
|
|
2551
|
+
415: {
|
|
2552
|
+
headers: {
|
|
2553
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
2554
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
2555
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
2556
|
+
[name: string]: unknown;
|
|
2557
|
+
};
|
|
2558
|
+
content: {
|
|
2559
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
2560
|
+
};
|
|
2561
|
+
};
|
|
2408
2562
|
/** @description Rate limit exceeded. Retry after the interval indicated by the Retry-After header. */
|
|
2409
2563
|
429: {
|
|
2410
2564
|
headers: {
|
|
@@ -2745,8 +2899,6 @@ export interface paths {
|
|
|
2745
2899
|
requestBody?: {
|
|
2746
2900
|
content: {
|
|
2747
2901
|
"application/json": components["schemas"]["PublicSetFlagRemovalPrRequest"];
|
|
2748
|
-
"text/json": components["schemas"]["PublicSetFlagRemovalPrRequest"];
|
|
2749
|
-
"application/*+json": components["schemas"]["PublicSetFlagRemovalPrRequest"];
|
|
2750
2902
|
};
|
|
2751
2903
|
};
|
|
2752
2904
|
responses: {
|
|
@@ -2808,6 +2960,18 @@ export interface paths {
|
|
|
2808
2960
|
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
2809
2961
|
};
|
|
2810
2962
|
};
|
|
2963
|
+
/** @description The request body has no Content-Type, or one that isn't JSON (error code unsupported_media_type). Send it as application/json. */
|
|
2964
|
+
415: {
|
|
2965
|
+
headers: {
|
|
2966
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
2967
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
2968
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
2969
|
+
[name: string]: unknown;
|
|
2970
|
+
};
|
|
2971
|
+
content: {
|
|
2972
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
2973
|
+
};
|
|
2974
|
+
};
|
|
2811
2975
|
/** @description Rate limit exceeded. Retry after the interval indicated by the Retry-After header. */
|
|
2812
2976
|
429: {
|
|
2813
2977
|
headers: {
|
|
@@ -3378,8 +3542,6 @@ export interface paths {
|
|
|
3378
3542
|
requestBody?: {
|
|
3379
3543
|
content: {
|
|
3380
3544
|
"application/json": components["schemas"]["PublicUpdateFlagEnvConfigRequest"];
|
|
3381
|
-
"text/json": components["schemas"]["PublicUpdateFlagEnvConfigRequest"];
|
|
3382
|
-
"application/*+json": components["schemas"]["PublicUpdateFlagEnvConfigRequest"];
|
|
3383
3545
|
};
|
|
3384
3546
|
};
|
|
3385
3547
|
responses: {
|
|
@@ -3455,6 +3617,18 @@ export interface paths {
|
|
|
3455
3617
|
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
3456
3618
|
};
|
|
3457
3619
|
};
|
|
3620
|
+
/** @description The request body has no Content-Type, or one that isn't JSON (error code unsupported_media_type). Send it as application/json. */
|
|
3621
|
+
415: {
|
|
3622
|
+
headers: {
|
|
3623
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
3624
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
3625
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
3626
|
+
[name: string]: unknown;
|
|
3627
|
+
};
|
|
3628
|
+
content: {
|
|
3629
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
3630
|
+
};
|
|
3631
|
+
};
|
|
3458
3632
|
/** @description A change reason is required: this change affects an environment that requires one (error code change_reason_required). Retry with the X-Intent-Reason header. */
|
|
3459
3633
|
422: {
|
|
3460
3634
|
headers: {
|
|
@@ -3539,8 +3713,6 @@ export interface paths {
|
|
|
3539
3713
|
requestBody?: {
|
|
3540
3714
|
content: {
|
|
3541
3715
|
"application/json": components["schemas"]["PublicCopyFlagConfigRequest"];
|
|
3542
|
-
"text/json": components["schemas"]["PublicCopyFlagConfigRequest"];
|
|
3543
|
-
"application/*+json": components["schemas"]["PublicCopyFlagConfigRequest"];
|
|
3544
3716
|
};
|
|
3545
3717
|
};
|
|
3546
3718
|
responses: {
|
|
@@ -3616,6 +3788,18 @@ export interface paths {
|
|
|
3616
3788
|
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
3617
3789
|
};
|
|
3618
3790
|
};
|
|
3791
|
+
/** @description The request body has no Content-Type, or one that isn't JSON (error code unsupported_media_type). Send it as application/json. */
|
|
3792
|
+
415: {
|
|
3793
|
+
headers: {
|
|
3794
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
3795
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
3796
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
3797
|
+
[name: string]: unknown;
|
|
3798
|
+
};
|
|
3799
|
+
content: {
|
|
3800
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
3801
|
+
};
|
|
3802
|
+
};
|
|
3619
3803
|
/** @description A change reason is required: this change affects an environment that requires one (error code change_reason_required). Retry with the X-Intent-Reason header. */
|
|
3620
3804
|
422: {
|
|
3621
3805
|
headers: {
|
|
@@ -3695,8 +3879,6 @@ export interface paths {
|
|
|
3695
3879
|
requestBody?: {
|
|
3696
3880
|
content: {
|
|
3697
3881
|
"application/json": components["schemas"]["PublicToggleFlagRequest"];
|
|
3698
|
-
"text/json": components["schemas"]["PublicToggleFlagRequest"];
|
|
3699
|
-
"application/*+json": components["schemas"]["PublicToggleFlagRequest"];
|
|
3700
3882
|
};
|
|
3701
3883
|
};
|
|
3702
3884
|
responses: {
|
|
@@ -3758,6 +3940,18 @@ export interface paths {
|
|
|
3758
3940
|
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
3759
3941
|
};
|
|
3760
3942
|
};
|
|
3943
|
+
/** @description The request body has no Content-Type, or one that isn't JSON (error code unsupported_media_type). Send it as application/json. */
|
|
3944
|
+
415: {
|
|
3945
|
+
headers: {
|
|
3946
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
3947
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
3948
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
3949
|
+
[name: string]: unknown;
|
|
3950
|
+
};
|
|
3951
|
+
content: {
|
|
3952
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
3953
|
+
};
|
|
3954
|
+
};
|
|
3761
3955
|
/** @description A change reason is required: this change affects an environment that requires one (error code change_reason_required). Retry with the X-Intent-Reason header. */
|
|
3762
3956
|
422: {
|
|
3763
3957
|
headers: {
|
|
@@ -4037,8 +4231,6 @@ export interface paths {
|
|
|
4037
4231
|
requestBody?: {
|
|
4038
4232
|
content: {
|
|
4039
4233
|
"application/json": components["schemas"]["PublicPutTargetingRequest"];
|
|
4040
|
-
"text/json": components["schemas"]["PublicPutTargetingRequest"];
|
|
4041
|
-
"application/*+json": components["schemas"]["PublicPutTargetingRequest"];
|
|
4042
4234
|
};
|
|
4043
4235
|
};
|
|
4044
4236
|
responses: {
|
|
@@ -4114,6 +4306,18 @@ export interface paths {
|
|
|
4114
4306
|
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
4115
4307
|
};
|
|
4116
4308
|
};
|
|
4309
|
+
/** @description The request body has no Content-Type, or one that isn't JSON (error code unsupported_media_type). Send it as application/json. */
|
|
4310
|
+
415: {
|
|
4311
|
+
headers: {
|
|
4312
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
4313
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
4314
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
4315
|
+
[name: string]: unknown;
|
|
4316
|
+
};
|
|
4317
|
+
content: {
|
|
4318
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
4319
|
+
};
|
|
4320
|
+
};
|
|
4117
4321
|
/** @description A change reason is required: this change affects an environment that requires one (error code change_reason_required). Retry with the X-Intent-Reason header. */
|
|
4118
4322
|
422: {
|
|
4119
4323
|
headers: {
|
|
@@ -4197,8 +4401,6 @@ export interface paths {
|
|
|
4197
4401
|
requestBody?: {
|
|
4198
4402
|
content: {
|
|
4199
4403
|
"application/json": components["schemas"]["PublicCreateTargetingRuleRequest"];
|
|
4200
|
-
"text/json": components["schemas"]["PublicCreateTargetingRuleRequest"];
|
|
4201
|
-
"application/*+json": components["schemas"]["PublicCreateTargetingRuleRequest"];
|
|
4202
4404
|
};
|
|
4203
4405
|
};
|
|
4204
4406
|
responses: {
|
|
@@ -4262,6 +4464,18 @@ export interface paths {
|
|
|
4262
4464
|
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
4263
4465
|
};
|
|
4264
4466
|
};
|
|
4467
|
+
/** @description The request body has no Content-Type, or one that isn't JSON (error code unsupported_media_type). Send it as application/json. */
|
|
4468
|
+
415: {
|
|
4469
|
+
headers: {
|
|
4470
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
4471
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
4472
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
4473
|
+
[name: string]: unknown;
|
|
4474
|
+
};
|
|
4475
|
+
content: {
|
|
4476
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
4477
|
+
};
|
|
4478
|
+
};
|
|
4265
4479
|
/** @description A change reason is required: this change affects an environment that requires one (error code change_reason_required). Retry with the X-Intent-Reason header. */
|
|
4266
4480
|
422: {
|
|
4267
4481
|
headers: {
|
|
@@ -4427,8 +4641,6 @@ export interface paths {
|
|
|
4427
4641
|
requestBody?: {
|
|
4428
4642
|
content: {
|
|
4429
4643
|
"application/json": components["schemas"]["PublicUpdateTargetingRuleRequest"];
|
|
4430
|
-
"text/json": components["schemas"]["PublicUpdateTargetingRuleRequest"];
|
|
4431
|
-
"application/*+json": components["schemas"]["PublicUpdateTargetingRuleRequest"];
|
|
4432
4644
|
};
|
|
4433
4645
|
};
|
|
4434
4646
|
responses: {
|
|
@@ -4504,6 +4716,18 @@ export interface paths {
|
|
|
4504
4716
|
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
4505
4717
|
};
|
|
4506
4718
|
};
|
|
4719
|
+
/** @description The request body has no Content-Type, or one that isn't JSON (error code unsupported_media_type). Send it as application/json. */
|
|
4720
|
+
415: {
|
|
4721
|
+
headers: {
|
|
4722
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
4723
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
4724
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
4725
|
+
[name: string]: unknown;
|
|
4726
|
+
};
|
|
4727
|
+
content: {
|
|
4728
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
4729
|
+
};
|
|
4730
|
+
};
|
|
4507
4731
|
/** @description A change reason is required: this change affects an environment that requires one (error code change_reason_required). Retry with the X-Intent-Reason header. */
|
|
4508
4732
|
422: {
|
|
4509
4733
|
headers: {
|
|
@@ -4705,8 +4929,6 @@ export interface paths {
|
|
|
4705
4929
|
requestBody?: {
|
|
4706
4930
|
content: {
|
|
4707
4931
|
"application/json": components["schemas"]["PublicReorderRulesRequest"];
|
|
4708
|
-
"text/json": components["schemas"]["PublicReorderRulesRequest"];
|
|
4709
|
-
"application/*+json": components["schemas"]["PublicReorderRulesRequest"];
|
|
4710
4932
|
};
|
|
4711
4933
|
};
|
|
4712
4934
|
responses: {
|
|
@@ -4768,6 +4990,18 @@ export interface paths {
|
|
|
4768
4990
|
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
4769
4991
|
};
|
|
4770
4992
|
};
|
|
4993
|
+
/** @description The request body has no Content-Type, or one that isn't JSON (error code unsupported_media_type). Send it as application/json. */
|
|
4994
|
+
415: {
|
|
4995
|
+
headers: {
|
|
4996
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
4997
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
4998
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
4999
|
+
[name: string]: unknown;
|
|
5000
|
+
};
|
|
5001
|
+
content: {
|
|
5002
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
5003
|
+
};
|
|
5004
|
+
};
|
|
4771
5005
|
/** @description A change reason is required: this change affects an environment that requires one (error code change_reason_required). Retry with the X-Intent-Reason header. */
|
|
4772
5006
|
422: {
|
|
4773
5007
|
headers: {
|
|
@@ -4847,8 +5081,6 @@ export interface paths {
|
|
|
4847
5081
|
requestBody?: {
|
|
4848
5082
|
content: {
|
|
4849
5083
|
"application/json": components["schemas"]["PublicAddVariationRequest"];
|
|
4850
|
-
"text/json": components["schemas"]["PublicAddVariationRequest"];
|
|
4851
|
-
"application/*+json": components["schemas"]["PublicAddVariationRequest"];
|
|
4852
5084
|
};
|
|
4853
5085
|
};
|
|
4854
5086
|
responses: {
|
|
@@ -4912,6 +5144,18 @@ export interface paths {
|
|
|
4912
5144
|
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
4913
5145
|
};
|
|
4914
5146
|
};
|
|
5147
|
+
/** @description The request body has no Content-Type, or one that isn't JSON (error code unsupported_media_type). Send it as application/json. */
|
|
5148
|
+
415: {
|
|
5149
|
+
headers: {
|
|
5150
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
5151
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
5152
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
5153
|
+
[name: string]: unknown;
|
|
5154
|
+
};
|
|
5155
|
+
content: {
|
|
5156
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
5157
|
+
};
|
|
5158
|
+
};
|
|
4915
5159
|
/** @description A change reason is required: this change affects an environment that requires one (error code change_reason_required). Retry with the X-Intent-Reason header. */
|
|
4916
5160
|
422: {
|
|
4917
5161
|
headers: {
|
|
@@ -4976,8 +5220,6 @@ export interface paths {
|
|
|
4976
5220
|
requestBody?: {
|
|
4977
5221
|
content: {
|
|
4978
5222
|
"application/json": components["schemas"]["PublicUpdateVariationRequest"];
|
|
4979
|
-
"text/json": components["schemas"]["PublicUpdateVariationRequest"];
|
|
4980
|
-
"application/*+json": components["schemas"]["PublicUpdateVariationRequest"];
|
|
4981
5223
|
};
|
|
4982
5224
|
};
|
|
4983
5225
|
responses: {
|
|
@@ -5039,6 +5281,18 @@ export interface paths {
|
|
|
5039
5281
|
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
5040
5282
|
};
|
|
5041
5283
|
};
|
|
5284
|
+
/** @description The request body has no Content-Type, or one that isn't JSON (error code unsupported_media_type). Send it as application/json. */
|
|
5285
|
+
415: {
|
|
5286
|
+
headers: {
|
|
5287
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
5288
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
5289
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
5290
|
+
[name: string]: unknown;
|
|
5291
|
+
};
|
|
5292
|
+
content: {
|
|
5293
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
5294
|
+
};
|
|
5295
|
+
};
|
|
5042
5296
|
/** @description A change reason is required: this change affects an environment that requires one (error code change_reason_required). Retry with the X-Intent-Reason header. */
|
|
5043
5297
|
422: {
|
|
5044
5298
|
headers: {
|
|
@@ -5185,17 +5439,22 @@ export interface paths {
|
|
|
5185
5439
|
patch?: never;
|
|
5186
5440
|
trace?: never;
|
|
5187
5441
|
};
|
|
5188
|
-
"/api/v1/orgs/{org}/projects/{project}/flags/{flag}/environments/{env}/
|
|
5442
|
+
"/api/v1/orgs/{org}/projects/{project}/flags/{flag}/environments/{env}/versions": {
|
|
5189
5443
|
parameters: {
|
|
5190
5444
|
query?: never;
|
|
5191
5445
|
header?: never;
|
|
5192
5446
|
path?: never;
|
|
5193
5447
|
cookie?: never;
|
|
5194
5448
|
};
|
|
5195
|
-
/**
|
|
5449
|
+
/**
|
|
5450
|
+
* Lists the environment's versions, newest first, as `{ items, next_cursor }` like every list under `/api/v1`.
|
|
5451
|
+
* @description `limit` is 1 to 100 (default 25, clamped); pass `next_cursor` back as `cursor`
|
|
5452
|
+
* for the next, older page. A cursor that was not issued by this endpoint is a 400.
|
|
5453
|
+
*/
|
|
5196
5454
|
get: {
|
|
5197
5455
|
parameters: {
|
|
5198
5456
|
query?: {
|
|
5457
|
+
/** @description Page size: 1 to 100 items, 25 when omitted. A value outside that range is clamped, not rejected: below 1 reads as 1, above 100 as 100. */
|
|
5199
5458
|
limit?: number;
|
|
5200
5459
|
cursor?: string;
|
|
5201
5460
|
};
|
|
@@ -5219,11 +5478,11 @@ export interface paths {
|
|
|
5219
5478
|
[name: string]: unknown;
|
|
5220
5479
|
};
|
|
5221
5480
|
content: {
|
|
5222
|
-
"application/json": components["schemas"]["
|
|
5481
|
+
"application/json": components["schemas"]["PublicFlagVersionSummaryPagedResult"];
|
|
5223
5482
|
};
|
|
5224
5483
|
};
|
|
5225
|
-
/** @description
|
|
5226
|
-
|
|
5484
|
+
/** @description Bad Request */
|
|
5485
|
+
400: {
|
|
5227
5486
|
headers: {
|
|
5228
5487
|
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
5229
5488
|
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
@@ -5234,8 +5493,472 @@ export interface paths {
|
|
|
5234
5493
|
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
5235
5494
|
};
|
|
5236
5495
|
};
|
|
5237
|
-
/** @description
|
|
5238
|
-
|
|
5496
|
+
/** @description Authentication is required, or the supplied API token is invalid or expired. */
|
|
5497
|
+
401: {
|
|
5498
|
+
headers: {
|
|
5499
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
5500
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
5501
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
5502
|
+
[name: string]: unknown;
|
|
5503
|
+
};
|
|
5504
|
+
content: {
|
|
5505
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
5506
|
+
};
|
|
5507
|
+
};
|
|
5508
|
+
/** @description Not Found */
|
|
5509
|
+
404: {
|
|
5510
|
+
headers: {
|
|
5511
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
5512
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
5513
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
5514
|
+
[name: string]: unknown;
|
|
5515
|
+
};
|
|
5516
|
+
content: {
|
|
5517
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
5518
|
+
};
|
|
5519
|
+
};
|
|
5520
|
+
/** @description Rate limit exceeded. Retry after the interval indicated by the Retry-After header. */
|
|
5521
|
+
429: {
|
|
5522
|
+
headers: {
|
|
5523
|
+
/** @description Number of seconds to wait before retrying the request. */
|
|
5524
|
+
"Retry-After"?: number;
|
|
5525
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
5526
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
5527
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
5528
|
+
[name: string]: unknown;
|
|
5529
|
+
};
|
|
5530
|
+
content: {
|
|
5531
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
5532
|
+
};
|
|
5533
|
+
};
|
|
5534
|
+
};
|
|
5535
|
+
};
|
|
5536
|
+
put?: never;
|
|
5537
|
+
post?: never;
|
|
5538
|
+
delete?: never;
|
|
5539
|
+
options?: never;
|
|
5540
|
+
head?: never;
|
|
5541
|
+
patch?: never;
|
|
5542
|
+
trace?: never;
|
|
5543
|
+
};
|
|
5544
|
+
"/api/v1/orgs/{org}/projects/{project}/flags/{flag}/environments/{env}/versions/{number}": {
|
|
5545
|
+
parameters: {
|
|
5546
|
+
query?: never;
|
|
5547
|
+
header?: never;
|
|
5548
|
+
path?: never;
|
|
5549
|
+
cookie?: never;
|
|
5550
|
+
};
|
|
5551
|
+
/** Gets one version with the configuration it captured. */
|
|
5552
|
+
get: {
|
|
5553
|
+
parameters: {
|
|
5554
|
+
query?: never;
|
|
5555
|
+
header?: never;
|
|
5556
|
+
path: {
|
|
5557
|
+
org: string;
|
|
5558
|
+
project: string;
|
|
5559
|
+
flag: string;
|
|
5560
|
+
env: string;
|
|
5561
|
+
number: number;
|
|
5562
|
+
};
|
|
5563
|
+
cookie?: never;
|
|
5564
|
+
};
|
|
5565
|
+
requestBody?: never;
|
|
5566
|
+
responses: {
|
|
5567
|
+
/** @description OK */
|
|
5568
|
+
200: {
|
|
5569
|
+
headers: {
|
|
5570
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
5571
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
5572
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
5573
|
+
[name: string]: unknown;
|
|
5574
|
+
};
|
|
5575
|
+
content: {
|
|
5576
|
+
"application/json": components["schemas"]["PublicFlagVersion"];
|
|
5577
|
+
};
|
|
5578
|
+
};
|
|
5579
|
+
/** @description Authentication is required, or the supplied API token is invalid or expired. */
|
|
5580
|
+
401: {
|
|
5581
|
+
headers: {
|
|
5582
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
5583
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
5584
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
5585
|
+
[name: string]: unknown;
|
|
5586
|
+
};
|
|
5587
|
+
content: {
|
|
5588
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
5589
|
+
};
|
|
5590
|
+
};
|
|
5591
|
+
/** @description Not Found */
|
|
5592
|
+
404: {
|
|
5593
|
+
headers: {
|
|
5594
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
5595
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
5596
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
5597
|
+
[name: string]: unknown;
|
|
5598
|
+
};
|
|
5599
|
+
content: {
|
|
5600
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
5601
|
+
};
|
|
5602
|
+
};
|
|
5603
|
+
/** @description Rate limit exceeded. Retry after the interval indicated by the Retry-After header. */
|
|
5604
|
+
429: {
|
|
5605
|
+
headers: {
|
|
5606
|
+
/** @description Number of seconds to wait before retrying the request. */
|
|
5607
|
+
"Retry-After"?: number;
|
|
5608
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
5609
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
5610
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
5611
|
+
[name: string]: unknown;
|
|
5612
|
+
};
|
|
5613
|
+
content: {
|
|
5614
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
5615
|
+
};
|
|
5616
|
+
};
|
|
5617
|
+
};
|
|
5618
|
+
};
|
|
5619
|
+
put?: never;
|
|
5620
|
+
post?: never;
|
|
5621
|
+
delete?: never;
|
|
5622
|
+
options?: never;
|
|
5623
|
+
head?: never;
|
|
5624
|
+
patch?: never;
|
|
5625
|
+
trace?: never;
|
|
5626
|
+
};
|
|
5627
|
+
"/api/v1/orgs/{org}/projects/{project}/flags/{flag}/environments/{env}/versions/{number}/diff": {
|
|
5628
|
+
parameters: {
|
|
5629
|
+
query?: never;
|
|
5630
|
+
header?: never;
|
|
5631
|
+
path?: never;
|
|
5632
|
+
cookie?: never;
|
|
5633
|
+
};
|
|
5634
|
+
/** Compares a version with `against`, which defaults to the latest version. */
|
|
5635
|
+
get: {
|
|
5636
|
+
parameters: {
|
|
5637
|
+
query?: {
|
|
5638
|
+
against?: number;
|
|
5639
|
+
};
|
|
5640
|
+
header?: never;
|
|
5641
|
+
path: {
|
|
5642
|
+
org: string;
|
|
5643
|
+
project: string;
|
|
5644
|
+
flag: string;
|
|
5645
|
+
env: string;
|
|
5646
|
+
number: number;
|
|
5647
|
+
};
|
|
5648
|
+
cookie?: never;
|
|
5649
|
+
};
|
|
5650
|
+
requestBody?: never;
|
|
5651
|
+
responses: {
|
|
5652
|
+
/** @description OK */
|
|
5653
|
+
200: {
|
|
5654
|
+
headers: {
|
|
5655
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
5656
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
5657
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
5658
|
+
[name: string]: unknown;
|
|
5659
|
+
};
|
|
5660
|
+
content: {
|
|
5661
|
+
"application/json": components["schemas"]["PublicFlagVersionDiff"];
|
|
5662
|
+
};
|
|
5663
|
+
};
|
|
5664
|
+
/** @description A query parameter, header or body field is invalid (error code validation_failed; fields names each one), or the body isn't valid JSON. */
|
|
5665
|
+
400: {
|
|
5666
|
+
headers: {
|
|
5667
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
5668
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
5669
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
5670
|
+
[name: string]: unknown;
|
|
5671
|
+
};
|
|
5672
|
+
content: {
|
|
5673
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
5674
|
+
};
|
|
5675
|
+
};
|
|
5676
|
+
/** @description Authentication is required, or the supplied API token is invalid or expired. */
|
|
5677
|
+
401: {
|
|
5678
|
+
headers: {
|
|
5679
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
5680
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
5681
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
5682
|
+
[name: string]: unknown;
|
|
5683
|
+
};
|
|
5684
|
+
content: {
|
|
5685
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
5686
|
+
};
|
|
5687
|
+
};
|
|
5688
|
+
/** @description Not Found */
|
|
5689
|
+
404: {
|
|
5690
|
+
headers: {
|
|
5691
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
5692
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
5693
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
5694
|
+
[name: string]: unknown;
|
|
5695
|
+
};
|
|
5696
|
+
content: {
|
|
5697
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
5698
|
+
};
|
|
5699
|
+
};
|
|
5700
|
+
/** @description Rate limit exceeded. Retry after the interval indicated by the Retry-After header. */
|
|
5701
|
+
429: {
|
|
5702
|
+
headers: {
|
|
5703
|
+
/** @description Number of seconds to wait before retrying the request. */
|
|
5704
|
+
"Retry-After"?: number;
|
|
5705
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
5706
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
5707
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
5708
|
+
[name: string]: unknown;
|
|
5709
|
+
};
|
|
5710
|
+
content: {
|
|
5711
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
5712
|
+
};
|
|
5713
|
+
};
|
|
5714
|
+
};
|
|
5715
|
+
};
|
|
5716
|
+
put?: never;
|
|
5717
|
+
post?: never;
|
|
5718
|
+
delete?: never;
|
|
5719
|
+
options?: never;
|
|
5720
|
+
head?: never;
|
|
5721
|
+
patch?: never;
|
|
5722
|
+
trace?: never;
|
|
5723
|
+
};
|
|
5724
|
+
"/api/v1/orgs/{org}/projects/{project}/flags/{flag}/environments/{env}/versions/{number}/restore": {
|
|
5725
|
+
parameters: {
|
|
5726
|
+
query?: never;
|
|
5727
|
+
header?: never;
|
|
5728
|
+
path?: never;
|
|
5729
|
+
cookie?: never;
|
|
5730
|
+
};
|
|
5731
|
+
get?: never;
|
|
5732
|
+
put?: never;
|
|
5733
|
+
/**
|
|
5734
|
+
* Restores a version onto the environment as a new version.
|
|
5735
|
+
* @description Previews by default, changing nothing:
|
|
5736
|
+
* `dryRun: false` applies. Everything but on/off is restored; `includeState` restores on/off too. Both
|
|
5737
|
+
* return what changed and the configuration's `targetETag`; an apply that sends the preview's as
|
|
5738
|
+
* `expectedETag` is refused with 412 `precondition_failed` if the environment changed since. A version
|
|
5739
|
+
* naming a variation, segment or prerequisite that no longer exists is a 400 `validation_failed` whose
|
|
5740
|
+
* messages start with `FLAG_VERSION_MISSING_REFERENCES` and name each one; one today's rules no longer
|
|
5741
|
+
* accept starts with `FLAG_VERSION_NOT_RESTORABLE`. Requires at least Member; applying needs the Pro plan
|
|
5742
|
+
* or above (400 `PLAN_FEATURE_UNAVAILABLE`), and a change reason in a critical environment.
|
|
5743
|
+
*/
|
|
5744
|
+
post: {
|
|
5745
|
+
parameters: {
|
|
5746
|
+
query?: never;
|
|
5747
|
+
header?: {
|
|
5748
|
+
/** @description Why you are making this change, recorded in the audit log. Percent-encoded UTF-8 (encode it the way encodeURIComponent does); at most 2048 characters after decoding. Required when the target environment — or, for project-wide changes, any environment in the project — requires a change reason; without one the request is refused with 422 change_reason_required. */
|
|
5749
|
+
"X-Intent-Reason"?: string;
|
|
5750
|
+
/** @description Owner/Admin only: `true` breaks an active change freeze for this one request; requires X-Intent-Reason. */
|
|
5751
|
+
"X-Freeze-Override"?: boolean;
|
|
5752
|
+
};
|
|
5753
|
+
path: {
|
|
5754
|
+
org: string;
|
|
5755
|
+
project: string;
|
|
5756
|
+
flag: string;
|
|
5757
|
+
env: string;
|
|
5758
|
+
number: number;
|
|
5759
|
+
};
|
|
5760
|
+
cookie?: never;
|
|
5761
|
+
};
|
|
5762
|
+
requestBody?: {
|
|
5763
|
+
content: {
|
|
5764
|
+
"application/json": components["schemas"]["PublicRestoreFlagVersionRequest"];
|
|
5765
|
+
};
|
|
5766
|
+
};
|
|
5767
|
+
responses: {
|
|
5768
|
+
/** @description OK */
|
|
5769
|
+
200: {
|
|
5770
|
+
headers: {
|
|
5771
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
5772
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
5773
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
5774
|
+
[name: string]: unknown;
|
|
5775
|
+
};
|
|
5776
|
+
content: {
|
|
5777
|
+
"application/json": components["schemas"]["PublicRestoreFlagVersionResult"];
|
|
5778
|
+
};
|
|
5779
|
+
};
|
|
5780
|
+
/** @description The request is malformed, or it carries an If-Match header, which this endpoint can't evaluate. Send no If-Match, or `*`. */
|
|
5781
|
+
400: {
|
|
5782
|
+
headers: {
|
|
5783
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
5784
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
5785
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
5786
|
+
[name: string]: unknown;
|
|
5787
|
+
};
|
|
5788
|
+
content: {
|
|
5789
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
5790
|
+
};
|
|
5791
|
+
};
|
|
5792
|
+
/** @description Authentication is required, or the supplied API token is invalid or expired. */
|
|
5793
|
+
401: {
|
|
5794
|
+
headers: {
|
|
5795
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
5796
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
5797
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
5798
|
+
[name: string]: unknown;
|
|
5799
|
+
};
|
|
5800
|
+
content: {
|
|
5801
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
5802
|
+
};
|
|
5803
|
+
};
|
|
5804
|
+
/** @description Forbidden */
|
|
5805
|
+
403: {
|
|
5806
|
+
headers: {
|
|
5807
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
5808
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
5809
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
5810
|
+
[name: string]: unknown;
|
|
5811
|
+
};
|
|
5812
|
+
content: {
|
|
5813
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
5814
|
+
};
|
|
5815
|
+
};
|
|
5816
|
+
/** @description Not Found */
|
|
5817
|
+
404: {
|
|
5818
|
+
headers: {
|
|
5819
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
5820
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
5821
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
5822
|
+
[name: string]: unknown;
|
|
5823
|
+
};
|
|
5824
|
+
content: {
|
|
5825
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
5826
|
+
};
|
|
5827
|
+
};
|
|
5828
|
+
/** @description Precondition Failed */
|
|
5829
|
+
412: {
|
|
5830
|
+
headers: {
|
|
5831
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
5832
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
5833
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
5834
|
+
[name: string]: unknown;
|
|
5835
|
+
};
|
|
5836
|
+
content: {
|
|
5837
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
5838
|
+
};
|
|
5839
|
+
};
|
|
5840
|
+
/** @description The request body has no Content-Type, or one that isn't JSON (error code unsupported_media_type). Send it as application/json. */
|
|
5841
|
+
415: {
|
|
5842
|
+
headers: {
|
|
5843
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
5844
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
5845
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
5846
|
+
[name: string]: unknown;
|
|
5847
|
+
};
|
|
5848
|
+
content: {
|
|
5849
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
5850
|
+
};
|
|
5851
|
+
};
|
|
5852
|
+
/** @description A change reason is required: this change affects an environment that requires one (error code change_reason_required). Retry with the X-Intent-Reason header. */
|
|
5853
|
+
422: {
|
|
5854
|
+
headers: {
|
|
5855
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
5856
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
5857
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
5858
|
+
[name: string]: unknown;
|
|
5859
|
+
};
|
|
5860
|
+
content: {
|
|
5861
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
5862
|
+
};
|
|
5863
|
+
};
|
|
5864
|
+
/** @description A change freeze covers this environment (error code change_frozen; the change_freeze object names the window, when it ends and whether the caller may break it). An Owner or Admin can retry with X-Freeze-Override: true and an X-Intent-Reason. */
|
|
5865
|
+
423: {
|
|
5866
|
+
headers: {
|
|
5867
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
5868
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
5869
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
5870
|
+
[name: string]: unknown;
|
|
5871
|
+
};
|
|
5872
|
+
content: {
|
|
5873
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
5874
|
+
};
|
|
5875
|
+
};
|
|
5876
|
+
/** @description Rate limit exceeded. Retry after the interval indicated by the Retry-After header. */
|
|
5877
|
+
429: {
|
|
5878
|
+
headers: {
|
|
5879
|
+
/** @description Number of seconds to wait before retrying the request. */
|
|
5880
|
+
"Retry-After"?: number;
|
|
5881
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
5882
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
5883
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
5884
|
+
[name: string]: unknown;
|
|
5885
|
+
};
|
|
5886
|
+
content: {
|
|
5887
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
5888
|
+
};
|
|
5889
|
+
};
|
|
5890
|
+
};
|
|
5891
|
+
};
|
|
5892
|
+
delete?: never;
|
|
5893
|
+
options?: never;
|
|
5894
|
+
head?: never;
|
|
5895
|
+
patch?: never;
|
|
5896
|
+
trace?: never;
|
|
5897
|
+
};
|
|
5898
|
+
"/api/v1/orgs/{org}/projects/{project}/flags/{flag}/environments/{env}/triggers": {
|
|
5899
|
+
parameters: {
|
|
5900
|
+
query?: never;
|
|
5901
|
+
header?: never;
|
|
5902
|
+
path?: never;
|
|
5903
|
+
cookie?: never;
|
|
5904
|
+
};
|
|
5905
|
+
/** Lists the flag's triggers in the environment, cursor-paginated. */
|
|
5906
|
+
get: {
|
|
5907
|
+
parameters: {
|
|
5908
|
+
query?: {
|
|
5909
|
+
/** @description Page size: 1 to 100 items, 20 when omitted. A value outside that range is clamped, not rejected: below 1 reads as 1, above 100 as 100. */
|
|
5910
|
+
limit?: number;
|
|
5911
|
+
cursor?: string;
|
|
5912
|
+
};
|
|
5913
|
+
header?: never;
|
|
5914
|
+
path: {
|
|
5915
|
+
org: string;
|
|
5916
|
+
project: string;
|
|
5917
|
+
flag: string;
|
|
5918
|
+
env: string;
|
|
5919
|
+
};
|
|
5920
|
+
cookie?: never;
|
|
5921
|
+
};
|
|
5922
|
+
requestBody?: never;
|
|
5923
|
+
responses: {
|
|
5924
|
+
/** @description OK */
|
|
5925
|
+
200: {
|
|
5926
|
+
headers: {
|
|
5927
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
5928
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
5929
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
5930
|
+
[name: string]: unknown;
|
|
5931
|
+
};
|
|
5932
|
+
content: {
|
|
5933
|
+
"application/json": components["schemas"]["PublicFlagTriggerResponsePagedResult"];
|
|
5934
|
+
};
|
|
5935
|
+
};
|
|
5936
|
+
/** @description A query parameter, header or body field is invalid (error code validation_failed; fields names each one), or the body isn't valid JSON. */
|
|
5937
|
+
400: {
|
|
5938
|
+
headers: {
|
|
5939
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
5940
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
5941
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
5942
|
+
[name: string]: unknown;
|
|
5943
|
+
};
|
|
5944
|
+
content: {
|
|
5945
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
5946
|
+
};
|
|
5947
|
+
};
|
|
5948
|
+
/** @description Authentication is required, or the supplied API token is invalid or expired. */
|
|
5949
|
+
401: {
|
|
5950
|
+
headers: {
|
|
5951
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
5952
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
5953
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
5954
|
+
[name: string]: unknown;
|
|
5955
|
+
};
|
|
5956
|
+
content: {
|
|
5957
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
5958
|
+
};
|
|
5959
|
+
};
|
|
5960
|
+
/** @description Not Found */
|
|
5961
|
+
404: {
|
|
5239
5962
|
headers: {
|
|
5240
5963
|
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
5241
5964
|
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
@@ -5285,8 +6008,6 @@ export interface paths {
|
|
|
5285
6008
|
requestBody?: {
|
|
5286
6009
|
content: {
|
|
5287
6010
|
"application/json": components["schemas"]["PublicCreateFlagTriggerRequest"];
|
|
5288
|
-
"text/json": components["schemas"]["PublicCreateFlagTriggerRequest"];
|
|
5289
|
-
"application/*+json": components["schemas"]["PublicCreateFlagTriggerRequest"];
|
|
5290
6011
|
};
|
|
5291
6012
|
};
|
|
5292
6013
|
responses: {
|
|
@@ -5350,6 +6071,18 @@ export interface paths {
|
|
|
5350
6071
|
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
5351
6072
|
};
|
|
5352
6073
|
};
|
|
6074
|
+
/** @description The request body has no Content-Type, or one that isn't JSON (error code unsupported_media_type). Send it as application/json. */
|
|
6075
|
+
415: {
|
|
6076
|
+
headers: {
|
|
6077
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6078
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6079
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6080
|
+
[name: string]: unknown;
|
|
6081
|
+
};
|
|
6082
|
+
content: {
|
|
6083
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6084
|
+
};
|
|
6085
|
+
};
|
|
5353
6086
|
/** @description A change reason is required: this change affects an environment that requires one (error code change_reason_required). Retry with the X-Intent-Reason header. */
|
|
5354
6087
|
422: {
|
|
5355
6088
|
headers: {
|
|
@@ -5482,8 +6215,6 @@ export interface paths {
|
|
|
5482
6215
|
requestBody?: {
|
|
5483
6216
|
content: {
|
|
5484
6217
|
"application/json": components["schemas"]["PublicUpdateFlagTriggerRequest"];
|
|
5485
|
-
"text/json": components["schemas"]["PublicUpdateFlagTriggerRequest"];
|
|
5486
|
-
"application/*+json": components["schemas"]["PublicUpdateFlagTriggerRequest"];
|
|
5487
6218
|
};
|
|
5488
6219
|
};
|
|
5489
6220
|
responses: {
|
|
@@ -5547,6 +6278,18 @@ export interface paths {
|
|
|
5547
6278
|
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
5548
6279
|
};
|
|
5549
6280
|
};
|
|
6281
|
+
/** @description The request body has no Content-Type, or one that isn't JSON (error code unsupported_media_type). Send it as application/json. */
|
|
6282
|
+
415: {
|
|
6283
|
+
headers: {
|
|
6284
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6285
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6286
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6287
|
+
[name: string]: unknown;
|
|
6288
|
+
};
|
|
6289
|
+
content: {
|
|
6290
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6291
|
+
};
|
|
6292
|
+
};
|
|
5550
6293
|
/** @description A change reason is required: this change affects an environment that requires one (error code change_reason_required). Retry with the X-Intent-Reason header. */
|
|
5551
6294
|
422: {
|
|
5552
6295
|
headers: {
|
|
@@ -5890,6 +6633,7 @@ export interface paths {
|
|
|
5890
6633
|
get: {
|
|
5891
6634
|
parameters: {
|
|
5892
6635
|
query?: {
|
|
6636
|
+
/** @description Page size: 1 to 100 items, 20 when omitted. A value outside that range is clamped, not rejected: below 1 reads as 1, above 100 as 100. */
|
|
5893
6637
|
limit?: number;
|
|
5894
6638
|
cursor?: string;
|
|
5895
6639
|
};
|
|
@@ -5911,6 +6655,18 @@ export interface paths {
|
|
|
5911
6655
|
"application/json": components["schemas"]["OrganizationResponsePagedResult"];
|
|
5912
6656
|
};
|
|
5913
6657
|
};
|
|
6658
|
+
/** @description A query parameter, header or body field is invalid (error code validation_failed; fields names each one), or the body isn't valid JSON. */
|
|
6659
|
+
400: {
|
|
6660
|
+
headers: {
|
|
6661
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6662
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6663
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6664
|
+
[name: string]: unknown;
|
|
6665
|
+
};
|
|
6666
|
+
content: {
|
|
6667
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6668
|
+
};
|
|
6669
|
+
};
|
|
5914
6670
|
/** @description Authentication is required, or the supplied API token is invalid or expired. */
|
|
5915
6671
|
401: {
|
|
5916
6672
|
headers: {
|
|
@@ -6037,6 +6793,7 @@ export interface paths {
|
|
|
6037
6793
|
get: {
|
|
6038
6794
|
parameters: {
|
|
6039
6795
|
query?: {
|
|
6796
|
+
/** @description Page size: 1 to 100 items, 20 when omitted. A value outside that range is clamped, not rejected: below 1 reads as 1, above 100 as 100. */
|
|
6040
6797
|
limit?: number;
|
|
6041
6798
|
cursor?: string;
|
|
6042
6799
|
};
|
|
@@ -6060,6 +6817,18 @@ export interface paths {
|
|
|
6060
6817
|
"application/json": components["schemas"]["ProjectResponsePagedResult"];
|
|
6061
6818
|
};
|
|
6062
6819
|
};
|
|
6820
|
+
/** @description A query parameter, header or body field is invalid (error code validation_failed; fields names each one), or the body isn't valid JSON. */
|
|
6821
|
+
400: {
|
|
6822
|
+
headers: {
|
|
6823
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6824
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6825
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6826
|
+
[name: string]: unknown;
|
|
6827
|
+
};
|
|
6828
|
+
content: {
|
|
6829
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6830
|
+
};
|
|
6831
|
+
};
|
|
6063
6832
|
/** @description Authentication is required, or the supplied API token is invalid or expired. */
|
|
6064
6833
|
401: {
|
|
6065
6834
|
headers: {
|
|
@@ -6106,8 +6875,6 @@ export interface paths {
|
|
|
6106
6875
|
requestBody?: {
|
|
6107
6876
|
content: {
|
|
6108
6877
|
"application/json": components["schemas"]["PublicCreateProjectRequest"];
|
|
6109
|
-
"text/json": components["schemas"]["PublicCreateProjectRequest"];
|
|
6110
|
-
"application/*+json": components["schemas"]["PublicCreateProjectRequest"];
|
|
6111
6878
|
};
|
|
6112
6879
|
};
|
|
6113
6880
|
responses: {
|
|
@@ -6135,8 +6902,20 @@ export interface paths {
|
|
|
6135
6902
|
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6136
6903
|
};
|
|
6137
6904
|
};
|
|
6138
|
-
/** @description Authentication is required, or the supplied API token is invalid or expired. */
|
|
6139
|
-
401: {
|
|
6905
|
+
/** @description Authentication is required, or the supplied API token is invalid or expired. */
|
|
6906
|
+
401: {
|
|
6907
|
+
headers: {
|
|
6908
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6909
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6910
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6911
|
+
[name: string]: unknown;
|
|
6912
|
+
};
|
|
6913
|
+
content: {
|
|
6914
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6915
|
+
};
|
|
6916
|
+
};
|
|
6917
|
+
/** @description Forbidden */
|
|
6918
|
+
403: {
|
|
6140
6919
|
headers: {
|
|
6141
6920
|
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6142
6921
|
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
@@ -6147,8 +6926,8 @@ export interface paths {
|
|
|
6147
6926
|
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6148
6927
|
};
|
|
6149
6928
|
};
|
|
6150
|
-
/** @description
|
|
6151
|
-
|
|
6929
|
+
/** @description The request body has no Content-Type, or one that isn't JSON (error code unsupported_media_type). Send it as application/json. */
|
|
6930
|
+
415: {
|
|
6152
6931
|
headers: {
|
|
6153
6932
|
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6154
6933
|
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
@@ -6270,8 +7049,6 @@ export interface paths {
|
|
|
6270
7049
|
requestBody?: {
|
|
6271
7050
|
content: {
|
|
6272
7051
|
"application/json": components["schemas"]["PublicUpdateProjectRequest"];
|
|
6273
|
-
"text/json": components["schemas"]["PublicUpdateProjectRequest"];
|
|
6274
|
-
"application/*+json": components["schemas"]["PublicUpdateProjectRequest"];
|
|
6275
7052
|
};
|
|
6276
7053
|
};
|
|
6277
7054
|
responses: {
|
|
@@ -6333,6 +7110,18 @@ export interface paths {
|
|
|
6333
7110
|
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6334
7111
|
};
|
|
6335
7112
|
};
|
|
7113
|
+
/** @description The request body has no Content-Type, or one that isn't JSON (error code unsupported_media_type). Send it as application/json. */
|
|
7114
|
+
415: {
|
|
7115
|
+
headers: {
|
|
7116
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
7117
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
7118
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
7119
|
+
[name: string]: unknown;
|
|
7120
|
+
};
|
|
7121
|
+
content: {
|
|
7122
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
7123
|
+
};
|
|
7124
|
+
};
|
|
6336
7125
|
/** @description Rate limit exceeded. Retry after the interval indicated by the Retry-After header. */
|
|
6337
7126
|
429: {
|
|
6338
7127
|
headers: {
|
|
@@ -6498,6 +7287,7 @@ export interface paths {
|
|
|
6498
7287
|
differentOnly?: boolean;
|
|
6499
7288
|
tag?: string;
|
|
6500
7289
|
owner?: string;
|
|
7290
|
+
/** @description Page size: 1 to 100 items, 20 when omitted. A value outside that range is clamped, not rejected: below 1 reads as 1, above 100 as 100. */
|
|
6501
7291
|
limit?: number;
|
|
6502
7292
|
cursor?: string;
|
|
6503
7293
|
};
|
|
@@ -6611,8 +7401,6 @@ export interface paths {
|
|
|
6611
7401
|
requestBody?: {
|
|
6612
7402
|
content: {
|
|
6613
7403
|
"application/json": components["schemas"]["PublicSetDefaultFlagLifetimeRequest"];
|
|
6614
|
-
"text/json": components["schemas"]["PublicSetDefaultFlagLifetimeRequest"];
|
|
6615
|
-
"application/*+json": components["schemas"]["PublicSetDefaultFlagLifetimeRequest"];
|
|
6616
7404
|
};
|
|
6617
7405
|
};
|
|
6618
7406
|
responses: {
|
|
@@ -6674,6 +7462,18 @@ export interface paths {
|
|
|
6674
7462
|
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6675
7463
|
};
|
|
6676
7464
|
};
|
|
7465
|
+
/** @description The request body has no Content-Type, or one that isn't JSON (error code unsupported_media_type). Send it as application/json. */
|
|
7466
|
+
415: {
|
|
7467
|
+
headers: {
|
|
7468
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
7469
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
7470
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
7471
|
+
[name: string]: unknown;
|
|
7472
|
+
};
|
|
7473
|
+
content: {
|
|
7474
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
7475
|
+
};
|
|
7476
|
+
};
|
|
6677
7477
|
/** @description Rate limit exceeded. Retry after the interval indicated by the Retry-After header. */
|
|
6678
7478
|
429: {
|
|
6679
7479
|
headers: {
|
|
@@ -6809,6 +7609,7 @@ export interface paths {
|
|
|
6809
7609
|
get: {
|
|
6810
7610
|
parameters: {
|
|
6811
7611
|
query?: {
|
|
7612
|
+
/** @description Page size: 1 to 100 items, 20 when omitted. A value outside that range is clamped, not rejected: below 1 reads as 1, above 100 as 100. */
|
|
6812
7613
|
limit?: number;
|
|
6813
7614
|
cursor?: string;
|
|
6814
7615
|
};
|
|
@@ -6835,6 +7636,18 @@ export interface paths {
|
|
|
6835
7636
|
"application/json": components["schemas"]["PublicRolloutRampResponsePagedResult"];
|
|
6836
7637
|
};
|
|
6837
7638
|
};
|
|
7639
|
+
/** @description A query parameter, header or body field is invalid (error code validation_failed; fields names each one), or the body isn't valid JSON. */
|
|
7640
|
+
400: {
|
|
7641
|
+
headers: {
|
|
7642
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
7643
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
7644
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
7645
|
+
[name: string]: unknown;
|
|
7646
|
+
};
|
|
7647
|
+
content: {
|
|
7648
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
7649
|
+
};
|
|
7650
|
+
};
|
|
6838
7651
|
/** @description Authentication is required, or the supplied API token is invalid or expired. */
|
|
6839
7652
|
401: {
|
|
6840
7653
|
headers: {
|
|
@@ -7020,8 +7833,6 @@ export interface paths {
|
|
|
7020
7833
|
requestBody?: {
|
|
7021
7834
|
content: {
|
|
7022
7835
|
"application/json": components["schemas"]["PublicStartRolloutRampRequest"];
|
|
7023
|
-
"text/json": components["schemas"]["PublicStartRolloutRampRequest"];
|
|
7024
|
-
"application/*+json": components["schemas"]["PublicStartRolloutRampRequest"];
|
|
7025
7836
|
};
|
|
7026
7837
|
};
|
|
7027
7838
|
responses: {
|
|
@@ -7097,6 +7908,18 @@ export interface paths {
|
|
|
7097
7908
|
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
7098
7909
|
};
|
|
7099
7910
|
};
|
|
7911
|
+
/** @description The request body has no Content-Type, or one that isn't JSON (error code unsupported_media_type). Send it as application/json. */
|
|
7912
|
+
415: {
|
|
7913
|
+
headers: {
|
|
7914
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
7915
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
7916
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
7917
|
+
[name: string]: unknown;
|
|
7918
|
+
};
|
|
7919
|
+
content: {
|
|
7920
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
7921
|
+
};
|
|
7922
|
+
};
|
|
7100
7923
|
/** @description A change reason is required: this change affects an environment that requires one (error code change_reason_required). Retry with the X-Intent-Reason header. */
|
|
7101
7924
|
422: {
|
|
7102
7925
|
headers: {
|
|
@@ -7178,8 +8001,6 @@ export interface paths {
|
|
|
7178
8001
|
requestBody?: {
|
|
7179
8002
|
content: {
|
|
7180
8003
|
"application/json": components["schemas"]["PublicStartDefaultRuleRolloutRampRequest"];
|
|
7181
|
-
"text/json": components["schemas"]["PublicStartDefaultRuleRolloutRampRequest"];
|
|
7182
|
-
"application/*+json": components["schemas"]["PublicStartDefaultRuleRolloutRampRequest"];
|
|
7183
8004
|
};
|
|
7184
8005
|
};
|
|
7185
8006
|
responses: {
|
|
@@ -7255,6 +8076,18 @@ export interface paths {
|
|
|
7255
8076
|
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
7256
8077
|
};
|
|
7257
8078
|
};
|
|
8079
|
+
/** @description The request body has no Content-Type, or one that isn't JSON (error code unsupported_media_type). Send it as application/json. */
|
|
8080
|
+
415: {
|
|
8081
|
+
headers: {
|
|
8082
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
8083
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
8084
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
8085
|
+
[name: string]: unknown;
|
|
8086
|
+
};
|
|
8087
|
+
content: {
|
|
8088
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
8089
|
+
};
|
|
8090
|
+
};
|
|
7258
8091
|
/** @description A change reason is required: this change affects an environment that requires one (error code change_reason_required). Retry with the X-Intent-Reason header. */
|
|
7259
8092
|
422: {
|
|
7260
8093
|
headers: {
|
|
@@ -7348,6 +8181,18 @@ export interface paths {
|
|
|
7348
8181
|
"application/json": components["schemas"]["PublicRolloutRampResponse"];
|
|
7349
8182
|
};
|
|
7350
8183
|
};
|
|
8184
|
+
/** @description A query parameter, header or body field is invalid (error code validation_failed; fields names each one), or the body isn't valid JSON. */
|
|
8185
|
+
400: {
|
|
8186
|
+
headers: {
|
|
8187
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
8188
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
8189
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
8190
|
+
[name: string]: unknown;
|
|
8191
|
+
};
|
|
8192
|
+
content: {
|
|
8193
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
8194
|
+
};
|
|
8195
|
+
};
|
|
7351
8196
|
/** @description Authentication is required, or the supplied API token is invalid or expired. */
|
|
7352
8197
|
401: {
|
|
7353
8198
|
headers: {
|
|
@@ -7646,8 +8491,6 @@ export interface paths {
|
|
|
7646
8491
|
requestBody?: {
|
|
7647
8492
|
content: {
|
|
7648
8493
|
"application/json": components["schemas"]["PublicAdvanceRolloutRampRequest"];
|
|
7649
|
-
"text/json": components["schemas"]["PublicAdvanceRolloutRampRequest"];
|
|
7650
|
-
"application/*+json": components["schemas"]["PublicAdvanceRolloutRampRequest"];
|
|
7651
8494
|
};
|
|
7652
8495
|
};
|
|
7653
8496
|
responses: {
|
|
@@ -7737,6 +8580,18 @@ export interface paths {
|
|
|
7737
8580
|
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
7738
8581
|
};
|
|
7739
8582
|
};
|
|
8583
|
+
/** @description The request body has no Content-Type, or one that isn't JSON (error code unsupported_media_type). Send it as application/json. */
|
|
8584
|
+
415: {
|
|
8585
|
+
headers: {
|
|
8586
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
8587
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
8588
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
8589
|
+
[name: string]: unknown;
|
|
8590
|
+
};
|
|
8591
|
+
content: {
|
|
8592
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
8593
|
+
};
|
|
8594
|
+
};
|
|
7740
8595
|
/** @description A change reason is required: this change affects an environment that requires one (error code change_reason_required). Retry with the X-Intent-Reason header. */
|
|
7741
8596
|
422: {
|
|
7742
8597
|
headers: {
|
|
@@ -7817,8 +8672,6 @@ export interface paths {
|
|
|
7817
8672
|
requestBody?: {
|
|
7818
8673
|
content: {
|
|
7819
8674
|
"application/json": components["schemas"]["PublicAbortRolloutRampRequest"];
|
|
7820
|
-
"text/json": components["schemas"]["PublicAbortRolloutRampRequest"];
|
|
7821
|
-
"application/*+json": components["schemas"]["PublicAbortRolloutRampRequest"];
|
|
7822
8675
|
};
|
|
7823
8676
|
};
|
|
7824
8677
|
responses: {
|
|
@@ -7908,6 +8761,18 @@ export interface paths {
|
|
|
7908
8761
|
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
7909
8762
|
};
|
|
7910
8763
|
};
|
|
8764
|
+
/** @description The request body has no Content-Type, or one that isn't JSON (error code unsupported_media_type). Send it as application/json. */
|
|
8765
|
+
415: {
|
|
8766
|
+
headers: {
|
|
8767
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
8768
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
8769
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
8770
|
+
[name: string]: unknown;
|
|
8771
|
+
};
|
|
8772
|
+
content: {
|
|
8773
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
8774
|
+
};
|
|
8775
|
+
};
|
|
7911
8776
|
/** @description A change reason is required: this change affects an environment that requires one (error code change_reason_required). Retry with the X-Intent-Reason header. */
|
|
7912
8777
|
422: {
|
|
7913
8778
|
headers: {
|
|
@@ -7959,6 +8824,7 @@ export interface paths {
|
|
|
7959
8824
|
get: {
|
|
7960
8825
|
parameters: {
|
|
7961
8826
|
query?: {
|
|
8827
|
+
/** @description Page size: 1 to 100 items, 20 when omitted. A value outside that range is clamped, not rejected: below 1 reads as 1, above 100 as 100. */
|
|
7962
8828
|
limit?: number;
|
|
7963
8829
|
cursor?: string;
|
|
7964
8830
|
};
|
|
@@ -7984,6 +8850,18 @@ export interface paths {
|
|
|
7984
8850
|
"application/json": components["schemas"]["PublicSdkKeyResponsePagedResult"];
|
|
7985
8851
|
};
|
|
7986
8852
|
};
|
|
8853
|
+
/** @description A query parameter, header or body field is invalid (error code validation_failed; fields names each one), or the body isn't valid JSON. */
|
|
8854
|
+
400: {
|
|
8855
|
+
headers: {
|
|
8856
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
8857
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
8858
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
8859
|
+
[name: string]: unknown;
|
|
8860
|
+
};
|
|
8861
|
+
content: {
|
|
8862
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
8863
|
+
};
|
|
8864
|
+
};
|
|
7987
8865
|
/** @description Authentication is required, or the supplied API token is invalid or expired. */
|
|
7988
8866
|
401: {
|
|
7989
8867
|
headers: {
|
|
@@ -8044,8 +8922,6 @@ export interface paths {
|
|
|
8044
8922
|
requestBody?: {
|
|
8045
8923
|
content: {
|
|
8046
8924
|
"application/json": components["schemas"]["PublicCreateSdkKeyRequest"];
|
|
8047
|
-
"text/json": components["schemas"]["PublicCreateSdkKeyRequest"];
|
|
8048
|
-
"application/*+json": components["schemas"]["PublicCreateSdkKeyRequest"];
|
|
8049
8925
|
};
|
|
8050
8926
|
};
|
|
8051
8927
|
responses: {
|
|
@@ -8109,6 +8985,18 @@ export interface paths {
|
|
|
8109
8985
|
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
8110
8986
|
};
|
|
8111
8987
|
};
|
|
8988
|
+
/** @description The request body has no Content-Type, or one that isn't JSON (error code unsupported_media_type). Send it as application/json. */
|
|
8989
|
+
415: {
|
|
8990
|
+
headers: {
|
|
8991
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
8992
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
8993
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
8994
|
+
[name: string]: unknown;
|
|
8995
|
+
};
|
|
8996
|
+
content: {
|
|
8997
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
8998
|
+
};
|
|
8999
|
+
};
|
|
8112
9000
|
/** @description Rate limit exceeded. Retry after the interval indicated by the Retry-After header. */
|
|
8113
9001
|
429: {
|
|
8114
9002
|
headers: {
|
|
@@ -8224,8 +9112,6 @@ export interface paths {
|
|
|
8224
9112
|
requestBody?: {
|
|
8225
9113
|
content: {
|
|
8226
9114
|
"application/json": components["schemas"]["PublicUpdateSdkKeyRequest"];
|
|
8227
|
-
"text/json": components["schemas"]["PublicUpdateSdkKeyRequest"];
|
|
8228
|
-
"application/*+json": components["schemas"]["PublicUpdateSdkKeyRequest"];
|
|
8229
9115
|
};
|
|
8230
9116
|
};
|
|
8231
9117
|
responses: {
|
|
@@ -8287,6 +9173,18 @@ export interface paths {
|
|
|
8287
9173
|
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
8288
9174
|
};
|
|
8289
9175
|
};
|
|
9176
|
+
/** @description The request body has no Content-Type, or one that isn't JSON (error code unsupported_media_type). Send it as application/json. */
|
|
9177
|
+
415: {
|
|
9178
|
+
headers: {
|
|
9179
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
9180
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
9181
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
9182
|
+
[name: string]: unknown;
|
|
9183
|
+
};
|
|
9184
|
+
content: {
|
|
9185
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
9186
|
+
};
|
|
9187
|
+
};
|
|
8290
9188
|
/** @description Rate limit exceeded. Retry after the interval indicated by the Retry-After header. */
|
|
8291
9189
|
429: {
|
|
8292
9190
|
headers: {
|
|
@@ -8449,6 +9347,7 @@ export interface paths {
|
|
|
8449
9347
|
get: {
|
|
8450
9348
|
parameters: {
|
|
8451
9349
|
query?: {
|
|
9350
|
+
/** @description Page size: 1 to 100 items, 20 when omitted. A value outside that range is clamped, not rejected: below 1 reads as 1, above 100 as 100. */
|
|
8452
9351
|
limit?: number;
|
|
8453
9352
|
cursor?: string;
|
|
8454
9353
|
};
|
|
@@ -8473,6 +9372,18 @@ export interface paths {
|
|
|
8473
9372
|
"application/json": components["schemas"]["PublicSegmentResponsePagedResult"];
|
|
8474
9373
|
};
|
|
8475
9374
|
};
|
|
9375
|
+
/** @description A query parameter, header or body field is invalid (error code validation_failed; fields names each one), or the body isn't valid JSON. */
|
|
9376
|
+
400: {
|
|
9377
|
+
headers: {
|
|
9378
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
9379
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
9380
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
9381
|
+
[name: string]: unknown;
|
|
9382
|
+
};
|
|
9383
|
+
content: {
|
|
9384
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
9385
|
+
};
|
|
9386
|
+
};
|
|
8476
9387
|
/** @description Authentication is required, or the supplied API token is invalid or expired. */
|
|
8477
9388
|
401: {
|
|
8478
9389
|
headers: {
|
|
@@ -8538,8 +9449,6 @@ export interface paths {
|
|
|
8538
9449
|
requestBody?: {
|
|
8539
9450
|
content: {
|
|
8540
9451
|
"application/json": components["schemas"]["PublicCreateSegmentRequest"];
|
|
8541
|
-
"text/json": components["schemas"]["PublicCreateSegmentRequest"];
|
|
8542
|
-
"application/*+json": components["schemas"]["PublicCreateSegmentRequest"];
|
|
8543
9452
|
};
|
|
8544
9453
|
};
|
|
8545
9454
|
responses: {
|
|
@@ -8603,6 +9512,18 @@ export interface paths {
|
|
|
8603
9512
|
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
8604
9513
|
};
|
|
8605
9514
|
};
|
|
9515
|
+
/** @description The request body has no Content-Type, or one that isn't JSON (error code unsupported_media_type). Send it as application/json. */
|
|
9516
|
+
415: {
|
|
9517
|
+
headers: {
|
|
9518
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
9519
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
9520
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
9521
|
+
[name: string]: unknown;
|
|
9522
|
+
};
|
|
9523
|
+
content: {
|
|
9524
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
9525
|
+
};
|
|
9526
|
+
};
|
|
8606
9527
|
/** @description A change reason is required: this change affects an environment that requires one (error code change_reason_required). Retry with the X-Intent-Reason header. */
|
|
8607
9528
|
422: {
|
|
8608
9529
|
headers: {
|
|
@@ -8756,8 +9677,6 @@ export interface paths {
|
|
|
8756
9677
|
requestBody?: {
|
|
8757
9678
|
content: {
|
|
8758
9679
|
"application/json": components["schemas"]["PublicUpdateSegmentRequest"];
|
|
8759
|
-
"text/json": components["schemas"]["PublicUpdateSegmentRequest"];
|
|
8760
|
-
"application/*+json": components["schemas"]["PublicUpdateSegmentRequest"];
|
|
8761
9680
|
};
|
|
8762
9681
|
};
|
|
8763
9682
|
responses: {
|
|
@@ -8833,6 +9752,18 @@ export interface paths {
|
|
|
8833
9752
|
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
8834
9753
|
};
|
|
8835
9754
|
};
|
|
9755
|
+
/** @description The request body has no Content-Type, or one that isn't JSON (error code unsupported_media_type). Send it as application/json. */
|
|
9756
|
+
415: {
|
|
9757
|
+
headers: {
|
|
9758
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
9759
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
9760
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
9761
|
+
[name: string]: unknown;
|
|
9762
|
+
};
|
|
9763
|
+
content: {
|
|
9764
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
9765
|
+
};
|
|
9766
|
+
};
|
|
8836
9767
|
/** @description A change reason is required: this change affects an environment that requires one (error code change_reason_required). Retry with the X-Intent-Reason header. */
|
|
8837
9768
|
422: {
|
|
8838
9769
|
headers: {
|
|
@@ -8987,6 +9918,7 @@ export interface paths {
|
|
|
8987
9918
|
get: {
|
|
8988
9919
|
parameters: {
|
|
8989
9920
|
query?: {
|
|
9921
|
+
/** @description Page size: 1 to 100 items, 20 when omitted. A value outside that range is clamped, not rejected: below 1 reads as 1, above 100 as 100. */
|
|
8990
9922
|
limit?: number;
|
|
8991
9923
|
cursor?: string;
|
|
8992
9924
|
};
|
|
@@ -9010,6 +9942,18 @@ export interface paths {
|
|
|
9010
9942
|
"application/json": components["schemas"]["PublicWebhookSubscriptionResponsePagedResult"];
|
|
9011
9943
|
};
|
|
9012
9944
|
};
|
|
9945
|
+
/** @description A query parameter, header or body field is invalid (error code validation_failed; fields names each one), or the body isn't valid JSON. */
|
|
9946
|
+
400: {
|
|
9947
|
+
headers: {
|
|
9948
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
9949
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
9950
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
9951
|
+
[name: string]: unknown;
|
|
9952
|
+
};
|
|
9953
|
+
content: {
|
|
9954
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
9955
|
+
};
|
|
9956
|
+
};
|
|
9013
9957
|
/** @description Authentication is required, or the supplied API token is invalid or expired. */
|
|
9014
9958
|
401: {
|
|
9015
9959
|
headers: {
|
|
@@ -9081,8 +10025,6 @@ export interface paths {
|
|
|
9081
10025
|
requestBody?: {
|
|
9082
10026
|
content: {
|
|
9083
10027
|
"application/json": components["schemas"]["PublicCreateWebhookSubscriptionRequest"];
|
|
9084
|
-
"text/json": components["schemas"]["PublicCreateWebhookSubscriptionRequest"];
|
|
9085
|
-
"application/*+json": components["schemas"]["PublicCreateWebhookSubscriptionRequest"];
|
|
9086
10028
|
};
|
|
9087
10029
|
};
|
|
9088
10030
|
responses: {
|
|
@@ -9146,6 +10088,18 @@ export interface paths {
|
|
|
9146
10088
|
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
9147
10089
|
};
|
|
9148
10090
|
};
|
|
10091
|
+
/** @description The request body has no Content-Type, or one that isn't JSON (error code unsupported_media_type). Send it as application/json. */
|
|
10092
|
+
415: {
|
|
10093
|
+
headers: {
|
|
10094
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
10095
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
10096
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
10097
|
+
[name: string]: unknown;
|
|
10098
|
+
};
|
|
10099
|
+
content: {
|
|
10100
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
10101
|
+
};
|
|
10102
|
+
};
|
|
9149
10103
|
/** @description Rate limit exceeded. Retry after the interval indicated by the Retry-After header. */
|
|
9150
10104
|
429: {
|
|
9151
10105
|
headers: {
|
|
@@ -9392,8 +10346,6 @@ export interface paths {
|
|
|
9392
10346
|
requestBody?: {
|
|
9393
10347
|
content: {
|
|
9394
10348
|
"application/json": components["schemas"]["PublicUpdateWebhookSubscriptionRequest"];
|
|
9395
|
-
"text/json": components["schemas"]["PublicUpdateWebhookSubscriptionRequest"];
|
|
9396
|
-
"application/*+json": components["schemas"]["PublicUpdateWebhookSubscriptionRequest"];
|
|
9397
10349
|
};
|
|
9398
10350
|
};
|
|
9399
10351
|
responses: {
|
|
@@ -9469,6 +10421,18 @@ export interface paths {
|
|
|
9469
10421
|
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
9470
10422
|
};
|
|
9471
10423
|
};
|
|
10424
|
+
/** @description The request body has no Content-Type, or one that isn't JSON (error code unsupported_media_type). Send it as application/json. */
|
|
10425
|
+
415: {
|
|
10426
|
+
headers: {
|
|
10427
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
10428
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
10429
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
10430
|
+
[name: string]: unknown;
|
|
10431
|
+
};
|
|
10432
|
+
content: {
|
|
10433
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
10434
|
+
};
|
|
10435
|
+
};
|
|
9472
10436
|
/** @description Rate limit exceeded. Retry after the interval indicated by the Retry-After header. */
|
|
9473
10437
|
429: {
|
|
9474
10438
|
headers: {
|
|
@@ -9922,6 +10886,7 @@ export interface paths {
|
|
|
9922
10886
|
get: {
|
|
9923
10887
|
parameters: {
|
|
9924
10888
|
query?: {
|
|
10889
|
+
/** @description Page size: 1 to 100 items, 20 when omitted. A value outside that range is clamped, not rejected: below 1 reads as 1, above 100 as 100. */
|
|
9925
10890
|
limit?: number;
|
|
9926
10891
|
cursor?: string;
|
|
9927
10892
|
};
|
|
@@ -9946,6 +10911,18 @@ export interface paths {
|
|
|
9946
10911
|
"application/json": components["schemas"]["PublicWebhookDeliveryResponsePagedResult"];
|
|
9947
10912
|
};
|
|
9948
10913
|
};
|
|
10914
|
+
/** @description A query parameter, header or body field is invalid (error code validation_failed; fields names each one), or the body isn't valid JSON. */
|
|
10915
|
+
400: {
|
|
10916
|
+
headers: {
|
|
10917
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
10918
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
10919
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
10920
|
+
[name: string]: unknown;
|
|
10921
|
+
};
|
|
10922
|
+
content: {
|
|
10923
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
10924
|
+
};
|
|
10925
|
+
};
|
|
9949
10926
|
/** @description Authentication is required, or the supplied API token is invalid or expired. */
|
|
9950
10927
|
401: {
|
|
9951
10928
|
headers: {
|
|
@@ -10169,6 +11146,7 @@ export interface components {
|
|
|
10169
11146
|
isActive: boolean;
|
|
10170
11147
|
/** Format: date-time */
|
|
10171
11148
|
createdAt: string;
|
|
11149
|
+
limits: components["schemas"]["PublicPlanLimits"];
|
|
10172
11150
|
};
|
|
10173
11151
|
/**
|
|
10174
11152
|
* @description A page of results plus an opaque cursor for the next page, or null when this is the last
|
|
@@ -10887,11 +11865,19 @@ export interface components {
|
|
|
10887
11865
|
/** Format: int32 */
|
|
10888
11866
|
prerequisiteCount: number;
|
|
10889
11867
|
};
|
|
10890
|
-
/**
|
|
11868
|
+
/**
|
|
11869
|
+
* @description A flag's configuration in one environment, as a comparison, copy or version result reports it. The
|
|
11870
|
+
* `fallthroughRollout*` fields describe the default rule's rollout and are null unless it rolls out
|
|
11871
|
+
* (`fallthroughBucketBy` is then the attribute it hashes on, otherwise `user_id`).
|
|
11872
|
+
*/
|
|
10891
11873
|
PublicEnvironmentSnapshot: {
|
|
10892
11874
|
isEnabled: boolean;
|
|
10893
11875
|
defaultVariation: components["schemas"]["PublicKeyedRef"];
|
|
10894
11876
|
strategy: string;
|
|
11877
|
+
fallthroughRolloutVariation?: components["schemas"]["PublicKeyedRef"];
|
|
11878
|
+
/** Format: int32 */
|
|
11879
|
+
fallthroughRolloutPercentage?: number | null;
|
|
11880
|
+
fallthroughBucketBy: string;
|
|
10895
11881
|
rules: components["schemas"]["PublicSnapshotRule"][];
|
|
10896
11882
|
prerequisites: components["schemas"]["PublicPrerequisiteDto"][];
|
|
10897
11883
|
};
|
|
@@ -11353,6 +12339,10 @@ export interface components {
|
|
|
11353
12339
|
PublicFlagTriggerResponsePagedResult: {
|
|
11354
12340
|
items: components["schemas"]["PublicFlagTriggerResponse"][];
|
|
11355
12341
|
next_cursor?: string | null;
|
|
12342
|
+
/** @description Capability hints: which operations the authenticated caller may perform on this resource, each with allowed + optional reason. Computed from the caller's role and the resource's state. Injected at runtime; safe to ignore. Present only on top-level resource responses — nested occurrences (e.g. a rule inside a targeting-config response) do not carry it. */
|
|
12343
|
+
_actions?: {
|
|
12344
|
+
[key: string]: components["schemas"]["ActionCapability"];
|
|
12345
|
+
};
|
|
11356
12346
|
};
|
|
11357
12347
|
/**
|
|
11358
12348
|
* @description The only response that carries a trigger's secret: create and rotate. Fire it by POSTing to
|
|
@@ -11367,6 +12357,75 @@ export interface components {
|
|
|
11367
12357
|
secret: string;
|
|
11368
12358
|
warning: string;
|
|
11369
12359
|
};
|
|
12360
|
+
/** @description One version in full: its summary fields and the configuration it captured. */
|
|
12361
|
+
PublicFlagVersion: {
|
|
12362
|
+
/** Format: int32 */
|
|
12363
|
+
version: number;
|
|
12364
|
+
/** Format: date-time */
|
|
12365
|
+
createdAt: string;
|
|
12366
|
+
isEnabled: boolean;
|
|
12367
|
+
userName?: string | null;
|
|
12368
|
+
userEmail?: string | null;
|
|
12369
|
+
systemActor?: string | null;
|
|
12370
|
+
source: string;
|
|
12371
|
+
intentReason?: string | null;
|
|
12372
|
+
/** Format: uuid */
|
|
12373
|
+
changeFreezeId?: string | null;
|
|
12374
|
+
changeFreezeMode?: string | null;
|
|
12375
|
+
/** Format: int32 */
|
|
12376
|
+
restoredFromVersion?: number | null;
|
|
12377
|
+
isBaseline: boolean;
|
|
12378
|
+
config: components["schemas"]["PublicEnvironmentSnapshot"];
|
|
12379
|
+
};
|
|
12380
|
+
/**
|
|
12381
|
+
* @description `version` compared with `against`: `to` is `version`'s configuration, `from` is
|
|
12382
|
+
* `against`'s. `changedSections` names what differs (`state`, `defaultVariation`,
|
|
12383
|
+
* `strategy`, `rules`, `prerequisites`). The two rule lists say, per rule in evaluation order,
|
|
12384
|
+
* whether the other side has an equal rule.
|
|
12385
|
+
*/
|
|
12386
|
+
PublicFlagVersionDiff: {
|
|
12387
|
+
/** Format: int32 */
|
|
12388
|
+
version: number;
|
|
12389
|
+
/** Format: int32 */
|
|
12390
|
+
against: number;
|
|
12391
|
+
changedSections: string[];
|
|
12392
|
+
from: components["schemas"]["PublicEnvironmentSnapshot"];
|
|
12393
|
+
to: components["schemas"]["PublicEnvironmentSnapshot"];
|
|
12394
|
+
fromRuleMatched: boolean[];
|
|
12395
|
+
toRuleMatched: boolean[];
|
|
12396
|
+
};
|
|
12397
|
+
/**
|
|
12398
|
+
* @description One entry in a flag environment's version history. `source` is lowercase: `dashboard`, `api`,
|
|
12399
|
+
* `mcp`, `schedule` and so on. `userName`/`userEmail` are as captured with the version;
|
|
12400
|
+
* `systemActor` names a non-user author instead. `restoredFromVersion` is set on a restore.
|
|
12401
|
+
*/
|
|
12402
|
+
PublicFlagVersionSummary: {
|
|
12403
|
+
/** Format: int32 */
|
|
12404
|
+
version: number;
|
|
12405
|
+
/** Format: date-time */
|
|
12406
|
+
createdAt: string;
|
|
12407
|
+
isEnabled: boolean;
|
|
12408
|
+
userName?: string | null;
|
|
12409
|
+
userEmail?: string | null;
|
|
12410
|
+
systemActor?: string | null;
|
|
12411
|
+
source: string;
|
|
12412
|
+
intentReason?: string | null;
|
|
12413
|
+
/** Format: uuid */
|
|
12414
|
+
changeFreezeId?: string | null;
|
|
12415
|
+
changeFreezeMode?: string | null;
|
|
12416
|
+
/** Format: int32 */
|
|
12417
|
+
restoredFromVersion?: number | null;
|
|
12418
|
+
isBaseline: boolean;
|
|
12419
|
+
};
|
|
12420
|
+
/**
|
|
12421
|
+
* @description A page of results plus an opaque cursor for the next page, or null when this is the last
|
|
12422
|
+
* page. Wire keys are frozen: `items` (already lowercase under the camelCase policy) and
|
|
12423
|
+
* `next_cursor` (pinned explicitly — the policy alone would emit `nextCursor`).
|
|
12424
|
+
*/
|
|
12425
|
+
PublicFlagVersionSummaryPagedResult: {
|
|
12426
|
+
items: components["schemas"]["PublicFlagVersionSummary"][];
|
|
12427
|
+
next_cursor?: string | null;
|
|
12428
|
+
};
|
|
11370
12429
|
/**
|
|
11371
12430
|
* @description A scheduled change that a person approved to land inside a change freeze. `stands` is whether the approval
|
|
11372
12431
|
* counts right now: false once the approver is no longer an active Owner or Admin, and the window then holds or fails
|
|
@@ -11417,6 +12476,24 @@ export interface components {
|
|
|
11417
12476
|
/** Format: int32 */
|
|
11418
12477
|
max: number;
|
|
11419
12478
|
};
|
|
12479
|
+
/**
|
|
12480
|
+
* @description A plan's caps. Null means unlimited. The environment and flag caps are per project, and an
|
|
12481
|
+
* archived flag does not count against the flag cap. These are the same caps a write is refused
|
|
12482
|
+
* by with a 403 `plan_limit_reached`, whose `plan_limit.resource` names the same
|
|
12483
|
+
* collections.
|
|
12484
|
+
*/
|
|
12485
|
+
PublicPlanLimits: {
|
|
12486
|
+
/** Format: int32 */
|
|
12487
|
+
projects?: number | null;
|
|
12488
|
+
/** Format: int32 */
|
|
12489
|
+
environmentsPerProject?: number | null;
|
|
12490
|
+
/** Format: int32 */
|
|
12491
|
+
flagsPerProject?: number | null;
|
|
12492
|
+
/** Format: int32 */
|
|
12493
|
+
members?: number | null;
|
|
12494
|
+
/** Format: int32 */
|
|
12495
|
+
webhooks?: number | null;
|
|
12496
|
+
};
|
|
11420
12497
|
/**
|
|
11421
12498
|
* @description A single prerequisite entry on a flag's per-environment config. Maps 1:1 onto
|
|
11422
12499
|
* PrerequisiteDto (read side) and PrerequisiteInput (write side).
|
|
@@ -11459,6 +12536,34 @@ export interface components {
|
|
|
11459
12536
|
PublicReorderRulesRequest: {
|
|
11460
12537
|
ruleIds: string[];
|
|
11461
12538
|
};
|
|
12539
|
+
/**
|
|
12540
|
+
* @description Request body for `POST .../versions/{number}/restore`. Every field is optional, and so is the body: no
|
|
12541
|
+
* body at all previews, the same as `{}`. `dryRun` defaults to
|
|
12542
|
+
* true: the restore only previews unless it is `false`. `includeState` restores on/off too.
|
|
12543
|
+
* `expectedETag` is the preview's `targetETag`; an apply sending it is refused with 412
|
|
12544
|
+
* `precondition_failed` if the environment changed since.
|
|
12545
|
+
*/
|
|
12546
|
+
PublicRestoreFlagVersionRequest: {
|
|
12547
|
+
dryRun?: boolean | null;
|
|
12548
|
+
includeState?: boolean | null;
|
|
12549
|
+
expectedETag?: string | null;
|
|
12550
|
+
};
|
|
12551
|
+
/**
|
|
12552
|
+
* @description Response of `POST .../versions/{number}/restore`, for a dry run and an apply alike. `before` is the
|
|
12553
|
+
* configuration as it is (as it was, on an apply) and `after` as the restore leaves it. `targetETag` is the
|
|
12554
|
+
* configuration's before a dry run and after an apply, so a dry run's is what the apply sends back as
|
|
12555
|
+
* `expectedETag`. `newVersion` is the version the apply wrote, null on a dry run and when nothing changed.
|
|
12556
|
+
*/
|
|
12557
|
+
PublicRestoreFlagVersionResult: {
|
|
12558
|
+
changed: boolean;
|
|
12559
|
+
changedSections: string[];
|
|
12560
|
+
before: components["schemas"]["PublicEnvironmentSnapshot"];
|
|
12561
|
+
after: components["schemas"]["PublicEnvironmentSnapshot"];
|
|
12562
|
+
targetETag: string;
|
|
12563
|
+
warnings: components["schemas"]["PublicCopyWarning"][];
|
|
12564
|
+
/** Format: int32 */
|
|
12565
|
+
newVersion?: number | null;
|
|
12566
|
+
};
|
|
11462
12567
|
/** @description A percentage-rollout rule's configured split beside a sample-ratio check of what it served. */
|
|
11463
12568
|
PublicRolloutCheck: {
|
|
11464
12569
|
/** @description The configured weights, in percent; they sum to 100. */
|
|
@@ -11526,6 +12631,10 @@ export interface components {
|
|
|
11526
12631
|
PublicRolloutRampResponsePagedResult: {
|
|
11527
12632
|
items: components["schemas"]["PublicRolloutRampResponse"][];
|
|
11528
12633
|
next_cursor?: string | null;
|
|
12634
|
+
/** @description Capability hints: which operations the authenticated caller may perform on this resource, each with allowed + optional reason. Computed from the caller's role and the resource's state. Injected at runtime; safe to ignore. Present only on top-level resource responses — nested occurrences (e.g. a rule inside a targeting-config response) do not carry it. */
|
|
12635
|
+
_actions?: {
|
|
12636
|
+
[key: string]: components["schemas"]["ActionCapability"];
|
|
12637
|
+
};
|
|
11529
12638
|
};
|
|
11530
12639
|
/** @description A live rollout rule that no evaluations reached. */
|
|
11531
12640
|
PublicRolloutUnreached: {
|