@featureflip/mcp 0.8.0 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/dist/cli.mjs +1 -1
- package/dist/generated/api-types.d.ts +1178 -2
- package/dist/generated/api-types.d.ts.map +1 -1
- package/dist/generated/output-schemas.json.d.ts +256 -1
- package/dist/index.mjs +1 -1
- package/dist/{org-40S7JIbw.js → org-sxm8AftG.js} +308 -100
- package/dist/server.d.ts.map +1 -1
- package/dist/tools/flag-triggers.d.ts +4 -0
- package/dist/tools/flag-triggers.d.ts.map +1 -0
- package/dist/tools/rollout-ramps.d.ts +4 -0
- package/dist/tools/rollout-ramps.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -1857,7 +1857,7 @@ export interface paths {
|
|
|
1857
1857
|
/**
|
|
1858
1858
|
* Records the pull request that removes this flag from code, so the flag's owner is sent a link to it.
|
|
1859
1859
|
* @description Called by the Featureflip Flag Cleanup Action. Requires at least Member. The URL
|
|
1860
|
-
* must be an https pull request URL (400 `validation_failed`).
|
|
1860
|
+
* must be an https pull or merge request URL (400 `validation_failed`).
|
|
1861
1861
|
*/
|
|
1862
1862
|
put: {
|
|
1863
1863
|
parameters: {
|
|
@@ -5797,6 +5797,1097 @@ export interface paths {
|
|
|
5797
5797
|
patch?: never;
|
|
5798
5798
|
trace?: never;
|
|
5799
5799
|
};
|
|
5800
|
+
"/api/v1/orgs/{org}/projects/{project}/flags/{flag}/environments/{env}/ramps": {
|
|
5801
|
+
parameters: {
|
|
5802
|
+
query?: never;
|
|
5803
|
+
header?: never;
|
|
5804
|
+
path?: never;
|
|
5805
|
+
cookie?: never;
|
|
5806
|
+
};
|
|
5807
|
+
/**
|
|
5808
|
+
* Lists the flag's ramps in the environment: the active ones, newest first, then the ten most recently finished.
|
|
5809
|
+
* @description Cursor-paginated.
|
|
5810
|
+
*/
|
|
5811
|
+
get: {
|
|
5812
|
+
parameters: {
|
|
5813
|
+
query?: {
|
|
5814
|
+
limit?: number;
|
|
5815
|
+
cursor?: string;
|
|
5816
|
+
};
|
|
5817
|
+
header?: never;
|
|
5818
|
+
path: {
|
|
5819
|
+
org: string;
|
|
5820
|
+
project: string;
|
|
5821
|
+
flag: string;
|
|
5822
|
+
env: string;
|
|
5823
|
+
};
|
|
5824
|
+
cookie?: never;
|
|
5825
|
+
};
|
|
5826
|
+
requestBody?: never;
|
|
5827
|
+
responses: {
|
|
5828
|
+
/** @description OK */
|
|
5829
|
+
200: {
|
|
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"]["PublicRolloutRampResponsePagedResult"];
|
|
5838
|
+
};
|
|
5839
|
+
};
|
|
5840
|
+
/** @description Authentication is required, or the supplied API token is invalid or expired. */
|
|
5841
|
+
401: {
|
|
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 Not Found */
|
|
5853
|
+
404: {
|
|
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 Rate limit exceeded. Retry after the interval indicated by the Retry-After header. */
|
|
5865
|
+
429: {
|
|
5866
|
+
headers: {
|
|
5867
|
+
/** @description Number of seconds to wait before retrying the request. */
|
|
5868
|
+
"Retry-After"?: number;
|
|
5869
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
5870
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
5871
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
5872
|
+
[name: string]: unknown;
|
|
5873
|
+
};
|
|
5874
|
+
content: {
|
|
5875
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
5876
|
+
};
|
|
5877
|
+
};
|
|
5878
|
+
};
|
|
5879
|
+
};
|
|
5880
|
+
put?: never;
|
|
5881
|
+
post?: never;
|
|
5882
|
+
delete?: never;
|
|
5883
|
+
options?: never;
|
|
5884
|
+
head?: never;
|
|
5885
|
+
patch?: never;
|
|
5886
|
+
trace?: never;
|
|
5887
|
+
};
|
|
5888
|
+
"/api/v1/orgs/{org}/projects/{project}/flags/{flag}/environments/{env}/ramps/{rampId}": {
|
|
5889
|
+
parameters: {
|
|
5890
|
+
query?: never;
|
|
5891
|
+
header?: never;
|
|
5892
|
+
path?: never;
|
|
5893
|
+
cookie?: never;
|
|
5894
|
+
};
|
|
5895
|
+
/** Gets a ramp by id. */
|
|
5896
|
+
get: {
|
|
5897
|
+
parameters: {
|
|
5898
|
+
query?: never;
|
|
5899
|
+
header?: {
|
|
5900
|
+
/** @description Optional. An ETag of this resource. The response is 200 only if it is still the current one; otherwise 412 `precondition_failed`. `*` or no header always reads. */
|
|
5901
|
+
"If-Match"?: string;
|
|
5902
|
+
};
|
|
5903
|
+
path: {
|
|
5904
|
+
org: string;
|
|
5905
|
+
project: string;
|
|
5906
|
+
flag: string;
|
|
5907
|
+
env: string;
|
|
5908
|
+
rampId: string;
|
|
5909
|
+
};
|
|
5910
|
+
cookie?: never;
|
|
5911
|
+
};
|
|
5912
|
+
requestBody?: never;
|
|
5913
|
+
responses: {
|
|
5914
|
+
/** @description OK */
|
|
5915
|
+
200: {
|
|
5916
|
+
headers: {
|
|
5917
|
+
/** @description Strong ETag of the resource's whole body as sent to this caller: it changes whenever anything in the body does. Send it back as If-Match on a PUT. */
|
|
5918
|
+
ETag?: string;
|
|
5919
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
5920
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
5921
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
5922
|
+
[name: string]: unknown;
|
|
5923
|
+
};
|
|
5924
|
+
content: {
|
|
5925
|
+
"application/json": components["schemas"]["PublicRolloutRampResponse"];
|
|
5926
|
+
};
|
|
5927
|
+
};
|
|
5928
|
+
/** @description Authentication is required, or the supplied API token is invalid or expired. */
|
|
5929
|
+
401: {
|
|
5930
|
+
headers: {
|
|
5931
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
5932
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
5933
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
5934
|
+
[name: string]: unknown;
|
|
5935
|
+
};
|
|
5936
|
+
content: {
|
|
5937
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
5938
|
+
};
|
|
5939
|
+
};
|
|
5940
|
+
/** @description Not Found */
|
|
5941
|
+
404: {
|
|
5942
|
+
headers: {
|
|
5943
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
5944
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
5945
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
5946
|
+
[name: string]: unknown;
|
|
5947
|
+
};
|
|
5948
|
+
content: {
|
|
5949
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
5950
|
+
};
|
|
5951
|
+
};
|
|
5952
|
+
/** @description The resource's current ETag is not the If-Match one. */
|
|
5953
|
+
412: {
|
|
5954
|
+
headers: {
|
|
5955
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
5956
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
5957
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
5958
|
+
[name: string]: unknown;
|
|
5959
|
+
};
|
|
5960
|
+
content: {
|
|
5961
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
5962
|
+
};
|
|
5963
|
+
};
|
|
5964
|
+
/** @description Rate limit exceeded. Retry after the interval indicated by the Retry-After header. */
|
|
5965
|
+
429: {
|
|
5966
|
+
headers: {
|
|
5967
|
+
/** @description Number of seconds to wait before retrying the request. */
|
|
5968
|
+
"Retry-After"?: number;
|
|
5969
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
5970
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
5971
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
5972
|
+
[name: string]: unknown;
|
|
5973
|
+
};
|
|
5974
|
+
content: {
|
|
5975
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
5976
|
+
};
|
|
5977
|
+
};
|
|
5978
|
+
};
|
|
5979
|
+
};
|
|
5980
|
+
put?: never;
|
|
5981
|
+
post?: never;
|
|
5982
|
+
delete?: never;
|
|
5983
|
+
options?: never;
|
|
5984
|
+
head?: never;
|
|
5985
|
+
patch?: never;
|
|
5986
|
+
trace?: never;
|
|
5987
|
+
};
|
|
5988
|
+
"/api/v1/orgs/{org}/projects/{project}/flags/{flag}/environments/{env}/rules/{ruleId}/ramp": {
|
|
5989
|
+
parameters: {
|
|
5990
|
+
query?: never;
|
|
5991
|
+
header?: never;
|
|
5992
|
+
path?: never;
|
|
5993
|
+
cookie?: never;
|
|
5994
|
+
};
|
|
5995
|
+
get?: never;
|
|
5996
|
+
put?: never;
|
|
5997
|
+
/**
|
|
5998
|
+
* Starts a ramp on a targeting rule that serves a percentage rollout.
|
|
5999
|
+
* @description The ramp applies its first step at
|
|
6000
|
+
* once, then each next step after the previous step's hold. Requires at least Member. The 201 carries the
|
|
6001
|
+
* ramp's `ETag`, but a replay of it (`Idempotency-Replayed`) does not, and the ramp may have moved
|
|
6002
|
+
* on since: `GET` the ramp for its current one.
|
|
6003
|
+
*/
|
|
6004
|
+
post: {
|
|
6005
|
+
parameters: {
|
|
6006
|
+
query?: never;
|
|
6007
|
+
header?: {
|
|
6008
|
+
/** @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. */
|
|
6009
|
+
"X-Intent-Reason"?: string;
|
|
6010
|
+
};
|
|
6011
|
+
path: {
|
|
6012
|
+
org: string;
|
|
6013
|
+
project: string;
|
|
6014
|
+
flag: string;
|
|
6015
|
+
env: string;
|
|
6016
|
+
ruleId: string;
|
|
6017
|
+
};
|
|
6018
|
+
cookie?: never;
|
|
6019
|
+
};
|
|
6020
|
+
requestBody?: {
|
|
6021
|
+
content: {
|
|
6022
|
+
"application/json": components["schemas"]["PublicStartRolloutRampRequest"];
|
|
6023
|
+
"text/json": components["schemas"]["PublicStartRolloutRampRequest"];
|
|
6024
|
+
"application/*+json": components["schemas"]["PublicStartRolloutRampRequest"];
|
|
6025
|
+
};
|
|
6026
|
+
};
|
|
6027
|
+
responses: {
|
|
6028
|
+
/** @description Created */
|
|
6029
|
+
201: {
|
|
6030
|
+
headers: {
|
|
6031
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6032
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6033
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6034
|
+
[name: string]: unknown;
|
|
6035
|
+
};
|
|
6036
|
+
content: {
|
|
6037
|
+
"application/json": components["schemas"]["PublicRolloutRampResponse"];
|
|
6038
|
+
};
|
|
6039
|
+
};
|
|
6040
|
+
/** @description The request is malformed, or it carries an If-Match header, which this endpoint can't evaluate. Send no If-Match, or `*`. */
|
|
6041
|
+
400: {
|
|
6042
|
+
headers: {
|
|
6043
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6044
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6045
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6046
|
+
[name: string]: unknown;
|
|
6047
|
+
};
|
|
6048
|
+
content: {
|
|
6049
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6050
|
+
};
|
|
6051
|
+
};
|
|
6052
|
+
/** @description Authentication is required, or the supplied API token is invalid or expired. */
|
|
6053
|
+
401: {
|
|
6054
|
+
headers: {
|
|
6055
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6056
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6057
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6058
|
+
[name: string]: unknown;
|
|
6059
|
+
};
|
|
6060
|
+
content: {
|
|
6061
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6062
|
+
};
|
|
6063
|
+
};
|
|
6064
|
+
/** @description Forbidden */
|
|
6065
|
+
403: {
|
|
6066
|
+
headers: {
|
|
6067
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6068
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6069
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6070
|
+
[name: string]: unknown;
|
|
6071
|
+
};
|
|
6072
|
+
content: {
|
|
6073
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6074
|
+
};
|
|
6075
|
+
};
|
|
6076
|
+
/** @description Not Found */
|
|
6077
|
+
404: {
|
|
6078
|
+
headers: {
|
|
6079
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6080
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6081
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6082
|
+
[name: string]: unknown;
|
|
6083
|
+
};
|
|
6084
|
+
content: {
|
|
6085
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6086
|
+
};
|
|
6087
|
+
};
|
|
6088
|
+
/** @description Conflict */
|
|
6089
|
+
409: {
|
|
6090
|
+
headers: {
|
|
6091
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6092
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6093
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6094
|
+
[name: string]: unknown;
|
|
6095
|
+
};
|
|
6096
|
+
content: {
|
|
6097
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6098
|
+
};
|
|
6099
|
+
};
|
|
6100
|
+
/** @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. */
|
|
6101
|
+
422: {
|
|
6102
|
+
headers: {
|
|
6103
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6104
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6105
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6106
|
+
[name: string]: unknown;
|
|
6107
|
+
};
|
|
6108
|
+
content: {
|
|
6109
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6110
|
+
};
|
|
6111
|
+
};
|
|
6112
|
+
/** @description Rate limit exceeded. Retry after the interval indicated by the Retry-After header. */
|
|
6113
|
+
429: {
|
|
6114
|
+
headers: {
|
|
6115
|
+
/** @description Number of seconds to wait before retrying the request. */
|
|
6116
|
+
"Retry-After"?: number;
|
|
6117
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6118
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6119
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6120
|
+
[name: string]: unknown;
|
|
6121
|
+
};
|
|
6122
|
+
content: {
|
|
6123
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6124
|
+
};
|
|
6125
|
+
};
|
|
6126
|
+
};
|
|
6127
|
+
};
|
|
6128
|
+
delete?: never;
|
|
6129
|
+
options?: never;
|
|
6130
|
+
head?: never;
|
|
6131
|
+
patch?: never;
|
|
6132
|
+
trace?: never;
|
|
6133
|
+
};
|
|
6134
|
+
"/api/v1/orgs/{org}/projects/{project}/flags/{flag}/environments/{env}/default-rule/ramp": {
|
|
6135
|
+
parameters: {
|
|
6136
|
+
query?: never;
|
|
6137
|
+
header?: never;
|
|
6138
|
+
path?: never;
|
|
6139
|
+
cookie?: never;
|
|
6140
|
+
};
|
|
6141
|
+
get?: never;
|
|
6142
|
+
put?: never;
|
|
6143
|
+
/**
|
|
6144
|
+
* Starts a ramp on the default (fallthrough) rule.
|
|
6145
|
+
* @description A ladder ending at 100% finalises: the variation becomes
|
|
6146
|
+
* the default variation and the rollout is cleared. Requires at least Member. As with a rule ramp, a replayed
|
|
6147
|
+
* 201 carries no `ETag`: `GET` the ramp for its current one.
|
|
6148
|
+
*/
|
|
6149
|
+
post: {
|
|
6150
|
+
parameters: {
|
|
6151
|
+
query?: never;
|
|
6152
|
+
header?: {
|
|
6153
|
+
/** @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. */
|
|
6154
|
+
"X-Intent-Reason"?: string;
|
|
6155
|
+
};
|
|
6156
|
+
path: {
|
|
6157
|
+
org: string;
|
|
6158
|
+
project: string;
|
|
6159
|
+
flag: string;
|
|
6160
|
+
env: string;
|
|
6161
|
+
};
|
|
6162
|
+
cookie?: never;
|
|
6163
|
+
};
|
|
6164
|
+
requestBody?: {
|
|
6165
|
+
content: {
|
|
6166
|
+
"application/json": components["schemas"]["PublicStartDefaultRuleRolloutRampRequest"];
|
|
6167
|
+
"text/json": components["schemas"]["PublicStartDefaultRuleRolloutRampRequest"];
|
|
6168
|
+
"application/*+json": components["schemas"]["PublicStartDefaultRuleRolloutRampRequest"];
|
|
6169
|
+
};
|
|
6170
|
+
};
|
|
6171
|
+
responses: {
|
|
6172
|
+
/** @description Created */
|
|
6173
|
+
201: {
|
|
6174
|
+
headers: {
|
|
6175
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6176
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6177
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6178
|
+
[name: string]: unknown;
|
|
6179
|
+
};
|
|
6180
|
+
content: {
|
|
6181
|
+
"application/json": components["schemas"]["PublicRolloutRampResponse"];
|
|
6182
|
+
};
|
|
6183
|
+
};
|
|
6184
|
+
/** @description The request is malformed, or it carries an If-Match header, which this endpoint can't evaluate. Send no If-Match, or `*`. */
|
|
6185
|
+
400: {
|
|
6186
|
+
headers: {
|
|
6187
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6188
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6189
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6190
|
+
[name: string]: unknown;
|
|
6191
|
+
};
|
|
6192
|
+
content: {
|
|
6193
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6194
|
+
};
|
|
6195
|
+
};
|
|
6196
|
+
/** @description Authentication is required, or the supplied API token is invalid or expired. */
|
|
6197
|
+
401: {
|
|
6198
|
+
headers: {
|
|
6199
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6200
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6201
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6202
|
+
[name: string]: unknown;
|
|
6203
|
+
};
|
|
6204
|
+
content: {
|
|
6205
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6206
|
+
};
|
|
6207
|
+
};
|
|
6208
|
+
/** @description Forbidden */
|
|
6209
|
+
403: {
|
|
6210
|
+
headers: {
|
|
6211
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6212
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6213
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6214
|
+
[name: string]: unknown;
|
|
6215
|
+
};
|
|
6216
|
+
content: {
|
|
6217
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6218
|
+
};
|
|
6219
|
+
};
|
|
6220
|
+
/** @description Not Found */
|
|
6221
|
+
404: {
|
|
6222
|
+
headers: {
|
|
6223
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6224
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6225
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6226
|
+
[name: string]: unknown;
|
|
6227
|
+
};
|
|
6228
|
+
content: {
|
|
6229
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6230
|
+
};
|
|
6231
|
+
};
|
|
6232
|
+
/** @description Conflict */
|
|
6233
|
+
409: {
|
|
6234
|
+
headers: {
|
|
6235
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6236
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6237
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6238
|
+
[name: string]: unknown;
|
|
6239
|
+
};
|
|
6240
|
+
content: {
|
|
6241
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6242
|
+
};
|
|
6243
|
+
};
|
|
6244
|
+
/** @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. */
|
|
6245
|
+
422: {
|
|
6246
|
+
headers: {
|
|
6247
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6248
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6249
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6250
|
+
[name: string]: unknown;
|
|
6251
|
+
};
|
|
6252
|
+
content: {
|
|
6253
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6254
|
+
};
|
|
6255
|
+
};
|
|
6256
|
+
/** @description Rate limit exceeded. Retry after the interval indicated by the Retry-After header. */
|
|
6257
|
+
429: {
|
|
6258
|
+
headers: {
|
|
6259
|
+
/** @description Number of seconds to wait before retrying the request. */
|
|
6260
|
+
"Retry-After"?: number;
|
|
6261
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6262
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6263
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6264
|
+
[name: string]: unknown;
|
|
6265
|
+
};
|
|
6266
|
+
content: {
|
|
6267
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6268
|
+
};
|
|
6269
|
+
};
|
|
6270
|
+
};
|
|
6271
|
+
};
|
|
6272
|
+
delete?: never;
|
|
6273
|
+
options?: never;
|
|
6274
|
+
head?: never;
|
|
6275
|
+
patch?: never;
|
|
6276
|
+
trace?: never;
|
|
6277
|
+
};
|
|
6278
|
+
"/api/v1/orgs/{org}/projects/{project}/flags/{flag}/environments/{env}/ramps/{rampId}/pause": {
|
|
6279
|
+
parameters: {
|
|
6280
|
+
query?: never;
|
|
6281
|
+
header?: never;
|
|
6282
|
+
path?: never;
|
|
6283
|
+
cookie?: never;
|
|
6284
|
+
};
|
|
6285
|
+
get?: never;
|
|
6286
|
+
put?: never;
|
|
6287
|
+
/**
|
|
6288
|
+
* Pauses a running ramp, keeping the rest of the current hold.
|
|
6289
|
+
* @description Requires at least Member.
|
|
6290
|
+
*/
|
|
6291
|
+
post: {
|
|
6292
|
+
parameters: {
|
|
6293
|
+
query?: never;
|
|
6294
|
+
header?: {
|
|
6295
|
+
/** @description Optional. The ETag from a GET of this resource. The write applies only if the resource still has that ETag, meaning nothing in its body has changed since; otherwise 412 `precondition_failed`. `*` or no header applies the write unconditionally. */
|
|
6296
|
+
"If-Match"?: string;
|
|
6297
|
+
/** @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. */
|
|
6298
|
+
"X-Intent-Reason"?: string;
|
|
6299
|
+
};
|
|
6300
|
+
path: {
|
|
6301
|
+
org: string;
|
|
6302
|
+
project: string;
|
|
6303
|
+
flag: string;
|
|
6304
|
+
env: string;
|
|
6305
|
+
rampId: string;
|
|
6306
|
+
};
|
|
6307
|
+
cookie?: never;
|
|
6308
|
+
};
|
|
6309
|
+
requestBody?: never;
|
|
6310
|
+
responses: {
|
|
6311
|
+
/** @description OK */
|
|
6312
|
+
200: {
|
|
6313
|
+
headers: {
|
|
6314
|
+
/** @description Strong ETag of the resource's whole body as sent to this caller: it changes whenever anything in the body does. Send it back as If-Match on a PUT. */
|
|
6315
|
+
ETag?: string;
|
|
6316
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6317
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6318
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6319
|
+
[name: string]: unknown;
|
|
6320
|
+
};
|
|
6321
|
+
content: {
|
|
6322
|
+
"application/json": components["schemas"]["PublicRolloutRampResponse"];
|
|
6323
|
+
};
|
|
6324
|
+
};
|
|
6325
|
+
/** @description Authentication is required, or the supplied API token is invalid or expired. */
|
|
6326
|
+
401: {
|
|
6327
|
+
headers: {
|
|
6328
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6329
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6330
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6331
|
+
[name: string]: unknown;
|
|
6332
|
+
};
|
|
6333
|
+
content: {
|
|
6334
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6335
|
+
};
|
|
6336
|
+
};
|
|
6337
|
+
/** @description Forbidden */
|
|
6338
|
+
403: {
|
|
6339
|
+
headers: {
|
|
6340
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6341
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6342
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6343
|
+
[name: string]: unknown;
|
|
6344
|
+
};
|
|
6345
|
+
content: {
|
|
6346
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6347
|
+
};
|
|
6348
|
+
};
|
|
6349
|
+
/** @description Not Found */
|
|
6350
|
+
404: {
|
|
6351
|
+
headers: {
|
|
6352
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6353
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6354
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6355
|
+
[name: string]: unknown;
|
|
6356
|
+
};
|
|
6357
|
+
content: {
|
|
6358
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6359
|
+
};
|
|
6360
|
+
};
|
|
6361
|
+
/** @description Conflict */
|
|
6362
|
+
409: {
|
|
6363
|
+
headers: {
|
|
6364
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6365
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6366
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6367
|
+
[name: string]: unknown;
|
|
6368
|
+
};
|
|
6369
|
+
content: {
|
|
6370
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6371
|
+
};
|
|
6372
|
+
};
|
|
6373
|
+
/** @description The resource changed since the If-Match ETag. */
|
|
6374
|
+
412: {
|
|
6375
|
+
headers: {
|
|
6376
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6377
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6378
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6379
|
+
[name: string]: unknown;
|
|
6380
|
+
};
|
|
6381
|
+
content: {
|
|
6382
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6383
|
+
};
|
|
6384
|
+
};
|
|
6385
|
+
/** @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. */
|
|
6386
|
+
422: {
|
|
6387
|
+
headers: {
|
|
6388
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6389
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6390
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6391
|
+
[name: string]: unknown;
|
|
6392
|
+
};
|
|
6393
|
+
content: {
|
|
6394
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6395
|
+
};
|
|
6396
|
+
};
|
|
6397
|
+
/** @description Rate limit exceeded. Retry after the interval indicated by the Retry-After header. */
|
|
6398
|
+
429: {
|
|
6399
|
+
headers: {
|
|
6400
|
+
/** @description Number of seconds to wait before retrying the request. */
|
|
6401
|
+
"Retry-After"?: number;
|
|
6402
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6403
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6404
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6405
|
+
[name: string]: unknown;
|
|
6406
|
+
};
|
|
6407
|
+
content: {
|
|
6408
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6409
|
+
};
|
|
6410
|
+
};
|
|
6411
|
+
};
|
|
6412
|
+
};
|
|
6413
|
+
delete?: never;
|
|
6414
|
+
options?: never;
|
|
6415
|
+
head?: never;
|
|
6416
|
+
patch?: never;
|
|
6417
|
+
trace?: never;
|
|
6418
|
+
};
|
|
6419
|
+
"/api/v1/orgs/{org}/projects/{project}/flags/{flag}/environments/{env}/ramps/{rampId}/resume": {
|
|
6420
|
+
parameters: {
|
|
6421
|
+
query?: never;
|
|
6422
|
+
header?: never;
|
|
6423
|
+
path?: never;
|
|
6424
|
+
cookie?: never;
|
|
6425
|
+
};
|
|
6426
|
+
get?: never;
|
|
6427
|
+
put?: never;
|
|
6428
|
+
/**
|
|
6429
|
+
* Resumes a paused ramp, accepting the rule as it stands now, and honours the rest of the hold it had when paused.
|
|
6430
|
+
* @description Requires at least Member.
|
|
6431
|
+
*/
|
|
6432
|
+
post: {
|
|
6433
|
+
parameters: {
|
|
6434
|
+
query?: never;
|
|
6435
|
+
header?: {
|
|
6436
|
+
/** @description Optional. The ETag from a GET of this resource. The write applies only if the resource still has that ETag, meaning nothing in its body has changed since; otherwise 412 `precondition_failed`. `*` or no header applies the write unconditionally. */
|
|
6437
|
+
"If-Match"?: string;
|
|
6438
|
+
/** @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. */
|
|
6439
|
+
"X-Intent-Reason"?: string;
|
|
6440
|
+
};
|
|
6441
|
+
path: {
|
|
6442
|
+
org: string;
|
|
6443
|
+
project: string;
|
|
6444
|
+
flag: string;
|
|
6445
|
+
env: string;
|
|
6446
|
+
rampId: string;
|
|
6447
|
+
};
|
|
6448
|
+
cookie?: never;
|
|
6449
|
+
};
|
|
6450
|
+
requestBody?: never;
|
|
6451
|
+
responses: {
|
|
6452
|
+
/** @description OK */
|
|
6453
|
+
200: {
|
|
6454
|
+
headers: {
|
|
6455
|
+
/** @description Strong ETag of the resource's whole body as sent to this caller: it changes whenever anything in the body does. Send it back as If-Match on a PUT. */
|
|
6456
|
+
ETag?: string;
|
|
6457
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6458
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6459
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6460
|
+
[name: string]: unknown;
|
|
6461
|
+
};
|
|
6462
|
+
content: {
|
|
6463
|
+
"application/json": components["schemas"]["PublicRolloutRampResponse"];
|
|
6464
|
+
};
|
|
6465
|
+
};
|
|
6466
|
+
/** @description Bad Request */
|
|
6467
|
+
400: {
|
|
6468
|
+
headers: {
|
|
6469
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6470
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6471
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6472
|
+
[name: string]: unknown;
|
|
6473
|
+
};
|
|
6474
|
+
content: {
|
|
6475
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6476
|
+
};
|
|
6477
|
+
};
|
|
6478
|
+
/** @description Authentication is required, or the supplied API token is invalid or expired. */
|
|
6479
|
+
401: {
|
|
6480
|
+
headers: {
|
|
6481
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6482
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6483
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6484
|
+
[name: string]: unknown;
|
|
6485
|
+
};
|
|
6486
|
+
content: {
|
|
6487
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6488
|
+
};
|
|
6489
|
+
};
|
|
6490
|
+
/** @description Forbidden */
|
|
6491
|
+
403: {
|
|
6492
|
+
headers: {
|
|
6493
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6494
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6495
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6496
|
+
[name: string]: unknown;
|
|
6497
|
+
};
|
|
6498
|
+
content: {
|
|
6499
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6500
|
+
};
|
|
6501
|
+
};
|
|
6502
|
+
/** @description Not Found */
|
|
6503
|
+
404: {
|
|
6504
|
+
headers: {
|
|
6505
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6506
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6507
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6508
|
+
[name: string]: unknown;
|
|
6509
|
+
};
|
|
6510
|
+
content: {
|
|
6511
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6512
|
+
};
|
|
6513
|
+
};
|
|
6514
|
+
/** @description Conflict */
|
|
6515
|
+
409: {
|
|
6516
|
+
headers: {
|
|
6517
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6518
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6519
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6520
|
+
[name: string]: unknown;
|
|
6521
|
+
};
|
|
6522
|
+
content: {
|
|
6523
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6524
|
+
};
|
|
6525
|
+
};
|
|
6526
|
+
/** @description The resource changed since the If-Match ETag. */
|
|
6527
|
+
412: {
|
|
6528
|
+
headers: {
|
|
6529
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6530
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6531
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6532
|
+
[name: string]: unknown;
|
|
6533
|
+
};
|
|
6534
|
+
content: {
|
|
6535
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6536
|
+
};
|
|
6537
|
+
};
|
|
6538
|
+
/** @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. */
|
|
6539
|
+
422: {
|
|
6540
|
+
headers: {
|
|
6541
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6542
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6543
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6544
|
+
[name: string]: unknown;
|
|
6545
|
+
};
|
|
6546
|
+
content: {
|
|
6547
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6548
|
+
};
|
|
6549
|
+
};
|
|
6550
|
+
/** @description Rate limit exceeded. Retry after the interval indicated by the Retry-After header. */
|
|
6551
|
+
429: {
|
|
6552
|
+
headers: {
|
|
6553
|
+
/** @description Number of seconds to wait before retrying the request. */
|
|
6554
|
+
"Retry-After"?: number;
|
|
6555
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6556
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6557
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6558
|
+
[name: string]: unknown;
|
|
6559
|
+
};
|
|
6560
|
+
content: {
|
|
6561
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6562
|
+
};
|
|
6563
|
+
};
|
|
6564
|
+
};
|
|
6565
|
+
};
|
|
6566
|
+
delete?: never;
|
|
6567
|
+
options?: never;
|
|
6568
|
+
head?: never;
|
|
6569
|
+
patch?: never;
|
|
6570
|
+
trace?: never;
|
|
6571
|
+
};
|
|
6572
|
+
"/api/v1/orgs/{org}/projects/{project}/flags/{flag}/environments/{env}/ramps/{rampId}/advance": {
|
|
6573
|
+
parameters: {
|
|
6574
|
+
query?: never;
|
|
6575
|
+
header?: never;
|
|
6576
|
+
path?: never;
|
|
6577
|
+
cookie?: never;
|
|
6578
|
+
};
|
|
6579
|
+
get?: never;
|
|
6580
|
+
put?: never;
|
|
6581
|
+
/**
|
|
6582
|
+
* Applies the next step now instead of waiting out the hold.
|
|
6583
|
+
* @description `expectedStepIndex` is the
|
|
6584
|
+
* `currentStepIndex` the caller last saw; a ramp that has moved on is a 409. Requires at least Member.
|
|
6585
|
+
*/
|
|
6586
|
+
post: {
|
|
6587
|
+
parameters: {
|
|
6588
|
+
query?: never;
|
|
6589
|
+
header?: {
|
|
6590
|
+
/** @description Optional. The ETag from a GET of this resource. The write applies only if the resource still has that ETag, meaning nothing in its body has changed since; otherwise 412 `precondition_failed`. `*` or no header applies the write unconditionally. */
|
|
6591
|
+
"If-Match"?: string;
|
|
6592
|
+
/** @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. */
|
|
6593
|
+
"X-Intent-Reason"?: string;
|
|
6594
|
+
};
|
|
6595
|
+
path: {
|
|
6596
|
+
org: string;
|
|
6597
|
+
project: string;
|
|
6598
|
+
flag: string;
|
|
6599
|
+
env: string;
|
|
6600
|
+
rampId: string;
|
|
6601
|
+
};
|
|
6602
|
+
cookie?: never;
|
|
6603
|
+
};
|
|
6604
|
+
requestBody?: {
|
|
6605
|
+
content: {
|
|
6606
|
+
"application/json": components["schemas"]["PublicAdvanceRolloutRampRequest"];
|
|
6607
|
+
"text/json": components["schemas"]["PublicAdvanceRolloutRampRequest"];
|
|
6608
|
+
"application/*+json": components["schemas"]["PublicAdvanceRolloutRampRequest"];
|
|
6609
|
+
};
|
|
6610
|
+
};
|
|
6611
|
+
responses: {
|
|
6612
|
+
/** @description OK */
|
|
6613
|
+
200: {
|
|
6614
|
+
headers: {
|
|
6615
|
+
/** @description Strong ETag of the resource's whole body as sent to this caller: it changes whenever anything in the body does. Send it back as If-Match on a PUT. */
|
|
6616
|
+
ETag?: string;
|
|
6617
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6618
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6619
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6620
|
+
[name: string]: unknown;
|
|
6621
|
+
};
|
|
6622
|
+
content: {
|
|
6623
|
+
"application/json": components["schemas"]["PublicRolloutRampResponse"];
|
|
6624
|
+
};
|
|
6625
|
+
};
|
|
6626
|
+
/** @description Bad Request */
|
|
6627
|
+
400: {
|
|
6628
|
+
headers: {
|
|
6629
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6630
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6631
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6632
|
+
[name: string]: unknown;
|
|
6633
|
+
};
|
|
6634
|
+
content: {
|
|
6635
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6636
|
+
};
|
|
6637
|
+
};
|
|
6638
|
+
/** @description Authentication is required, or the supplied API token is invalid or expired. */
|
|
6639
|
+
401: {
|
|
6640
|
+
headers: {
|
|
6641
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6642
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6643
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6644
|
+
[name: string]: unknown;
|
|
6645
|
+
};
|
|
6646
|
+
content: {
|
|
6647
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6648
|
+
};
|
|
6649
|
+
};
|
|
6650
|
+
/** @description Forbidden */
|
|
6651
|
+
403: {
|
|
6652
|
+
headers: {
|
|
6653
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6654
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6655
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6656
|
+
[name: string]: unknown;
|
|
6657
|
+
};
|
|
6658
|
+
content: {
|
|
6659
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6660
|
+
};
|
|
6661
|
+
};
|
|
6662
|
+
/** @description Not Found */
|
|
6663
|
+
404: {
|
|
6664
|
+
headers: {
|
|
6665
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6666
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6667
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6668
|
+
[name: string]: unknown;
|
|
6669
|
+
};
|
|
6670
|
+
content: {
|
|
6671
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6672
|
+
};
|
|
6673
|
+
};
|
|
6674
|
+
/** @description Conflict */
|
|
6675
|
+
409: {
|
|
6676
|
+
headers: {
|
|
6677
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6678
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6679
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6680
|
+
[name: string]: unknown;
|
|
6681
|
+
};
|
|
6682
|
+
content: {
|
|
6683
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6684
|
+
};
|
|
6685
|
+
};
|
|
6686
|
+
/** @description The resource changed since the If-Match ETag. */
|
|
6687
|
+
412: {
|
|
6688
|
+
headers: {
|
|
6689
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6690
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6691
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6692
|
+
[name: string]: unknown;
|
|
6693
|
+
};
|
|
6694
|
+
content: {
|
|
6695
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6696
|
+
};
|
|
6697
|
+
};
|
|
6698
|
+
/** @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. */
|
|
6699
|
+
422: {
|
|
6700
|
+
headers: {
|
|
6701
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6702
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6703
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6704
|
+
[name: string]: unknown;
|
|
6705
|
+
};
|
|
6706
|
+
content: {
|
|
6707
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6708
|
+
};
|
|
6709
|
+
};
|
|
6710
|
+
/** @description Rate limit exceeded. Retry after the interval indicated by the Retry-After header. */
|
|
6711
|
+
429: {
|
|
6712
|
+
headers: {
|
|
6713
|
+
/** @description Number of seconds to wait before retrying the request. */
|
|
6714
|
+
"Retry-After"?: number;
|
|
6715
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6716
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6717
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6718
|
+
[name: string]: unknown;
|
|
6719
|
+
};
|
|
6720
|
+
content: {
|
|
6721
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6722
|
+
};
|
|
6723
|
+
};
|
|
6724
|
+
};
|
|
6725
|
+
};
|
|
6726
|
+
delete?: never;
|
|
6727
|
+
options?: never;
|
|
6728
|
+
head?: never;
|
|
6729
|
+
patch?: never;
|
|
6730
|
+
trace?: never;
|
|
6731
|
+
};
|
|
6732
|
+
"/api/v1/orgs/{org}/projects/{project}/flags/{flag}/environments/{env}/ramps/{rampId}/abort": {
|
|
6733
|
+
parameters: {
|
|
6734
|
+
query?: never;
|
|
6735
|
+
header?: never;
|
|
6736
|
+
path?: never;
|
|
6737
|
+
cookie?: never;
|
|
6738
|
+
};
|
|
6739
|
+
get?: never;
|
|
6740
|
+
put?: never;
|
|
6741
|
+
/**
|
|
6742
|
+
* Aborts an active ramp and leaves the rule at `percent` (0-100).
|
|
6743
|
+
* @description Requires at least Member.
|
|
6744
|
+
*/
|
|
6745
|
+
post: {
|
|
6746
|
+
parameters: {
|
|
6747
|
+
query?: never;
|
|
6748
|
+
header?: {
|
|
6749
|
+
/** @description Optional. The ETag from a GET of this resource. The write applies only if the resource still has that ETag, meaning nothing in its body has changed since; otherwise 412 `precondition_failed`. `*` or no header applies the write unconditionally. */
|
|
6750
|
+
"If-Match"?: string;
|
|
6751
|
+
/** @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. */
|
|
6752
|
+
"X-Intent-Reason"?: string;
|
|
6753
|
+
};
|
|
6754
|
+
path: {
|
|
6755
|
+
org: string;
|
|
6756
|
+
project: string;
|
|
6757
|
+
flag: string;
|
|
6758
|
+
env: string;
|
|
6759
|
+
rampId: string;
|
|
6760
|
+
};
|
|
6761
|
+
cookie?: never;
|
|
6762
|
+
};
|
|
6763
|
+
requestBody?: {
|
|
6764
|
+
content: {
|
|
6765
|
+
"application/json": components["schemas"]["PublicAbortRolloutRampRequest"];
|
|
6766
|
+
"text/json": components["schemas"]["PublicAbortRolloutRampRequest"];
|
|
6767
|
+
"application/*+json": components["schemas"]["PublicAbortRolloutRampRequest"];
|
|
6768
|
+
};
|
|
6769
|
+
};
|
|
6770
|
+
responses: {
|
|
6771
|
+
/** @description OK */
|
|
6772
|
+
200: {
|
|
6773
|
+
headers: {
|
|
6774
|
+
/** @description Strong ETag of the resource's whole body as sent to this caller: it changes whenever anything in the body does. Send it back as If-Match on a PUT. */
|
|
6775
|
+
ETag?: string;
|
|
6776
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6777
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6778
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6779
|
+
[name: string]: unknown;
|
|
6780
|
+
};
|
|
6781
|
+
content: {
|
|
6782
|
+
"application/json": components["schemas"]["PublicRolloutRampResponse"];
|
|
6783
|
+
};
|
|
6784
|
+
};
|
|
6785
|
+
/** @description Bad Request */
|
|
6786
|
+
400: {
|
|
6787
|
+
headers: {
|
|
6788
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6789
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6790
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6791
|
+
[name: string]: unknown;
|
|
6792
|
+
};
|
|
6793
|
+
content: {
|
|
6794
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6795
|
+
};
|
|
6796
|
+
};
|
|
6797
|
+
/** @description Authentication is required, or the supplied API token is invalid or expired. */
|
|
6798
|
+
401: {
|
|
6799
|
+
headers: {
|
|
6800
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6801
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6802
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6803
|
+
[name: string]: unknown;
|
|
6804
|
+
};
|
|
6805
|
+
content: {
|
|
6806
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6807
|
+
};
|
|
6808
|
+
};
|
|
6809
|
+
/** @description Forbidden */
|
|
6810
|
+
403: {
|
|
6811
|
+
headers: {
|
|
6812
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6813
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6814
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6815
|
+
[name: string]: unknown;
|
|
6816
|
+
};
|
|
6817
|
+
content: {
|
|
6818
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6819
|
+
};
|
|
6820
|
+
};
|
|
6821
|
+
/** @description Not Found */
|
|
6822
|
+
404: {
|
|
6823
|
+
headers: {
|
|
6824
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6825
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6826
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6827
|
+
[name: string]: unknown;
|
|
6828
|
+
};
|
|
6829
|
+
content: {
|
|
6830
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6831
|
+
};
|
|
6832
|
+
};
|
|
6833
|
+
/** @description Conflict */
|
|
6834
|
+
409: {
|
|
6835
|
+
headers: {
|
|
6836
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6837
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6838
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6839
|
+
[name: string]: unknown;
|
|
6840
|
+
};
|
|
6841
|
+
content: {
|
|
6842
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6843
|
+
};
|
|
6844
|
+
};
|
|
6845
|
+
/** @description The resource changed since the If-Match ETag. */
|
|
6846
|
+
412: {
|
|
6847
|
+
headers: {
|
|
6848
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6849
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6850
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6851
|
+
[name: string]: unknown;
|
|
6852
|
+
};
|
|
6853
|
+
content: {
|
|
6854
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6855
|
+
};
|
|
6856
|
+
};
|
|
6857
|
+
/** @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. */
|
|
6858
|
+
422: {
|
|
6859
|
+
headers: {
|
|
6860
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6861
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6862
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6863
|
+
[name: string]: unknown;
|
|
6864
|
+
};
|
|
6865
|
+
content: {
|
|
6866
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6867
|
+
};
|
|
6868
|
+
};
|
|
6869
|
+
/** @description Rate limit exceeded. Retry after the interval indicated by the Retry-After header. */
|
|
6870
|
+
429: {
|
|
6871
|
+
headers: {
|
|
6872
|
+
/** @description Number of seconds to wait before retrying the request. */
|
|
6873
|
+
"Retry-After"?: number;
|
|
6874
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
6875
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
6876
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
6877
|
+
[name: string]: unknown;
|
|
6878
|
+
};
|
|
6879
|
+
content: {
|
|
6880
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
6881
|
+
};
|
|
6882
|
+
};
|
|
6883
|
+
};
|
|
6884
|
+
};
|
|
6885
|
+
delete?: never;
|
|
6886
|
+
options?: never;
|
|
6887
|
+
head?: never;
|
|
6888
|
+
patch?: never;
|
|
6889
|
+
trace?: never;
|
|
6890
|
+
};
|
|
5800
6891
|
"/api/v1/orgs/{org}/projects/{project}/environments/{env}/sdk-keys": {
|
|
5801
6892
|
parameters: {
|
|
5802
6893
|
query?: never;
|
|
@@ -8083,6 +9174,14 @@ export interface components {
|
|
|
8083
9174
|
[key: string]: components["schemas"]["ActionCapability"];
|
|
8084
9175
|
};
|
|
8085
9176
|
};
|
|
9177
|
+
/**
|
|
9178
|
+
* @description Request body for `POST …/ramps/{rampId}/abort`: the percentage (0-100) to leave the rule at. Required, so
|
|
9179
|
+
* a missing value is a 400 rather than an abort to 0%.
|
|
9180
|
+
*/
|
|
9181
|
+
PublicAbortRolloutRampRequest: {
|
|
9182
|
+
/** Format: int32 */
|
|
9183
|
+
percent?: number | null;
|
|
9184
|
+
};
|
|
8086
9185
|
/**
|
|
8087
9186
|
* @description Request body for
|
|
8088
9187
|
* `POST /api/v1/orgs/{org}/projects/{project}/flags/{flag}/variations`. Named distinctly
|
|
@@ -8102,6 +9201,14 @@ export interface components {
|
|
|
8102
9201
|
value: string;
|
|
8103
9202
|
description?: string | null;
|
|
8104
9203
|
};
|
|
9204
|
+
/**
|
|
9205
|
+
* @description Request body for `POST …/ramps/{rampId}/advance`: the `currentStepIndex` the caller last saw. If the
|
|
9206
|
+
* ramp has moved on since, the advance is a 409, so two racing advances can't skip a step.
|
|
9207
|
+
*/
|
|
9208
|
+
PublicAdvanceRolloutRampRequest: {
|
|
9209
|
+
/** Format: int32 */
|
|
9210
|
+
expectedStepIndex?: number | null;
|
|
9211
|
+
};
|
|
8105
9212
|
/**
|
|
8106
9213
|
* @description The frozen public-API error contract. `error` codes are stable snake_case strings. Wire keys
|
|
8107
9214
|
* are frozen snake_case too (`error`, `message`, `docs_url`, `fields`,
|
|
@@ -9143,6 +10250,13 @@ export interface components {
|
|
|
9143
10250
|
PublicPutTargetingRequest: {
|
|
9144
10251
|
rules?: components["schemas"]["PublicCreateTargetingRuleRequest"][] | null;
|
|
9145
10252
|
};
|
|
10253
|
+
/** @description One rung of a rollout ramp: the percentage served, then how long it holds before the next rung. */
|
|
10254
|
+
PublicRampStep: {
|
|
10255
|
+
/** Format: int32 */
|
|
10256
|
+
percent?: number;
|
|
10257
|
+
/** Format: int32 */
|
|
10258
|
+
holdMinutes?: number;
|
|
10259
|
+
};
|
|
9146
10260
|
/**
|
|
9147
10261
|
* @description Request body for `PUT .../rules/reorder`. Must include every existing rule id exactly
|
|
9148
10262
|
* once — `ReorderTargetingRulesCommandHandler` rejects duplicate, omitted, or unknown rule
|
|
@@ -9179,6 +10293,47 @@ export interface components {
|
|
|
9179
10293
|
bucketBy: string;
|
|
9180
10294
|
unreached?: components["schemas"]["PublicRolloutUnreached"];
|
|
9181
10295
|
};
|
|
10296
|
+
/**
|
|
10297
|
+
* @description A rollout ramp (#4653, #5180) as `/api/v1` returns it. Flag and environment are implicit in the route.
|
|
10298
|
+
* A ramp drives either a targeting rule (RuleId set) or the default rule
|
|
10299
|
+
* (IsDefaultRule true, TargetVariationId the variation it rolls out).
|
|
10300
|
+
* Status is `Running`, `Paused`, `Completed` or `Aborted`.
|
|
10301
|
+
* CurrentStepIndex is the step last applied, -1 before the first. NextStepAt is
|
|
10302
|
+
* set only while running and not yet on the last step.
|
|
10303
|
+
*/
|
|
10304
|
+
PublicRolloutRampResponse: {
|
|
10305
|
+
/** Format: uuid */
|
|
10306
|
+
id: string;
|
|
10307
|
+
/** Format: uuid */
|
|
10308
|
+
ruleId?: string | null;
|
|
10309
|
+
isDefaultRule: boolean;
|
|
10310
|
+
/** Format: uuid */
|
|
10311
|
+
targetVariationId?: string | null;
|
|
10312
|
+
status: string;
|
|
10313
|
+
steps: components["schemas"]["PublicRampStep"][];
|
|
10314
|
+
/** Format: int32 */
|
|
10315
|
+
currentStepIndex: number;
|
|
10316
|
+
/** Format: date-time */
|
|
10317
|
+
nextStepAt?: string | null;
|
|
10318
|
+
pausedReason?: string | null;
|
|
10319
|
+
pausedDetail?: string | null;
|
|
10320
|
+
startedByName?: string | null;
|
|
10321
|
+
/** Format: date-time */
|
|
10322
|
+
createdAt: string;
|
|
10323
|
+
/** Format: date-time */
|
|
10324
|
+
completedAt?: string | null;
|
|
10325
|
+
/** Format: date-time */
|
|
10326
|
+
abortedAt?: string | null;
|
|
10327
|
+
};
|
|
10328
|
+
/**
|
|
10329
|
+
* @description A page of results plus an opaque cursor for the next page, or null when this is the last
|
|
10330
|
+
* page. Wire keys are frozen: `items` (already lowercase under the camelCase policy) and
|
|
10331
|
+
* `next_cursor` (pinned explicitly — the policy alone would emit `nextCursor`).
|
|
10332
|
+
*/
|
|
10333
|
+
PublicRolloutRampResponsePagedResult: {
|
|
10334
|
+
items: components["schemas"]["PublicRolloutRampResponse"][];
|
|
10335
|
+
next_cursor?: string | null;
|
|
10336
|
+
};
|
|
9182
10337
|
/** @description A live rollout rule that no evaluations reached. */
|
|
9183
10338
|
PublicRolloutUnreached: {
|
|
9184
10339
|
/**
|
|
@@ -9357,7 +10512,9 @@ export interface components {
|
|
|
9357
10512
|
* @description Request body for `PUT /api/v1/orgs/{org}/projects/{project}/flags/{flag}/removal-pr`: the
|
|
9358
10513
|
* pull request that removes this flag from code, as opened by the Featureflip Flag Cleanup Action.
|
|
9359
10514
|
* A dedicated sub-resource for the same reason as expiry and owner. `url` must be an https
|
|
9360
|
-
* pull request URL (`https://{host}/{owner}/{repo}/pull/{number}
|
|
10515
|
+
* pull or merge request URL (`https://{host}/{owner}/{repo}/pull/{number}`, a GitLab
|
|
10516
|
+
* `https://{host}/{group}/{project}/-/merge_requests/{number}` or a Bitbucket Cloud
|
|
10517
|
+
* `https://{host}/{workspace}/{repo}/pull-requests/{number}`).
|
|
9361
10518
|
*/
|
|
9362
10519
|
PublicSetFlagRemovalPrRequest: {
|
|
9363
10520
|
url?: string | null;
|
|
@@ -9375,6 +10532,25 @@ export interface components {
|
|
|
9375
10532
|
bucketBy?: string | null;
|
|
9376
10533
|
conditionGroups: components["schemas"]["PublicConditionGroupResponse"][];
|
|
9377
10534
|
};
|
|
10535
|
+
/**
|
|
10536
|
+
* @description Request body for `POST …/default-rule/ramp`. VariationId (and optionally
|
|
10537
|
+
* BucketBy) set the rollout up when the default rule has none; with one configured they may be
|
|
10538
|
+
* omitted, or must match it. A ladder ending at 100% finalises: the variation becomes the default variation.
|
|
10539
|
+
*/
|
|
10540
|
+
PublicStartDefaultRuleRolloutRampRequest: {
|
|
10541
|
+
steps: components["schemas"]["PublicRampStep"][];
|
|
10542
|
+
/** Format: uuid */
|
|
10543
|
+
variationId?: string | null;
|
|
10544
|
+
bucketBy?: string | null;
|
|
10545
|
+
};
|
|
10546
|
+
/**
|
|
10547
|
+
* @description Request body for `POST …/rules/{ruleId}/ramp`. Between 1 and 20 steps, each percentage above the last and
|
|
10548
|
+
* the first not below the rule's current rollout; every hold but the last is 5 minutes to 30 days. Elements are
|
|
10549
|
+
* nullable so a null step is a field error, not a 500.
|
|
10550
|
+
*/
|
|
10551
|
+
PublicStartRolloutRampRequest: {
|
|
10552
|
+
steps: components["schemas"]["PublicRampStep"][];
|
|
10553
|
+
};
|
|
9378
10554
|
/**
|
|
9379
10555
|
* @description The full targeting configuration for a flag in a single environment, returned by
|
|
9380
10556
|
* `GET .../targeting`. Maps 1:1 onto TargetingConfigurationDto — including
|