@oore/client 0.16.0 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/@tanstack/react-query.gen.d.ts +165 -1
- package/dist/generated/@tanstack/react-query.gen.js +187 -1
- package/dist/generated/msw.gen.d.ts +117 -1
- package/dist/generated/msw.gen.js +184 -0
- package/dist/generated/sdk.gen.d.ts +52 -1
- package/dist/generated/sdk.gen.js +111 -0
- package/dist/generated/types.gen.d.ts +455 -0
- package/dist/generated/valibot/v-approve-promotion-body.d.ts +4 -0
- package/dist/generated/valibot/v-approve-promotion-body.js +4 -0
- package/dist/generated/valibot/v-approve-promotion-path.d.ts +5 -0
- package/dist/generated/valibot/v-approve-promotion-path.js +6 -0
- package/dist/generated/valibot/v-approve-promotion-response.d.ts +25 -0
- package/dist/generated/valibot/v-approve-promotion-response.js +3 -0
- package/dist/generated/valibot/v-approve-release-response.d.ts +3 -0
- package/dist/generated/valibot/v-artifact-size-comparison.d.ts +10 -0
- package/dist/generated/valibot/v-artifact-size-comparison.js +24 -0
- package/dist/generated/valibot/v-build-size-baseline.d.ts +6 -0
- package/dist/generated/valibot/v-build-size-baseline.js +11 -0
- package/dist/generated/valibot/v-build-size-report.d.ts +18 -0
- package/dist/generated/valibot/v-build-size-report.js +9 -0
- package/dist/generated/valibot/v-complete-release-response.d.ts +3 -0
- package/dist/generated/valibot/v-create-project-environment-body.d.ts +14 -0
- package/dist/generated/valibot/v-create-project-environment-body.js +3 -0
- package/dist/generated/valibot/v-create-project-environment-path.d.ts +4 -0
- package/dist/generated/valibot/v-create-project-environment-path.js +5 -0
- package/dist/generated/valibot/v-create-project-environment-request.d.ts +14 -0
- package/dist/generated/valibot/v-create-project-environment-request.js +12 -0
- package/dist/generated/valibot/v-create-project-environment-response.d.ts +56 -0
- package/dist/generated/valibot/v-create-project-environment-response.js +3 -0
- package/dist/generated/valibot/v-create-promotion-request.d.ts +6 -0
- package/dist/generated/valibot/v-create-promotion-request.js +7 -0
- package/dist/generated/valibot/v-create-release-response.d.ts +3 -0
- package/dist/generated/valibot/v-delete-project-environment-path.d.ts +5 -0
- package/dist/generated/valibot/v-delete-project-environment-path.js +6 -0
- package/dist/generated/valibot/v-delete-project-environment-response.d.ts +4 -0
- package/dist/generated/valibot/v-delete-project-environment-response.js +3 -0
- package/dist/generated/valibot/v-environment-promotion.d.ts +25 -0
- package/dist/generated/valibot/v-environment-promotion.js +47 -0
- package/dist/generated/valibot/v-get-build-size-report-path.d.ts +4 -0
- package/dist/generated/valibot/v-get-build-size-report-path.js +5 -0
- package/dist/generated/valibot/v-get-build-size-report-response.d.ts +18 -0
- package/dist/generated/valibot/v-get-build-size-report-response.js +3 -0
- package/dist/generated/valibot/v-get-release-response.d.ts +3 -0
- package/dist/generated/valibot/v-halt-release-response.d.ts +3 -0
- package/dist/generated/valibot/v-list-project-environments-path.d.ts +4 -0
- package/dist/generated/valibot/v-list-project-environments-path.js +5 -0
- package/dist/generated/valibot/v-list-project-environments-response.d.ts +82 -0
- package/dist/generated/valibot/v-list-project-environments-response.js +8 -0
- package/dist/generated/valibot/v-list-project-environments-response2.d.ts +82 -0
- package/dist/generated/valibot/v-list-project-environments-response2.js +3 -0
- package/dist/generated/valibot/v-list-releases-response.d.ts +3 -0
- package/dist/generated/valibot/v-list-releases-response2.d.ts +3 -0
- package/dist/generated/valibot/v-pause-release-response.d.ts +3 -0
- package/dist/generated/valibot/v-project-environment.d.ts +56 -0
- package/dist/generated/valibot/v-project-environment.js +32 -0
- package/dist/generated/valibot/v-promote-build-body.d.ts +6 -0
- package/dist/generated/valibot/v-promote-build-body.js +3 -0
- package/dist/generated/valibot/v-promote-build-path.d.ts +4 -0
- package/dist/generated/valibot/v-promote-build-path.js +5 -0
- package/dist/generated/valibot/v-promote-build-response.d.ts +25 -0
- package/dist/generated/valibot/v-promote-build-response.js +3 -0
- package/dist/generated/valibot/v-promotion-decision-request.d.ts +4 -0
- package/dist/generated/valibot/v-promotion-decision-request.js +5 -0
- package/dist/generated/valibot/v-promotion-state.d.ts +2 -0
- package/dist/generated/valibot/v-promotion-state.js +9 -0
- package/dist/generated/valibot/v-raise-release-response.d.ts +3 -0
- package/dist/generated/valibot/v-reject-promotion-body.d.ts +4 -0
- package/dist/generated/valibot/v-reject-promotion-body.js +4 -0
- package/dist/generated/valibot/v-reject-promotion-path.d.ts +5 -0
- package/dist/generated/valibot/v-reject-promotion-path.js +6 -0
- package/dist/generated/valibot/v-reject-promotion-response.d.ts +25 -0
- package/dist/generated/valibot/v-reject-promotion-response.js +3 -0
- package/dist/generated/valibot/v-release-detail-response.d.ts +3 -0
- package/dist/generated/valibot/v-release.d.ts +3 -0
- package/dist/generated/valibot/v-release.js +3 -0
- package/dist/generated/valibot/v-resume-release-response.d.ts +3 -0
- package/dist/generated/valibot/v-update-project-environment-body.d.ts +13 -0
- package/dist/generated/valibot/v-update-project-environment-body.js +3 -0
- package/dist/generated/valibot/v-update-project-environment-path.d.ts +5 -0
- package/dist/generated/valibot/v-update-project-environment-path.js +6 -0
- package/dist/generated/valibot/v-update-project-environment-request.d.ts +13 -0
- package/dist/generated/valibot/v-update-project-environment-request.js +14 -0
- package/dist/generated/valibot/v-update-project-environment-response.d.ts +56 -0
- package/dist/generated/valibot/v-update-project-environment-response.js +3 -0
- package/dist/msw.d.ts +2 -2
- package/dist/msw.js +1 -1
- package/dist/react-query.d.ts +1 -1
- package/dist/react-query.js +1 -1
- package/dist/valibot.d.ts +32 -0
- package/dist/valibot.js +32 -0
- package/openapi/openapi.json +1254 -142
- package/package.json +1 -1
package/openapi/openapi.json
CHANGED
|
@@ -2926,6 +2926,54 @@
|
|
|
2926
2926
|
]
|
|
2927
2927
|
}
|
|
2928
2928
|
},
|
|
2929
|
+
"/v1/builds/{build_id}/sizes": {
|
|
2930
|
+
"get": {
|
|
2931
|
+
"tags": [
|
|
2932
|
+
"Artifacts"
|
|
2933
|
+
],
|
|
2934
|
+
"summary": "Get build artifact sizes",
|
|
2935
|
+
"description": "Returns the size of each artifact the build published and its change\nfrom the latest earlier successful build of the same pipeline on the\nbase branch: a pull request's target branch, otherwise the project's\ndefault branch.",
|
|
2936
|
+
"operationId": "get_build_size_report",
|
|
2937
|
+
"parameters": [
|
|
2938
|
+
{
|
|
2939
|
+
"name": "build_id",
|
|
2940
|
+
"in": "path",
|
|
2941
|
+
"description": "Build ID",
|
|
2942
|
+
"required": true,
|
|
2943
|
+
"schema": {
|
|
2944
|
+
"type": "string"
|
|
2945
|
+
}
|
|
2946
|
+
}
|
|
2947
|
+
],
|
|
2948
|
+
"responses": {
|
|
2949
|
+
"200": {
|
|
2950
|
+
"description": "Artifact sizes and changes",
|
|
2951
|
+
"content": {
|
|
2952
|
+
"application/json": {
|
|
2953
|
+
"schema": {
|
|
2954
|
+
"$ref": "#/components/schemas/BuildSizeReport"
|
|
2955
|
+
}
|
|
2956
|
+
}
|
|
2957
|
+
}
|
|
2958
|
+
},
|
|
2959
|
+
"404": {
|
|
2960
|
+
"description": "Build not found",
|
|
2961
|
+
"content": {
|
|
2962
|
+
"application/json": {
|
|
2963
|
+
"schema": {
|
|
2964
|
+
"$ref": "#/components/schemas/ApiError"
|
|
2965
|
+
}
|
|
2966
|
+
}
|
|
2967
|
+
}
|
|
2968
|
+
}
|
|
2969
|
+
},
|
|
2970
|
+
"security": [
|
|
2971
|
+
{
|
|
2972
|
+
"bearer_auth": []
|
|
2973
|
+
}
|
|
2974
|
+
]
|
|
2975
|
+
}
|
|
2976
|
+
},
|
|
2929
2977
|
"/v1/builds/{build_id}/stream-token": {
|
|
2930
2978
|
"post": {
|
|
2931
2979
|
"tags": [
|
|
@@ -6125,13 +6173,14 @@
|
|
|
6125
6173
|
]
|
|
6126
6174
|
}
|
|
6127
6175
|
},
|
|
6128
|
-
"/v1/projects/{project_id}/
|
|
6176
|
+
"/v1/projects/{project_id}/environments": {
|
|
6129
6177
|
"get": {
|
|
6130
6178
|
"tags": [
|
|
6131
|
-
"
|
|
6179
|
+
"Environments"
|
|
6132
6180
|
],
|
|
6133
|
-
"summary": "List project
|
|
6134
|
-
"
|
|
6181
|
+
"summary": "List project environments",
|
|
6182
|
+
"description": "Environments in promotion order, each with its newest release, plus pending promotions and the most recent decided ones.",
|
|
6183
|
+
"operationId": "list_project_environments",
|
|
6135
6184
|
"parameters": [
|
|
6136
6185
|
{
|
|
6137
6186
|
"name": "project_id",
|
|
@@ -6145,11 +6194,11 @@
|
|
|
6145
6194
|
],
|
|
6146
6195
|
"responses": {
|
|
6147
6196
|
"200": {
|
|
6148
|
-
"description": "
|
|
6197
|
+
"description": "Environments and promotions",
|
|
6149
6198
|
"content": {
|
|
6150
6199
|
"application/json": {
|
|
6151
6200
|
"schema": {
|
|
6152
|
-
"$ref": "#/components/schemas/
|
|
6201
|
+
"$ref": "#/components/schemas/ListProjectEnvironmentsResponse"
|
|
6153
6202
|
}
|
|
6154
6203
|
}
|
|
6155
6204
|
}
|
|
@@ -6173,10 +6222,11 @@
|
|
|
6173
6222
|
},
|
|
6174
6223
|
"post": {
|
|
6175
6224
|
"tags": [
|
|
6176
|
-
"
|
|
6225
|
+
"Environments"
|
|
6177
6226
|
],
|
|
6178
|
-
"summary": "
|
|
6179
|
-
"
|
|
6227
|
+
"summary": "Create environment",
|
|
6228
|
+
"description": "Adds an environment at the end of the promotion path. Requires the project maintainer role. A release recorded on the environment's store and track belongs to it.",
|
|
6229
|
+
"operationId": "create_project_environment",
|
|
6180
6230
|
"parameters": [
|
|
6181
6231
|
{
|
|
6182
6232
|
"name": "project_id",
|
|
@@ -6192,25 +6242,35 @@
|
|
|
6192
6242
|
"content": {
|
|
6193
6243
|
"application/json": {
|
|
6194
6244
|
"schema": {
|
|
6195
|
-
"$ref": "#/components/schemas/
|
|
6245
|
+
"$ref": "#/components/schemas/CreateProjectEnvironmentRequest"
|
|
6196
6246
|
}
|
|
6197
6247
|
}
|
|
6198
6248
|
},
|
|
6199
6249
|
"required": true
|
|
6200
6250
|
},
|
|
6201
6251
|
"responses": {
|
|
6202
|
-
"
|
|
6203
|
-
"description": "
|
|
6252
|
+
"200": {
|
|
6253
|
+
"description": "Created environment",
|
|
6204
6254
|
"content": {
|
|
6205
6255
|
"application/json": {
|
|
6206
6256
|
"schema": {
|
|
6207
|
-
"$ref": "#/components/schemas/
|
|
6257
|
+
"$ref": "#/components/schemas/ProjectEnvironment"
|
|
6208
6258
|
}
|
|
6209
6259
|
}
|
|
6210
6260
|
}
|
|
6211
6261
|
},
|
|
6212
6262
|
"400": {
|
|
6213
|
-
"description": "Invalid
|
|
6263
|
+
"description": "Invalid input",
|
|
6264
|
+
"content": {
|
|
6265
|
+
"application/json": {
|
|
6266
|
+
"schema": {
|
|
6267
|
+
"$ref": "#/components/schemas/ApiError"
|
|
6268
|
+
}
|
|
6269
|
+
}
|
|
6270
|
+
}
|
|
6271
|
+
},
|
|
6272
|
+
"403": {
|
|
6273
|
+
"description": "Permission denied",
|
|
6214
6274
|
"content": {
|
|
6215
6275
|
"application/json": {
|
|
6216
6276
|
"schema": {
|
|
@@ -6230,7 +6290,7 @@
|
|
|
6230
6290
|
}
|
|
6231
6291
|
},
|
|
6232
6292
|
"409": {
|
|
6233
|
-
"description": "
|
|
6293
|
+
"description": "Key, or store and track, already used",
|
|
6234
6294
|
"content": {
|
|
6235
6295
|
"application/json": {
|
|
6236
6296
|
"schema": {
|
|
@@ -6247,13 +6307,14 @@
|
|
|
6247
6307
|
]
|
|
6248
6308
|
}
|
|
6249
6309
|
},
|
|
6250
|
-
"/v1/projects/{project_id}/
|
|
6251
|
-
"
|
|
6310
|
+
"/v1/projects/{project_id}/environments/{environment_id}": {
|
|
6311
|
+
"delete": {
|
|
6252
6312
|
"tags": [
|
|
6253
|
-
"
|
|
6313
|
+
"Environments"
|
|
6254
6314
|
],
|
|
6255
|
-
"summary": "
|
|
6256
|
-
"
|
|
6315
|
+
"summary": "Delete environment",
|
|
6316
|
+
"description": "Its releases stay without an environment; its promotions are removed. Requires the project maintainer role.",
|
|
6317
|
+
"operationId": "delete_project_environment",
|
|
6257
6318
|
"parameters": [
|
|
6258
6319
|
{
|
|
6259
6320
|
"name": "project_id",
|
|
@@ -6263,21 +6324,30 @@
|
|
|
6263
6324
|
"schema": {
|
|
6264
6325
|
"type": "string"
|
|
6265
6326
|
}
|
|
6327
|
+
},
|
|
6328
|
+
{
|
|
6329
|
+
"name": "environment_id",
|
|
6330
|
+
"in": "path",
|
|
6331
|
+
"description": "Environment ID",
|
|
6332
|
+
"required": true,
|
|
6333
|
+
"schema": {
|
|
6334
|
+
"type": "string"
|
|
6335
|
+
}
|
|
6266
6336
|
}
|
|
6267
6337
|
],
|
|
6268
6338
|
"responses": {
|
|
6269
6339
|
"200": {
|
|
6270
|
-
"description": "
|
|
6340
|
+
"description": "Deleted",
|
|
6271
6341
|
"content": {
|
|
6272
6342
|
"application/json": {
|
|
6273
6343
|
"schema": {
|
|
6274
|
-
"$ref": "#/components/schemas/
|
|
6344
|
+
"$ref": "#/components/schemas/OkResponse"
|
|
6275
6345
|
}
|
|
6276
6346
|
}
|
|
6277
6347
|
}
|
|
6278
6348
|
},
|
|
6279
6349
|
"403": {
|
|
6280
|
-
"description": "
|
|
6350
|
+
"description": "Permission denied",
|
|
6281
6351
|
"content": {
|
|
6282
6352
|
"application/json": {
|
|
6283
6353
|
"schema": {
|
|
@@ -6287,7 +6357,17 @@
|
|
|
6287
6357
|
}
|
|
6288
6358
|
},
|
|
6289
6359
|
"404": {
|
|
6290
|
-
"description": "
|
|
6360
|
+
"description": "Not found",
|
|
6361
|
+
"content": {
|
|
6362
|
+
"application/json": {
|
|
6363
|
+
"schema": {
|
|
6364
|
+
"$ref": "#/components/schemas/ApiError"
|
|
6365
|
+
}
|
|
6366
|
+
}
|
|
6367
|
+
}
|
|
6368
|
+
},
|
|
6369
|
+
"409": {
|
|
6370
|
+
"description": "A promotion is in progress",
|
|
6291
6371
|
"content": {
|
|
6292
6372
|
"application/json": {
|
|
6293
6373
|
"schema": {
|
|
@@ -6302,15 +6382,14 @@
|
|
|
6302
6382
|
"bearer_auth": []
|
|
6303
6383
|
}
|
|
6304
6384
|
]
|
|
6305
|
-
}
|
|
6306
|
-
|
|
6307
|
-
"/v1/projects/{project_id}/members/{user_id}": {
|
|
6308
|
-
"delete": {
|
|
6385
|
+
},
|
|
6386
|
+
"patch": {
|
|
6309
6387
|
"tags": [
|
|
6310
|
-
"
|
|
6388
|
+
"Environments"
|
|
6311
6389
|
],
|
|
6312
|
-
"summary": "
|
|
6313
|
-
"
|
|
6390
|
+
"summary": "Update environment",
|
|
6391
|
+
"description": "Changes the name, track, approval rule, rollout policy or position. Requires the project maintainer role.",
|
|
6392
|
+
"operationId": "update_project_environment",
|
|
6314
6393
|
"parameters": [
|
|
6315
6394
|
{
|
|
6316
6395
|
"name": "project_id",
|
|
@@ -6322,28 +6401,68 @@
|
|
|
6322
6401
|
}
|
|
6323
6402
|
},
|
|
6324
6403
|
{
|
|
6325
|
-
"name": "
|
|
6404
|
+
"name": "environment_id",
|
|
6326
6405
|
"in": "path",
|
|
6327
|
-
"description": "
|
|
6406
|
+
"description": "Environment ID",
|
|
6328
6407
|
"required": true,
|
|
6329
6408
|
"schema": {
|
|
6330
6409
|
"type": "string"
|
|
6331
6410
|
}
|
|
6332
6411
|
}
|
|
6333
6412
|
],
|
|
6413
|
+
"requestBody": {
|
|
6414
|
+
"content": {
|
|
6415
|
+
"application/json": {
|
|
6416
|
+
"schema": {
|
|
6417
|
+
"$ref": "#/components/schemas/UpdateProjectEnvironmentRequest"
|
|
6418
|
+
}
|
|
6419
|
+
}
|
|
6420
|
+
},
|
|
6421
|
+
"required": true
|
|
6422
|
+
},
|
|
6334
6423
|
"responses": {
|
|
6335
6424
|
"200": {
|
|
6336
|
-
"description": "
|
|
6425
|
+
"description": "Updated environment",
|
|
6337
6426
|
"content": {
|
|
6338
6427
|
"application/json": {
|
|
6339
6428
|
"schema": {
|
|
6340
|
-
"$ref": "#/components/schemas/
|
|
6429
|
+
"$ref": "#/components/schemas/ProjectEnvironment"
|
|
6430
|
+
}
|
|
6431
|
+
}
|
|
6432
|
+
}
|
|
6433
|
+
},
|
|
6434
|
+
"400": {
|
|
6435
|
+
"description": "Invalid input",
|
|
6436
|
+
"content": {
|
|
6437
|
+
"application/json": {
|
|
6438
|
+
"schema": {
|
|
6439
|
+
"$ref": "#/components/schemas/ApiError"
|
|
6440
|
+
}
|
|
6441
|
+
}
|
|
6442
|
+
}
|
|
6443
|
+
},
|
|
6444
|
+
"403": {
|
|
6445
|
+
"description": "Permission denied",
|
|
6446
|
+
"content": {
|
|
6447
|
+
"application/json": {
|
|
6448
|
+
"schema": {
|
|
6449
|
+
"$ref": "#/components/schemas/ApiError"
|
|
6341
6450
|
}
|
|
6342
6451
|
}
|
|
6343
6452
|
}
|
|
6344
6453
|
},
|
|
6345
6454
|
"404": {
|
|
6346
|
-
"description": "
|
|
6455
|
+
"description": "Not found",
|
|
6456
|
+
"content": {
|
|
6457
|
+
"application/json": {
|
|
6458
|
+
"schema": {
|
|
6459
|
+
"$ref": "#/components/schemas/ApiError"
|
|
6460
|
+
}
|
|
6461
|
+
}
|
|
6462
|
+
}
|
|
6463
|
+
},
|
|
6464
|
+
"409": {
|
|
6465
|
+
"description": "Store and track already used",
|
|
6347
6466
|
"content": {
|
|
6348
6467
|
"application/json": {
|
|
6349
6468
|
"schema": {
|
|
@@ -6358,13 +6477,15 @@
|
|
|
6358
6477
|
"bearer_auth": []
|
|
6359
6478
|
}
|
|
6360
6479
|
]
|
|
6361
|
-
}
|
|
6362
|
-
|
|
6480
|
+
}
|
|
6481
|
+
},
|
|
6482
|
+
"/v1/projects/{project_id}/members": {
|
|
6483
|
+
"get": {
|
|
6363
6484
|
"tags": [
|
|
6364
6485
|
"Project Members"
|
|
6365
6486
|
],
|
|
6366
|
-
"summary": "
|
|
6367
|
-
"operationId": "
|
|
6487
|
+
"summary": "List project members",
|
|
6488
|
+
"operationId": "list_project_members",
|
|
6368
6489
|
"parameters": [
|
|
6369
6490
|
{
|
|
6370
6491
|
"name": "project_id",
|
|
@@ -6374,11 +6495,47 @@
|
|
|
6374
6495
|
"schema": {
|
|
6375
6496
|
"type": "string"
|
|
6376
6497
|
}
|
|
6498
|
+
}
|
|
6499
|
+
],
|
|
6500
|
+
"responses": {
|
|
6501
|
+
"200": {
|
|
6502
|
+
"description": "Member list",
|
|
6503
|
+
"content": {
|
|
6504
|
+
"application/json": {
|
|
6505
|
+
"schema": {
|
|
6506
|
+
"$ref": "#/components/schemas/ListProjectMembersResponse"
|
|
6507
|
+
}
|
|
6508
|
+
}
|
|
6509
|
+
}
|
|
6377
6510
|
},
|
|
6511
|
+
"404": {
|
|
6512
|
+
"description": "Project not found",
|
|
6513
|
+
"content": {
|
|
6514
|
+
"application/json": {
|
|
6515
|
+
"schema": {
|
|
6516
|
+
"$ref": "#/components/schemas/ApiError"
|
|
6517
|
+
}
|
|
6518
|
+
}
|
|
6519
|
+
}
|
|
6520
|
+
}
|
|
6521
|
+
},
|
|
6522
|
+
"security": [
|
|
6378
6523
|
{
|
|
6379
|
-
"
|
|
6524
|
+
"bearer_auth": []
|
|
6525
|
+
}
|
|
6526
|
+
]
|
|
6527
|
+
},
|
|
6528
|
+
"post": {
|
|
6529
|
+
"tags": [
|
|
6530
|
+
"Project Members"
|
|
6531
|
+
],
|
|
6532
|
+
"summary": "Add a member to a project",
|
|
6533
|
+
"operationId": "add_project_member",
|
|
6534
|
+
"parameters": [
|
|
6535
|
+
{
|
|
6536
|
+
"name": "project_id",
|
|
6380
6537
|
"in": "path",
|
|
6381
|
-
"description": "
|
|
6538
|
+
"description": "Project ID",
|
|
6382
6539
|
"required": true,
|
|
6383
6540
|
"schema": {
|
|
6384
6541
|
"type": "string"
|
|
@@ -6389,25 +6546,563 @@
|
|
|
6389
6546
|
"content": {
|
|
6390
6547
|
"application/json": {
|
|
6391
6548
|
"schema": {
|
|
6392
|
-
"$ref": "#/components/schemas/
|
|
6549
|
+
"$ref": "#/components/schemas/AddProjectMemberRequest"
|
|
6550
|
+
}
|
|
6551
|
+
}
|
|
6552
|
+
},
|
|
6553
|
+
"required": true
|
|
6554
|
+
},
|
|
6555
|
+
"responses": {
|
|
6556
|
+
"201": {
|
|
6557
|
+
"description": "Member added",
|
|
6558
|
+
"content": {
|
|
6559
|
+
"application/json": {
|
|
6560
|
+
"schema": {
|
|
6561
|
+
"$ref": "#/components/schemas/AddProjectMemberResponse"
|
|
6562
|
+
}
|
|
6563
|
+
}
|
|
6564
|
+
}
|
|
6565
|
+
},
|
|
6566
|
+
"400": {
|
|
6567
|
+
"description": "Invalid user or user already has implicit access",
|
|
6568
|
+
"content": {
|
|
6569
|
+
"application/json": {
|
|
6570
|
+
"schema": {
|
|
6571
|
+
"$ref": "#/components/schemas/ApiError"
|
|
6572
|
+
}
|
|
6573
|
+
}
|
|
6574
|
+
}
|
|
6575
|
+
},
|
|
6576
|
+
"404": {
|
|
6577
|
+
"description": "Project not found",
|
|
6578
|
+
"content": {
|
|
6579
|
+
"application/json": {
|
|
6580
|
+
"schema": {
|
|
6581
|
+
"$ref": "#/components/schemas/ApiError"
|
|
6582
|
+
}
|
|
6583
|
+
}
|
|
6584
|
+
}
|
|
6585
|
+
},
|
|
6586
|
+
"409": {
|
|
6587
|
+
"description": "User is already a member",
|
|
6588
|
+
"content": {
|
|
6589
|
+
"application/json": {
|
|
6590
|
+
"schema": {
|
|
6591
|
+
"$ref": "#/components/schemas/ApiError"
|
|
6592
|
+
}
|
|
6593
|
+
}
|
|
6594
|
+
}
|
|
6595
|
+
}
|
|
6596
|
+
},
|
|
6597
|
+
"security": [
|
|
6598
|
+
{
|
|
6599
|
+
"bearer_auth": []
|
|
6600
|
+
}
|
|
6601
|
+
]
|
|
6602
|
+
}
|
|
6603
|
+
},
|
|
6604
|
+
"/v1/projects/{project_id}/members/candidates": {
|
|
6605
|
+
"get": {
|
|
6606
|
+
"tags": [
|
|
6607
|
+
"Project Members"
|
|
6608
|
+
],
|
|
6609
|
+
"summary": "List eligible project member candidates",
|
|
6610
|
+
"operationId": "list_project_member_candidates",
|
|
6611
|
+
"parameters": [
|
|
6612
|
+
{
|
|
6613
|
+
"name": "project_id",
|
|
6614
|
+
"in": "path",
|
|
6615
|
+
"description": "Project ID",
|
|
6616
|
+
"required": true,
|
|
6617
|
+
"schema": {
|
|
6618
|
+
"type": "string"
|
|
6619
|
+
}
|
|
6620
|
+
}
|
|
6621
|
+
],
|
|
6622
|
+
"responses": {
|
|
6623
|
+
"200": {
|
|
6624
|
+
"description": "Eligible member candidates",
|
|
6625
|
+
"content": {
|
|
6626
|
+
"application/json": {
|
|
6627
|
+
"schema": {
|
|
6628
|
+
"$ref": "#/components/schemas/ListProjectMemberCandidatesResponse"
|
|
6629
|
+
}
|
|
6630
|
+
}
|
|
6631
|
+
}
|
|
6632
|
+
},
|
|
6633
|
+
"403": {
|
|
6634
|
+
"description": "Manage Members permission required",
|
|
6635
|
+
"content": {
|
|
6636
|
+
"application/json": {
|
|
6637
|
+
"schema": {
|
|
6638
|
+
"$ref": "#/components/schemas/ApiError"
|
|
6639
|
+
}
|
|
6640
|
+
}
|
|
6641
|
+
}
|
|
6642
|
+
},
|
|
6643
|
+
"404": {
|
|
6644
|
+
"description": "Project not found",
|
|
6645
|
+
"content": {
|
|
6646
|
+
"application/json": {
|
|
6647
|
+
"schema": {
|
|
6648
|
+
"$ref": "#/components/schemas/ApiError"
|
|
6649
|
+
}
|
|
6650
|
+
}
|
|
6651
|
+
}
|
|
6652
|
+
}
|
|
6653
|
+
},
|
|
6654
|
+
"security": [
|
|
6655
|
+
{
|
|
6656
|
+
"bearer_auth": []
|
|
6657
|
+
}
|
|
6658
|
+
]
|
|
6659
|
+
}
|
|
6660
|
+
},
|
|
6661
|
+
"/v1/projects/{project_id}/members/{user_id}": {
|
|
6662
|
+
"delete": {
|
|
6663
|
+
"tags": [
|
|
6664
|
+
"Project Members"
|
|
6665
|
+
],
|
|
6666
|
+
"summary": "Remove a member from a project",
|
|
6667
|
+
"operationId": "remove_project_member",
|
|
6668
|
+
"parameters": [
|
|
6669
|
+
{
|
|
6670
|
+
"name": "project_id",
|
|
6671
|
+
"in": "path",
|
|
6672
|
+
"description": "Project ID",
|
|
6673
|
+
"required": true,
|
|
6674
|
+
"schema": {
|
|
6675
|
+
"type": "string"
|
|
6676
|
+
}
|
|
6677
|
+
},
|
|
6678
|
+
{
|
|
6679
|
+
"name": "user_id",
|
|
6680
|
+
"in": "path",
|
|
6681
|
+
"description": "User ID",
|
|
6682
|
+
"required": true,
|
|
6683
|
+
"schema": {
|
|
6684
|
+
"type": "string"
|
|
6685
|
+
}
|
|
6686
|
+
}
|
|
6687
|
+
],
|
|
6688
|
+
"responses": {
|
|
6689
|
+
"200": {
|
|
6690
|
+
"description": "Member removed",
|
|
6691
|
+
"content": {
|
|
6692
|
+
"application/json": {
|
|
6693
|
+
"schema": {
|
|
6694
|
+
"$ref": "#/components/schemas/RemoveProjectMemberResponse"
|
|
6695
|
+
}
|
|
6696
|
+
}
|
|
6697
|
+
}
|
|
6698
|
+
},
|
|
6699
|
+
"404": {
|
|
6700
|
+
"description": "Project or member not found",
|
|
6701
|
+
"content": {
|
|
6702
|
+
"application/json": {
|
|
6703
|
+
"schema": {
|
|
6704
|
+
"$ref": "#/components/schemas/ApiError"
|
|
6705
|
+
}
|
|
6706
|
+
}
|
|
6707
|
+
}
|
|
6708
|
+
}
|
|
6709
|
+
},
|
|
6710
|
+
"security": [
|
|
6711
|
+
{
|
|
6712
|
+
"bearer_auth": []
|
|
6713
|
+
}
|
|
6714
|
+
]
|
|
6715
|
+
},
|
|
6716
|
+
"patch": {
|
|
6717
|
+
"tags": [
|
|
6718
|
+
"Project Members"
|
|
6719
|
+
],
|
|
6720
|
+
"summary": "Update a project member's role",
|
|
6721
|
+
"operationId": "update_project_member",
|
|
6722
|
+
"parameters": [
|
|
6723
|
+
{
|
|
6724
|
+
"name": "project_id",
|
|
6725
|
+
"in": "path",
|
|
6726
|
+
"description": "Project ID",
|
|
6727
|
+
"required": true,
|
|
6728
|
+
"schema": {
|
|
6729
|
+
"type": "string"
|
|
6730
|
+
}
|
|
6731
|
+
},
|
|
6732
|
+
{
|
|
6733
|
+
"name": "user_id",
|
|
6734
|
+
"in": "path",
|
|
6735
|
+
"description": "User ID",
|
|
6736
|
+
"required": true,
|
|
6737
|
+
"schema": {
|
|
6738
|
+
"type": "string"
|
|
6739
|
+
}
|
|
6740
|
+
}
|
|
6741
|
+
],
|
|
6742
|
+
"requestBody": {
|
|
6743
|
+
"content": {
|
|
6744
|
+
"application/json": {
|
|
6745
|
+
"schema": {
|
|
6746
|
+
"$ref": "#/components/schemas/UpdateProjectMemberRequest"
|
|
6747
|
+
}
|
|
6748
|
+
}
|
|
6749
|
+
},
|
|
6750
|
+
"required": true
|
|
6751
|
+
},
|
|
6752
|
+
"responses": {
|
|
6753
|
+
"200": {
|
|
6754
|
+
"description": "Member role updated",
|
|
6755
|
+
"content": {
|
|
6756
|
+
"application/json": {
|
|
6757
|
+
"schema": {
|
|
6758
|
+
"$ref": "#/components/schemas/UpdateProjectMemberResponse"
|
|
6759
|
+
}
|
|
6760
|
+
}
|
|
6761
|
+
}
|
|
6762
|
+
},
|
|
6763
|
+
"404": {
|
|
6764
|
+
"description": "Project or member not found",
|
|
6765
|
+
"content": {
|
|
6766
|
+
"application/json": {
|
|
6767
|
+
"schema": {
|
|
6768
|
+
"$ref": "#/components/schemas/ApiError"
|
|
6769
|
+
}
|
|
6770
|
+
}
|
|
6771
|
+
}
|
|
6772
|
+
}
|
|
6773
|
+
},
|
|
6774
|
+
"security": [
|
|
6775
|
+
{
|
|
6776
|
+
"bearer_auth": []
|
|
6777
|
+
}
|
|
6778
|
+
]
|
|
6779
|
+
}
|
|
6780
|
+
},
|
|
6781
|
+
"/v1/projects/{project_id}/pipelines": {
|
|
6782
|
+
"get": {
|
|
6783
|
+
"tags": [
|
|
6784
|
+
"Pipelines"
|
|
6785
|
+
],
|
|
6786
|
+
"summary": "List pipelines",
|
|
6787
|
+
"operationId": "list_pipelines",
|
|
6788
|
+
"parameters": [
|
|
6789
|
+
{
|
|
6790
|
+
"name": "project_id",
|
|
6791
|
+
"in": "path",
|
|
6792
|
+
"description": "Project ID",
|
|
6793
|
+
"required": true,
|
|
6794
|
+
"schema": {
|
|
6795
|
+
"type": "string"
|
|
6796
|
+
}
|
|
6797
|
+
},
|
|
6798
|
+
{
|
|
6799
|
+
"name": "search",
|
|
6800
|
+
"in": "query",
|
|
6801
|
+
"description": "Case-insensitive pipeline name search",
|
|
6802
|
+
"required": false,
|
|
6803
|
+
"schema": {
|
|
6804
|
+
"type": "string"
|
|
6805
|
+
}
|
|
6806
|
+
},
|
|
6807
|
+
{
|
|
6808
|
+
"name": "sort",
|
|
6809
|
+
"in": "query",
|
|
6810
|
+
"description": "Sort by created_at or name",
|
|
6811
|
+
"required": false,
|
|
6812
|
+
"schema": {
|
|
6813
|
+
"type": "string"
|
|
6814
|
+
}
|
|
6815
|
+
},
|
|
6816
|
+
{
|
|
6817
|
+
"name": "direction",
|
|
6818
|
+
"in": "query",
|
|
6819
|
+
"description": "Sort direction: asc or desc",
|
|
6820
|
+
"required": false,
|
|
6821
|
+
"schema": {
|
|
6822
|
+
"type": "string"
|
|
6823
|
+
}
|
|
6824
|
+
},
|
|
6825
|
+
{
|
|
6826
|
+
"name": "limit",
|
|
6827
|
+
"in": "query",
|
|
6828
|
+
"description": "Page size",
|
|
6829
|
+
"required": false,
|
|
6830
|
+
"schema": {
|
|
6831
|
+
"type": "integer",
|
|
6832
|
+
"format": "int64"
|
|
6833
|
+
}
|
|
6834
|
+
},
|
|
6835
|
+
{
|
|
6836
|
+
"name": "offset",
|
|
6837
|
+
"in": "query",
|
|
6838
|
+
"description": "Page offset",
|
|
6839
|
+
"required": false,
|
|
6840
|
+
"schema": {
|
|
6841
|
+
"type": "integer",
|
|
6842
|
+
"format": "int64"
|
|
6843
|
+
}
|
|
6844
|
+
}
|
|
6845
|
+
],
|
|
6846
|
+
"responses": {
|
|
6847
|
+
"200": {
|
|
6848
|
+
"description": "Pipeline list",
|
|
6849
|
+
"content": {
|
|
6850
|
+
"application/json": {
|
|
6851
|
+
"schema": {
|
|
6852
|
+
"$ref": "#/components/schemas/ListPipelinesResponse"
|
|
6853
|
+
}
|
|
6854
|
+
}
|
|
6855
|
+
}
|
|
6856
|
+
},
|
|
6857
|
+
"400": {
|
|
6858
|
+
"description": "Invalid sort or direction",
|
|
6859
|
+
"content": {
|
|
6860
|
+
"application/json": {
|
|
6861
|
+
"schema": {
|
|
6862
|
+
"$ref": "#/components/schemas/ApiError"
|
|
6863
|
+
}
|
|
6864
|
+
}
|
|
6865
|
+
}
|
|
6866
|
+
}
|
|
6867
|
+
},
|
|
6868
|
+
"security": [
|
|
6869
|
+
{
|
|
6870
|
+
"bearer_auth": []
|
|
6871
|
+
}
|
|
6872
|
+
]
|
|
6873
|
+
},
|
|
6874
|
+
"post": {
|
|
6875
|
+
"tags": [
|
|
6876
|
+
"Pipelines"
|
|
6877
|
+
],
|
|
6878
|
+
"summary": "Create pipeline",
|
|
6879
|
+
"operationId": "create_pipeline",
|
|
6880
|
+
"parameters": [
|
|
6881
|
+
{
|
|
6882
|
+
"name": "project_id",
|
|
6883
|
+
"in": "path",
|
|
6884
|
+
"description": "Project ID",
|
|
6885
|
+
"required": true,
|
|
6886
|
+
"schema": {
|
|
6887
|
+
"type": "string"
|
|
6888
|
+
}
|
|
6889
|
+
}
|
|
6890
|
+
],
|
|
6891
|
+
"requestBody": {
|
|
6892
|
+
"content": {
|
|
6893
|
+
"application/json": {
|
|
6894
|
+
"schema": {
|
|
6895
|
+
"$ref": "#/components/schemas/CreatePipelineRequest"
|
|
6896
|
+
}
|
|
6897
|
+
}
|
|
6898
|
+
},
|
|
6899
|
+
"required": true
|
|
6900
|
+
},
|
|
6901
|
+
"responses": {
|
|
6902
|
+
"201": {
|
|
6903
|
+
"description": "Pipeline created",
|
|
6904
|
+
"content": {
|
|
6905
|
+
"application/json": {
|
|
6906
|
+
"schema": {
|
|
6907
|
+
"$ref": "#/components/schemas/CreatePipelineResponse"
|
|
6908
|
+
}
|
|
6909
|
+
}
|
|
6910
|
+
}
|
|
6911
|
+
},
|
|
6912
|
+
"400": {
|
|
6913
|
+
"description": "Invalid input",
|
|
6914
|
+
"content": {
|
|
6915
|
+
"application/json": {
|
|
6916
|
+
"schema": {
|
|
6917
|
+
"$ref": "#/components/schemas/ApiError"
|
|
6918
|
+
}
|
|
6919
|
+
}
|
|
6920
|
+
}
|
|
6921
|
+
}
|
|
6922
|
+
},
|
|
6923
|
+
"security": [
|
|
6924
|
+
{
|
|
6925
|
+
"bearer_auth": []
|
|
6926
|
+
}
|
|
6927
|
+
]
|
|
6928
|
+
}
|
|
6929
|
+
},
|
|
6930
|
+
"/v1/projects/{project_id}/promotions": {
|
|
6931
|
+
"post": {
|
|
6932
|
+
"tags": [
|
|
6933
|
+
"Environments"
|
|
6934
|
+
],
|
|
6935
|
+
"summary": "Promote build",
|
|
6936
|
+
"description": "Puts the version a build's live Google Play release already uploaded on the environment's track and records a release with the environment's rollout policy. Nothing is rebuilt. Promoting straight in requires the maintainer role; when the environment requires approval, a developer may ask and the promotion waits as `pending` without touching the store. Writes an audit log entry.",
|
|
6937
|
+
"operationId": "promote_build",
|
|
6938
|
+
"parameters": [
|
|
6939
|
+
{
|
|
6940
|
+
"name": "project_id",
|
|
6941
|
+
"in": "path",
|
|
6942
|
+
"description": "Project ID",
|
|
6943
|
+
"required": true,
|
|
6944
|
+
"schema": {
|
|
6945
|
+
"type": "string"
|
|
6946
|
+
}
|
|
6947
|
+
}
|
|
6948
|
+
],
|
|
6949
|
+
"requestBody": {
|
|
6950
|
+
"content": {
|
|
6951
|
+
"application/json": {
|
|
6952
|
+
"schema": {
|
|
6953
|
+
"$ref": "#/components/schemas/CreatePromotionRequest"
|
|
6954
|
+
}
|
|
6955
|
+
}
|
|
6956
|
+
},
|
|
6957
|
+
"required": true
|
|
6958
|
+
},
|
|
6959
|
+
"responses": {
|
|
6960
|
+
"200": {
|
|
6961
|
+
"description": "The promotion, completed or pending",
|
|
6962
|
+
"content": {
|
|
6963
|
+
"application/json": {
|
|
6964
|
+
"schema": {
|
|
6965
|
+
"$ref": "#/components/schemas/EnvironmentPromotion"
|
|
6966
|
+
}
|
|
6967
|
+
}
|
|
6968
|
+
}
|
|
6969
|
+
},
|
|
6970
|
+
"403": {
|
|
6971
|
+
"description": "Permission denied",
|
|
6972
|
+
"content": {
|
|
6973
|
+
"application/json": {
|
|
6974
|
+
"schema": {
|
|
6975
|
+
"$ref": "#/components/schemas/ApiError"
|
|
6976
|
+
}
|
|
6977
|
+
}
|
|
6978
|
+
}
|
|
6979
|
+
},
|
|
6980
|
+
"404": {
|
|
6981
|
+
"description": "Project, environment or build not found",
|
|
6982
|
+
"content": {
|
|
6983
|
+
"application/json": {
|
|
6984
|
+
"schema": {
|
|
6985
|
+
"$ref": "#/components/schemas/ApiError"
|
|
6986
|
+
}
|
|
6987
|
+
}
|
|
6988
|
+
}
|
|
6989
|
+
},
|
|
6990
|
+
"409": {
|
|
6991
|
+
"description": "Already in the environment, pending, unsupported store, or no live release to promote",
|
|
6992
|
+
"content": {
|
|
6993
|
+
"application/json": {
|
|
6994
|
+
"schema": {
|
|
6995
|
+
"$ref": "#/components/schemas/ApiError"
|
|
6996
|
+
}
|
|
6997
|
+
}
|
|
6998
|
+
}
|
|
6999
|
+
},
|
|
7000
|
+
"502": {
|
|
7001
|
+
"description": "The store rejected the promotion",
|
|
7002
|
+
"content": {
|
|
7003
|
+
"application/json": {
|
|
7004
|
+
"schema": {
|
|
7005
|
+
"$ref": "#/components/schemas/ApiError"
|
|
7006
|
+
}
|
|
7007
|
+
}
|
|
7008
|
+
}
|
|
7009
|
+
}
|
|
7010
|
+
},
|
|
7011
|
+
"security": [
|
|
7012
|
+
{
|
|
7013
|
+
"bearer_auth": []
|
|
7014
|
+
}
|
|
7015
|
+
]
|
|
7016
|
+
}
|
|
7017
|
+
},
|
|
7018
|
+
"/v1/projects/{project_id}/promotions/{promotion_id}/approve": {
|
|
7019
|
+
"post": {
|
|
7020
|
+
"tags": [
|
|
7021
|
+
"Environments"
|
|
7022
|
+
],
|
|
7023
|
+
"summary": "Approve promotion",
|
|
7024
|
+
"description": "Approves a pending promotion and makes the store change as the approver. Requires the maintainer role. Writes an audit log entry.",
|
|
7025
|
+
"operationId": "approve_promotion",
|
|
7026
|
+
"parameters": [
|
|
7027
|
+
{
|
|
7028
|
+
"name": "project_id",
|
|
7029
|
+
"in": "path",
|
|
7030
|
+
"description": "Project ID",
|
|
7031
|
+
"required": true,
|
|
7032
|
+
"schema": {
|
|
7033
|
+
"type": "string"
|
|
7034
|
+
}
|
|
7035
|
+
},
|
|
7036
|
+
{
|
|
7037
|
+
"name": "promotion_id",
|
|
7038
|
+
"in": "path",
|
|
7039
|
+
"description": "Promotion ID",
|
|
7040
|
+
"required": true,
|
|
7041
|
+
"schema": {
|
|
7042
|
+
"type": "string"
|
|
7043
|
+
}
|
|
7044
|
+
}
|
|
7045
|
+
],
|
|
7046
|
+
"requestBody": {
|
|
7047
|
+
"description": "Optional reason",
|
|
7048
|
+
"content": {
|
|
7049
|
+
"application/json": {
|
|
7050
|
+
"schema": {
|
|
7051
|
+
"oneOf": [
|
|
7052
|
+
{
|
|
7053
|
+
"type": "null"
|
|
7054
|
+
},
|
|
7055
|
+
{
|
|
7056
|
+
"$ref": "#/components/schemas/PromotionDecisionRequest"
|
|
7057
|
+
}
|
|
7058
|
+
]
|
|
7059
|
+
}
|
|
7060
|
+
}
|
|
7061
|
+
}
|
|
7062
|
+
},
|
|
7063
|
+
"responses": {
|
|
7064
|
+
"200": {
|
|
7065
|
+
"description": "Completed promotion",
|
|
7066
|
+
"content": {
|
|
7067
|
+
"application/json": {
|
|
7068
|
+
"schema": {
|
|
7069
|
+
"$ref": "#/components/schemas/EnvironmentPromotion"
|
|
7070
|
+
}
|
|
7071
|
+
}
|
|
7072
|
+
}
|
|
7073
|
+
},
|
|
7074
|
+
"403": {
|
|
7075
|
+
"description": "Permission denied",
|
|
7076
|
+
"content": {
|
|
7077
|
+
"application/json": {
|
|
7078
|
+
"schema": {
|
|
7079
|
+
"$ref": "#/components/schemas/ApiError"
|
|
7080
|
+
}
|
|
7081
|
+
}
|
|
7082
|
+
}
|
|
7083
|
+
},
|
|
7084
|
+
"404": {
|
|
7085
|
+
"description": "Not found",
|
|
7086
|
+
"content": {
|
|
7087
|
+
"application/json": {
|
|
7088
|
+
"schema": {
|
|
7089
|
+
"$ref": "#/components/schemas/ApiError"
|
|
7090
|
+
}
|
|
6393
7091
|
}
|
|
6394
7092
|
}
|
|
6395
7093
|
},
|
|
6396
|
-
"
|
|
6397
|
-
|
|
6398
|
-
"responses": {
|
|
6399
|
-
"200": {
|
|
6400
|
-
"description": "Member role updated",
|
|
7094
|
+
"409": {
|
|
7095
|
+
"description": "Not pending, or the build changed while it waited",
|
|
6401
7096
|
"content": {
|
|
6402
7097
|
"application/json": {
|
|
6403
7098
|
"schema": {
|
|
6404
|
-
"$ref": "#/components/schemas/
|
|
7099
|
+
"$ref": "#/components/schemas/ApiError"
|
|
6405
7100
|
}
|
|
6406
7101
|
}
|
|
6407
7102
|
}
|
|
6408
7103
|
},
|
|
6409
|
-
"
|
|
6410
|
-
"description": "
|
|
7104
|
+
"502": {
|
|
7105
|
+
"description": "The store rejected the promotion",
|
|
6411
7106
|
"content": {
|
|
6412
7107
|
"application/json": {
|
|
6413
7108
|
"schema": {
|
|
@@ -6424,13 +7119,14 @@
|
|
|
6424
7119
|
]
|
|
6425
7120
|
}
|
|
6426
7121
|
},
|
|
6427
|
-
"/v1/projects/{project_id}/
|
|
6428
|
-
"
|
|
7122
|
+
"/v1/projects/{project_id}/promotions/{promotion_id}/reject": {
|
|
7123
|
+
"post": {
|
|
6429
7124
|
"tags": [
|
|
6430
|
-
"
|
|
7125
|
+
"Environments"
|
|
6431
7126
|
],
|
|
6432
|
-
"summary": "
|
|
6433
|
-
"
|
|
7127
|
+
"summary": "Reject promotion",
|
|
7128
|
+
"description": "Rejects a pending promotion; nothing changes at the store. Requires the maintainer role. Writes an audit log entry.",
|
|
7129
|
+
"operationId": "reject_promotion",
|
|
6434
7130
|
"parameters": [
|
|
6435
7131
|
{
|
|
6436
7132
|
"name": "project_id",
|
|
@@ -6442,66 +7138,45 @@
|
|
|
6442
7138
|
}
|
|
6443
7139
|
},
|
|
6444
7140
|
{
|
|
6445
|
-
"name": "
|
|
6446
|
-
"in": "
|
|
6447
|
-
"description": "
|
|
6448
|
-
"required":
|
|
6449
|
-
"schema": {
|
|
6450
|
-
"type": "string"
|
|
6451
|
-
}
|
|
6452
|
-
},
|
|
6453
|
-
{
|
|
6454
|
-
"name": "sort",
|
|
6455
|
-
"in": "query",
|
|
6456
|
-
"description": "Sort by created_at or name",
|
|
6457
|
-
"required": false,
|
|
6458
|
-
"schema": {
|
|
6459
|
-
"type": "string"
|
|
6460
|
-
}
|
|
6461
|
-
},
|
|
6462
|
-
{
|
|
6463
|
-
"name": "direction",
|
|
6464
|
-
"in": "query",
|
|
6465
|
-
"description": "Sort direction: asc or desc",
|
|
6466
|
-
"required": false,
|
|
7141
|
+
"name": "promotion_id",
|
|
7142
|
+
"in": "path",
|
|
7143
|
+
"description": "Promotion ID",
|
|
7144
|
+
"required": true,
|
|
6467
7145
|
"schema": {
|
|
6468
7146
|
"type": "string"
|
|
6469
7147
|
}
|
|
6470
|
-
},
|
|
6471
|
-
{
|
|
6472
|
-
"name": "limit",
|
|
6473
|
-
"in": "query",
|
|
6474
|
-
"description": "Page size",
|
|
6475
|
-
"required": false,
|
|
6476
|
-
"schema": {
|
|
6477
|
-
"type": "integer",
|
|
6478
|
-
"format": "int64"
|
|
6479
|
-
}
|
|
6480
|
-
},
|
|
6481
|
-
{
|
|
6482
|
-
"name": "offset",
|
|
6483
|
-
"in": "query",
|
|
6484
|
-
"description": "Page offset",
|
|
6485
|
-
"required": false,
|
|
6486
|
-
"schema": {
|
|
6487
|
-
"type": "integer",
|
|
6488
|
-
"format": "int64"
|
|
6489
|
-
}
|
|
6490
7148
|
}
|
|
6491
7149
|
],
|
|
7150
|
+
"requestBody": {
|
|
7151
|
+
"description": "Optional reason",
|
|
7152
|
+
"content": {
|
|
7153
|
+
"application/json": {
|
|
7154
|
+
"schema": {
|
|
7155
|
+
"oneOf": [
|
|
7156
|
+
{
|
|
7157
|
+
"type": "null"
|
|
7158
|
+
},
|
|
7159
|
+
{
|
|
7160
|
+
"$ref": "#/components/schemas/PromotionDecisionRequest"
|
|
7161
|
+
}
|
|
7162
|
+
]
|
|
7163
|
+
}
|
|
7164
|
+
}
|
|
7165
|
+
}
|
|
7166
|
+
},
|
|
6492
7167
|
"responses": {
|
|
6493
7168
|
"200": {
|
|
6494
|
-
"description": "
|
|
7169
|
+
"description": "Rejected promotion",
|
|
6495
7170
|
"content": {
|
|
6496
7171
|
"application/json": {
|
|
6497
7172
|
"schema": {
|
|
6498
|
-
"$ref": "#/components/schemas/
|
|
7173
|
+
"$ref": "#/components/schemas/EnvironmentPromotion"
|
|
6499
7174
|
}
|
|
6500
7175
|
}
|
|
6501
7176
|
}
|
|
6502
7177
|
},
|
|
6503
|
-
"
|
|
6504
|
-
"description": "
|
|
7178
|
+
"403": {
|
|
7179
|
+
"description": "Permission denied",
|
|
6505
7180
|
"content": {
|
|
6506
7181
|
"application/json": {
|
|
6507
7182
|
"schema": {
|
|
@@ -6509,54 +7184,19 @@
|
|
|
6509
7184
|
}
|
|
6510
7185
|
}
|
|
6511
7186
|
}
|
|
6512
|
-
}
|
|
6513
|
-
},
|
|
6514
|
-
"security": [
|
|
6515
|
-
{
|
|
6516
|
-
"bearer_auth": []
|
|
6517
|
-
}
|
|
6518
|
-
]
|
|
6519
|
-
},
|
|
6520
|
-
"post": {
|
|
6521
|
-
"tags": [
|
|
6522
|
-
"Pipelines"
|
|
6523
|
-
],
|
|
6524
|
-
"summary": "Create pipeline",
|
|
6525
|
-
"operationId": "create_pipeline",
|
|
6526
|
-
"parameters": [
|
|
6527
|
-
{
|
|
6528
|
-
"name": "project_id",
|
|
6529
|
-
"in": "path",
|
|
6530
|
-
"description": "Project ID",
|
|
6531
|
-
"required": true,
|
|
6532
|
-
"schema": {
|
|
6533
|
-
"type": "string"
|
|
6534
|
-
}
|
|
6535
|
-
}
|
|
6536
|
-
],
|
|
6537
|
-
"requestBody": {
|
|
6538
|
-
"content": {
|
|
6539
|
-
"application/json": {
|
|
6540
|
-
"schema": {
|
|
6541
|
-
"$ref": "#/components/schemas/CreatePipelineRequest"
|
|
6542
|
-
}
|
|
6543
|
-
}
|
|
6544
7187
|
},
|
|
6545
|
-
"
|
|
6546
|
-
|
|
6547
|
-
"responses": {
|
|
6548
|
-
"201": {
|
|
6549
|
-
"description": "Pipeline created",
|
|
7188
|
+
"404": {
|
|
7189
|
+
"description": "Not found",
|
|
6550
7190
|
"content": {
|
|
6551
7191
|
"application/json": {
|
|
6552
7192
|
"schema": {
|
|
6553
|
-
"$ref": "#/components/schemas/
|
|
7193
|
+
"$ref": "#/components/schemas/ApiError"
|
|
6554
7194
|
}
|
|
6555
7195
|
}
|
|
6556
7196
|
}
|
|
6557
7197
|
},
|
|
6558
|
-
"
|
|
6559
|
-
"description": "
|
|
7198
|
+
"409": {
|
|
7199
|
+
"description": "Not pending",
|
|
6560
7200
|
"content": {
|
|
6561
7201
|
"application/json": {
|
|
6562
7202
|
"schema": {
|
|
@@ -12908,6 +13548,53 @@
|
|
|
12908
13548
|
"ios"
|
|
12909
13549
|
]
|
|
12910
13550
|
},
|
|
13551
|
+
"ArtifactSizeComparison": {
|
|
13552
|
+
"type": "object",
|
|
13553
|
+
"description": "One artifact's size, and its change from the matching baseline artifact.",
|
|
13554
|
+
"required": [
|
|
13555
|
+
"artifact_id",
|
|
13556
|
+
"name",
|
|
13557
|
+
"artifact_type",
|
|
13558
|
+
"size_bytes"
|
|
13559
|
+
],
|
|
13560
|
+
"properties": {
|
|
13561
|
+
"artifact_id": {
|
|
13562
|
+
"type": "string"
|
|
13563
|
+
},
|
|
13564
|
+
"artifact_type": {
|
|
13565
|
+
"$ref": "#/components/schemas/ArtifactType"
|
|
13566
|
+
},
|
|
13567
|
+
"baseline_name": {
|
|
13568
|
+
"type": [
|
|
13569
|
+
"string",
|
|
13570
|
+
"null"
|
|
13571
|
+
],
|
|
13572
|
+
"description": "Name of the baseline artifact this one was matched with."
|
|
13573
|
+
},
|
|
13574
|
+
"baseline_size_bytes": {
|
|
13575
|
+
"type": [
|
|
13576
|
+
"integer",
|
|
13577
|
+
"null"
|
|
13578
|
+
],
|
|
13579
|
+
"format": "int64"
|
|
13580
|
+
},
|
|
13581
|
+
"delta_bytes": {
|
|
13582
|
+
"type": [
|
|
13583
|
+
"integer",
|
|
13584
|
+
"null"
|
|
13585
|
+
],
|
|
13586
|
+
"format": "int64",
|
|
13587
|
+
"description": "`size_bytes - baseline_size_bytes`; absent when nothing matched."
|
|
13588
|
+
},
|
|
13589
|
+
"name": {
|
|
13590
|
+
"type": "string"
|
|
13591
|
+
},
|
|
13592
|
+
"size_bytes": {
|
|
13593
|
+
"type": "integer",
|
|
13594
|
+
"format": "int64"
|
|
13595
|
+
}
|
|
13596
|
+
}
|
|
13597
|
+
},
|
|
12911
13598
|
"ArtifactStorageProvider": {
|
|
12912
13599
|
"type": "string",
|
|
12913
13600
|
"enum": [
|
|
@@ -13879,6 +14566,59 @@
|
|
|
13879
14566
|
}
|
|
13880
14567
|
}
|
|
13881
14568
|
},
|
|
14569
|
+
"BuildSizeBaseline": {
|
|
14570
|
+
"type": "object",
|
|
14571
|
+
"description": "The earlier build a size report compares against.",
|
|
14572
|
+
"required": [
|
|
14573
|
+
"build_id",
|
|
14574
|
+
"build_number",
|
|
14575
|
+
"branch"
|
|
14576
|
+
],
|
|
14577
|
+
"properties": {
|
|
14578
|
+
"branch": {
|
|
14579
|
+
"type": "string"
|
|
14580
|
+
},
|
|
14581
|
+
"build_id": {
|
|
14582
|
+
"type": "string"
|
|
14583
|
+
},
|
|
14584
|
+
"build_number": {
|
|
14585
|
+
"type": "integer",
|
|
14586
|
+
"format": "int64"
|
|
14587
|
+
}
|
|
14588
|
+
}
|
|
14589
|
+
},
|
|
14590
|
+
"BuildSizeReport": {
|
|
14591
|
+
"type": "object",
|
|
14592
|
+
"required": [
|
|
14593
|
+
"artifacts"
|
|
14594
|
+
],
|
|
14595
|
+
"properties": {
|
|
14596
|
+
"artifacts": {
|
|
14597
|
+
"type": "array",
|
|
14598
|
+
"items": {
|
|
14599
|
+
"$ref": "#/components/schemas/ArtifactSizeComparison"
|
|
14600
|
+
}
|
|
14601
|
+
},
|
|
14602
|
+
"base_branch": {
|
|
14603
|
+
"type": [
|
|
14604
|
+
"string",
|
|
14605
|
+
"null"
|
|
14606
|
+
],
|
|
14607
|
+
"description": "Branch the build is compared with: a pull request's target branch,\notherwise the project's default branch. Absent when neither is known."
|
|
14608
|
+
},
|
|
14609
|
+
"baseline": {
|
|
14610
|
+
"oneOf": [
|
|
14611
|
+
{
|
|
14612
|
+
"type": "null"
|
|
14613
|
+
},
|
|
14614
|
+
{
|
|
14615
|
+
"$ref": "#/components/schemas/BuildSizeBaseline",
|
|
14616
|
+
"description": "The latest earlier successful build of the same pipeline on\n`base_branch` that recorded artifact sizes."
|
|
14617
|
+
}
|
|
14618
|
+
]
|
|
14619
|
+
}
|
|
14620
|
+
}
|
|
14621
|
+
},
|
|
13882
14622
|
"BuildStatus": {
|
|
13883
14623
|
"type": "string",
|
|
13884
14624
|
"enum": [
|
|
@@ -14603,6 +15343,43 @@
|
|
|
14603
15343
|
}
|
|
14604
15344
|
}
|
|
14605
15345
|
},
|
|
15346
|
+
"CreateProjectEnvironmentRequest": {
|
|
15347
|
+
"type": "object",
|
|
15348
|
+
"required": [
|
|
15349
|
+
"key",
|
|
15350
|
+
"name",
|
|
15351
|
+
"store",
|
|
15352
|
+
"track"
|
|
15353
|
+
],
|
|
15354
|
+
"properties": {
|
|
15355
|
+
"approval_required": {
|
|
15356
|
+
"type": "boolean"
|
|
15357
|
+
},
|
|
15358
|
+
"key": {
|
|
15359
|
+
"type": "string"
|
|
15360
|
+
},
|
|
15361
|
+
"name": {
|
|
15362
|
+
"type": "string"
|
|
15363
|
+
},
|
|
15364
|
+
"rollout_policy": {
|
|
15365
|
+
"oneOf": [
|
|
15366
|
+
{
|
|
15367
|
+
"type": "null"
|
|
15368
|
+
},
|
|
15369
|
+
{
|
|
15370
|
+
"$ref": "#/components/schemas/ReleasePolicy",
|
|
15371
|
+
"description": "Defaults to the standard schedule with no crash-rate halt."
|
|
15372
|
+
}
|
|
15373
|
+
]
|
|
15374
|
+
},
|
|
15375
|
+
"store": {
|
|
15376
|
+
"$ref": "#/components/schemas/ReleaseStore"
|
|
15377
|
+
},
|
|
15378
|
+
"track": {
|
|
15379
|
+
"type": "string"
|
|
15380
|
+
}
|
|
15381
|
+
}
|
|
15382
|
+
},
|
|
14606
15383
|
"CreateProjectRequest": {
|
|
14607
15384
|
"type": "object",
|
|
14608
15385
|
"required": [
|
|
@@ -14649,6 +15426,28 @@
|
|
|
14649
15426
|
}
|
|
14650
15427
|
}
|
|
14651
15428
|
},
|
|
15429
|
+
"CreatePromotionRequest": {
|
|
15430
|
+
"type": "object",
|
|
15431
|
+
"required": [
|
|
15432
|
+
"build_id",
|
|
15433
|
+
"environment_id"
|
|
15434
|
+
],
|
|
15435
|
+
"properties": {
|
|
15436
|
+
"build_id": {
|
|
15437
|
+
"type": "string"
|
|
15438
|
+
},
|
|
15439
|
+
"environment_id": {
|
|
15440
|
+
"type": "string",
|
|
15441
|
+
"description": "The environment to promote into."
|
|
15442
|
+
},
|
|
15443
|
+
"reason": {
|
|
15444
|
+
"type": [
|
|
15445
|
+
"string",
|
|
15446
|
+
"null"
|
|
15447
|
+
]
|
|
15448
|
+
}
|
|
15449
|
+
}
|
|
15450
|
+
},
|
|
14652
15451
|
"CreateReleaseRequest": {
|
|
14653
15452
|
"type": "object",
|
|
14654
15453
|
"required": [
|
|
@@ -14889,6 +15688,134 @@
|
|
|
14889
15688
|
}
|
|
14890
15689
|
}
|
|
14891
15690
|
},
|
|
15691
|
+
"EnvironmentPromotion": {
|
|
15692
|
+
"type": "object",
|
|
15693
|
+
"description": "A request to put an existing build into an environment.",
|
|
15694
|
+
"required": [
|
|
15695
|
+
"id",
|
|
15696
|
+
"project_id",
|
|
15697
|
+
"build_id",
|
|
15698
|
+
"environment_id",
|
|
15699
|
+
"environment_name",
|
|
15700
|
+
"source_release_id",
|
|
15701
|
+
"source_track",
|
|
15702
|
+
"state",
|
|
15703
|
+
"can_decide",
|
|
15704
|
+
"created_at",
|
|
15705
|
+
"updated_at"
|
|
15706
|
+
],
|
|
15707
|
+
"properties": {
|
|
15708
|
+
"build_id": {
|
|
15709
|
+
"type": "string"
|
|
15710
|
+
},
|
|
15711
|
+
"build_number": {
|
|
15712
|
+
"type": [
|
|
15713
|
+
"integer",
|
|
15714
|
+
"null"
|
|
15715
|
+
],
|
|
15716
|
+
"format": "int64"
|
|
15717
|
+
},
|
|
15718
|
+
"can_decide": {
|
|
15719
|
+
"type": "boolean",
|
|
15720
|
+
"description": "Whether the caller may approve or reject this promotion now."
|
|
15721
|
+
},
|
|
15722
|
+
"created_at": {
|
|
15723
|
+
"type": "integer",
|
|
15724
|
+
"format": "int64"
|
|
15725
|
+
},
|
|
15726
|
+
"decided_at": {
|
|
15727
|
+
"type": [
|
|
15728
|
+
"integer",
|
|
15729
|
+
"null"
|
|
15730
|
+
],
|
|
15731
|
+
"format": "int64"
|
|
15732
|
+
},
|
|
15733
|
+
"decided_by_email": {
|
|
15734
|
+
"type": [
|
|
15735
|
+
"string",
|
|
15736
|
+
"null"
|
|
15737
|
+
]
|
|
15738
|
+
},
|
|
15739
|
+
"decision_reason": {
|
|
15740
|
+
"type": [
|
|
15741
|
+
"string",
|
|
15742
|
+
"null"
|
|
15743
|
+
]
|
|
15744
|
+
},
|
|
15745
|
+
"environment_id": {
|
|
15746
|
+
"type": "string"
|
|
15747
|
+
},
|
|
15748
|
+
"environment_name": {
|
|
15749
|
+
"type": "string"
|
|
15750
|
+
},
|
|
15751
|
+
"error": {
|
|
15752
|
+
"type": [
|
|
15753
|
+
"string",
|
|
15754
|
+
"null"
|
|
15755
|
+
],
|
|
15756
|
+
"description": "Why the promotion failed."
|
|
15757
|
+
},
|
|
15758
|
+
"id": {
|
|
15759
|
+
"type": "string"
|
|
15760
|
+
},
|
|
15761
|
+
"project_id": {
|
|
15762
|
+
"type": "string"
|
|
15763
|
+
},
|
|
15764
|
+
"reason": {
|
|
15765
|
+
"type": [
|
|
15766
|
+
"string",
|
|
15767
|
+
"null"
|
|
15768
|
+
]
|
|
15769
|
+
},
|
|
15770
|
+
"release_id": {
|
|
15771
|
+
"type": [
|
|
15772
|
+
"string",
|
|
15773
|
+
"null"
|
|
15774
|
+
],
|
|
15775
|
+
"description": "The release the promotion created, once completed."
|
|
15776
|
+
},
|
|
15777
|
+
"requested_by_email": {
|
|
15778
|
+
"type": [
|
|
15779
|
+
"string",
|
|
15780
|
+
"null"
|
|
15781
|
+
]
|
|
15782
|
+
},
|
|
15783
|
+
"source_environment_name": {
|
|
15784
|
+
"type": [
|
|
15785
|
+
"string",
|
|
15786
|
+
"null"
|
|
15787
|
+
],
|
|
15788
|
+
"description": "Where the source release was, when it belongs to an environment."
|
|
15789
|
+
},
|
|
15790
|
+
"source_release_id": {
|
|
15791
|
+
"type": "string",
|
|
15792
|
+
"description": "The release the build is promoted from."
|
|
15793
|
+
},
|
|
15794
|
+
"source_track": {
|
|
15795
|
+
"type": "string"
|
|
15796
|
+
},
|
|
15797
|
+
"state": {
|
|
15798
|
+
"$ref": "#/components/schemas/PromotionState"
|
|
15799
|
+
},
|
|
15800
|
+
"updated_at": {
|
|
15801
|
+
"type": "integer",
|
|
15802
|
+
"format": "int64"
|
|
15803
|
+
},
|
|
15804
|
+
"version_code": {
|
|
15805
|
+
"type": [
|
|
15806
|
+
"integer",
|
|
15807
|
+
"null"
|
|
15808
|
+
],
|
|
15809
|
+
"format": "int64"
|
|
15810
|
+
},
|
|
15811
|
+
"version_name": {
|
|
15812
|
+
"type": [
|
|
15813
|
+
"string",
|
|
15814
|
+
"null"
|
|
15815
|
+
]
|
|
15816
|
+
}
|
|
15817
|
+
}
|
|
15818
|
+
},
|
|
14892
15819
|
"EventStreamReady": {
|
|
14893
15820
|
"type": "object",
|
|
14894
15821
|
"description": "`ready` event, the first event on every `GET /v1/events` connection.\nClients refetch once on `ready` after a reconnect, since events sent while\ndisconnected are not replayed.",
|
|
@@ -16196,6 +17123,29 @@
|
|
|
16196
17123
|
}
|
|
16197
17124
|
}
|
|
16198
17125
|
},
|
|
17126
|
+
"ListProjectEnvironmentsResponse": {
|
|
17127
|
+
"type": "object",
|
|
17128
|
+
"required": [
|
|
17129
|
+
"environments",
|
|
17130
|
+
"promotions"
|
|
17131
|
+
],
|
|
17132
|
+
"properties": {
|
|
17133
|
+
"environments": {
|
|
17134
|
+
"type": "array",
|
|
17135
|
+
"items": {
|
|
17136
|
+
"$ref": "#/components/schemas/ProjectEnvironment"
|
|
17137
|
+
},
|
|
17138
|
+
"description": "Environments in promotion order."
|
|
17139
|
+
},
|
|
17140
|
+
"promotions": {
|
|
17141
|
+
"type": "array",
|
|
17142
|
+
"items": {
|
|
17143
|
+
"$ref": "#/components/schemas/EnvironmentPromotion"
|
|
17144
|
+
},
|
|
17145
|
+
"description": "Pending promotions and the most recent decided ones, newest first."
|
|
17146
|
+
}
|
|
17147
|
+
}
|
|
17148
|
+
},
|
|
16199
17149
|
"ListProjectMemberCandidatesResponse": {
|
|
16200
17150
|
"type": "object",
|
|
16201
17151
|
"required": [
|
|
@@ -17396,6 +18346,82 @@
|
|
|
17396
18346
|
}
|
|
17397
18347
|
}
|
|
17398
18348
|
},
|
|
18349
|
+
"ProjectEnvironment": {
|
|
18350
|
+
"type": "object",
|
|
18351
|
+
"description": "A release environment on a project, such as `internal` or `production`,\nwith its store target, rollout policy and approval rule.",
|
|
18352
|
+
"required": [
|
|
18353
|
+
"id",
|
|
18354
|
+
"project_id",
|
|
18355
|
+
"key",
|
|
18356
|
+
"name",
|
|
18357
|
+
"position",
|
|
18358
|
+
"store",
|
|
18359
|
+
"track",
|
|
18360
|
+
"approval_required",
|
|
18361
|
+
"rollout_policy",
|
|
18362
|
+
"promotable",
|
|
18363
|
+
"created_at",
|
|
18364
|
+
"updated_at"
|
|
18365
|
+
],
|
|
18366
|
+
"properties": {
|
|
18367
|
+
"approval_required": {
|
|
18368
|
+
"type": "boolean",
|
|
18369
|
+
"description": "A promotion into this environment waits for a maintainer's approval\nbefore anything changes at the store."
|
|
18370
|
+
},
|
|
18371
|
+
"created_at": {
|
|
18372
|
+
"type": "integer",
|
|
18373
|
+
"format": "int64"
|
|
18374
|
+
},
|
|
18375
|
+
"id": {
|
|
18376
|
+
"type": "string"
|
|
18377
|
+
},
|
|
18378
|
+
"key": {
|
|
18379
|
+
"type": "string",
|
|
18380
|
+
"description": "Stable identifier, unique in the project: lowercase letters, digits\nand dashes, starting with a letter."
|
|
18381
|
+
},
|
|
18382
|
+
"latest_release": {
|
|
18383
|
+
"oneOf": [
|
|
18384
|
+
{
|
|
18385
|
+
"type": "null"
|
|
18386
|
+
},
|
|
18387
|
+
{
|
|
18388
|
+
"$ref": "#/components/schemas/Release",
|
|
18389
|
+
"description": "The newest release in this environment."
|
|
18390
|
+
}
|
|
18391
|
+
]
|
|
18392
|
+
},
|
|
18393
|
+
"name": {
|
|
18394
|
+
"type": "string"
|
|
18395
|
+
},
|
|
18396
|
+
"position": {
|
|
18397
|
+
"type": "integer",
|
|
18398
|
+
"format": "int64",
|
|
18399
|
+
"description": "Order on the promotion path, lowest first."
|
|
18400
|
+
},
|
|
18401
|
+
"project_id": {
|
|
18402
|
+
"type": "string"
|
|
18403
|
+
},
|
|
18404
|
+
"promotable": {
|
|
18405
|
+
"type": "boolean",
|
|
18406
|
+
"description": "Whether builds can be promoted into this environment. App Store\nenvironments only group the releases that uploads record for now."
|
|
18407
|
+
},
|
|
18408
|
+
"rollout_policy": {
|
|
18409
|
+
"$ref": "#/components/schemas/ReleasePolicy",
|
|
18410
|
+
"description": "Staged rollout policy for releases promoted into this environment.\nIts `approval` is always `none`; use `approval_required`."
|
|
18411
|
+
},
|
|
18412
|
+
"store": {
|
|
18413
|
+
"$ref": "#/components/schemas/ReleaseStore"
|
|
18414
|
+
},
|
|
18415
|
+
"track": {
|
|
18416
|
+
"type": "string",
|
|
18417
|
+
"description": "Play track (`internal`, `closed`, `open`, `production` or a custom\ntrack), or the App Store release track a store upload records."
|
|
18418
|
+
},
|
|
18419
|
+
"updated_at": {
|
|
18420
|
+
"type": "integer",
|
|
18421
|
+
"format": "int64"
|
|
18422
|
+
}
|
|
18423
|
+
}
|
|
18424
|
+
},
|
|
17399
18425
|
"ProjectMember": {
|
|
17400
18426
|
"type": "object",
|
|
17401
18427
|
"required": [
|
|
@@ -17557,6 +18583,27 @@
|
|
|
17557
18583
|
"viewer"
|
|
17558
18584
|
]
|
|
17559
18585
|
},
|
|
18586
|
+
"PromotionDecisionRequest": {
|
|
18587
|
+
"type": "object",
|
|
18588
|
+
"properties": {
|
|
18589
|
+
"reason": {
|
|
18590
|
+
"type": [
|
|
18591
|
+
"string",
|
|
18592
|
+
"null"
|
|
18593
|
+
]
|
|
18594
|
+
}
|
|
18595
|
+
}
|
|
18596
|
+
},
|
|
18597
|
+
"PromotionState": {
|
|
18598
|
+
"type": "string",
|
|
18599
|
+
"enum": [
|
|
18600
|
+
"pending",
|
|
18601
|
+
"promoting",
|
|
18602
|
+
"completed",
|
|
18603
|
+
"rejected",
|
|
18604
|
+
"failed"
|
|
18605
|
+
]
|
|
18606
|
+
},
|
|
17560
18607
|
"PublishStore": {
|
|
17561
18608
|
"type": "string",
|
|
17562
18609
|
"enum": [
|
|
@@ -17805,6 +18852,19 @@
|
|
|
17805
18852
|
"type": "integer",
|
|
17806
18853
|
"format": "int64"
|
|
17807
18854
|
},
|
|
18855
|
+
"environment_id": {
|
|
18856
|
+
"type": [
|
|
18857
|
+
"string",
|
|
18858
|
+
"null"
|
|
18859
|
+
],
|
|
18860
|
+
"description": "The project environment this release belongs to. Absent for projects\nwithout environments."
|
|
18861
|
+
},
|
|
18862
|
+
"environment_name": {
|
|
18863
|
+
"type": [
|
|
18864
|
+
"string",
|
|
18865
|
+
"null"
|
|
18866
|
+
]
|
|
18867
|
+
},
|
|
17808
18868
|
"health": {
|
|
17809
18869
|
"$ref": "#/components/schemas/ReleaseHealth"
|
|
17810
18870
|
},
|
|
@@ -17847,6 +18907,13 @@
|
|
|
17847
18907
|
"null"
|
|
17848
18908
|
]
|
|
17849
18909
|
},
|
|
18910
|
+
"promoted_from_release_id": {
|
|
18911
|
+
"type": [
|
|
18912
|
+
"string",
|
|
18913
|
+
"null"
|
|
18914
|
+
],
|
|
18915
|
+
"description": "The release this one was promoted from, without a new build."
|
|
18916
|
+
},
|
|
17850
18917
|
"rollout_fraction": {
|
|
17851
18918
|
"type": "number",
|
|
17852
18919
|
"format": "double",
|
|
@@ -20662,6 +21729,47 @@
|
|
|
20662
21729
|
}
|
|
20663
21730
|
}
|
|
20664
21731
|
},
|
|
21732
|
+
"UpdateProjectEnvironmentRequest": {
|
|
21733
|
+
"type": "object",
|
|
21734
|
+
"description": "Changes to an environment. The key and store are fixed once created.",
|
|
21735
|
+
"properties": {
|
|
21736
|
+
"approval_required": {
|
|
21737
|
+
"type": [
|
|
21738
|
+
"boolean",
|
|
21739
|
+
"null"
|
|
21740
|
+
]
|
|
21741
|
+
},
|
|
21742
|
+
"name": {
|
|
21743
|
+
"type": [
|
|
21744
|
+
"string",
|
|
21745
|
+
"null"
|
|
21746
|
+
]
|
|
21747
|
+
},
|
|
21748
|
+
"position": {
|
|
21749
|
+
"type": [
|
|
21750
|
+
"integer",
|
|
21751
|
+
"null"
|
|
21752
|
+
],
|
|
21753
|
+
"format": "int64"
|
|
21754
|
+
},
|
|
21755
|
+
"rollout_policy": {
|
|
21756
|
+
"oneOf": [
|
|
21757
|
+
{
|
|
21758
|
+
"type": "null"
|
|
21759
|
+
},
|
|
21760
|
+
{
|
|
21761
|
+
"$ref": "#/components/schemas/ReleasePolicy"
|
|
21762
|
+
}
|
|
21763
|
+
]
|
|
21764
|
+
},
|
|
21765
|
+
"track": {
|
|
21766
|
+
"type": [
|
|
21767
|
+
"string",
|
|
21768
|
+
"null"
|
|
21769
|
+
]
|
|
21770
|
+
}
|
|
21771
|
+
}
|
|
21772
|
+
},
|
|
20665
21773
|
"UpdateProjectMemberRequest": {
|
|
20666
21774
|
"type": "object",
|
|
20667
21775
|
"required": [
|
|
@@ -21231,6 +22339,10 @@
|
|
|
21231
22339
|
"name": "Releases",
|
|
21232
22340
|
"description": "Store releases — staged rollout records with pause, halt, resume, complete and approval."
|
|
21233
22341
|
},
|
|
22342
|
+
{
|
|
22343
|
+
"name": "Environments",
|
|
22344
|
+
"description": "Release environments on a project, such as internal, beta and production, and promotion of a build between them without a new build."
|
|
22345
|
+
},
|
|
21234
22346
|
{
|
|
21235
22347
|
"name": "Runners",
|
|
21236
22348
|
"description": "Build runner management — register, heartbeat, job claim/status."
|