@oore/client 0.15.0 → 0.17.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 +220 -1
- package/dist/generated/@tanstack/react-query.gen.js +239 -1
- package/dist/generated/msw.gen.d.ts +146 -1
- package/dist/generated/msw.gen.js +230 -0
- package/dist/generated/sdk.gen.d.ts +68 -1
- package/dist/generated/sdk.gen.js +141 -0
- package/dist/generated/types.gen.d.ts +554 -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-build-feedback.d.ts +14 -0
- package/dist/generated/valibot/v-build-feedback.js +19 -0
- package/dist/generated/valibot/v-complete-release-response.d.ts +3 -0
- package/dist/generated/valibot/v-create-build-feedback-body.d.ts +9 -0
- package/dist/generated/valibot/v-create-build-feedback-body.js +3 -0
- package/dist/generated/valibot/v-create-build-feedback-path.d.ts +4 -0
- package/dist/generated/valibot/v-create-build-feedback-path.js +5 -0
- package/dist/generated/valibot/v-create-build-feedback-request.d.ts +9 -0
- package/dist/generated/valibot/v-create-build-feedback-request.js +10 -0
- package/dist/generated/valibot/v-create-build-feedback-response.d.ts +14 -0
- package/dist/generated/valibot/v-create-build-feedback-response.js +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-feedback-screenshot-path.d.ts +5 -0
- package/dist/generated/valibot/v-get-build-feedback-screenshot-path.js +6 -0
- package/dist/generated/valibot/v-get-build-feedback-screenshot-response.d.ts +2 -0
- package/dist/generated/valibot/v-get-build-feedback-screenshot-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-build-feedback-path.d.ts +4 -0
- package/dist/generated/valibot/v-list-build-feedback-path.js +5 -0
- package/dist/generated/valibot/v-list-build-feedback-response.d.ts +16 -0
- package/dist/generated/valibot/v-list-build-feedback-response.js +6 -0
- package/dist/generated/valibot/v-list-build-feedback-response2.d.ts +16 -0
- package/dist/generated/valibot/v-list-build-feedback-response2.js +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 +37 -0
- package/dist/valibot.js +37 -0
- package/openapi/openapi.json +1403 -82
- package/package.json +1 -1
package/openapi/openapi.json
CHANGED
|
@@ -2354,6 +2354,237 @@
|
|
|
2354
2354
|
]
|
|
2355
2355
|
}
|
|
2356
2356
|
},
|
|
2357
|
+
"/v1/builds/{build_id}/feedback": {
|
|
2358
|
+
"get": {
|
|
2359
|
+
"tags": [
|
|
2360
|
+
"Builds"
|
|
2361
|
+
],
|
|
2362
|
+
"summary": "List build feedback",
|
|
2363
|
+
"description": "Notes testers sent about this build, oldest first. Needs read access\nto the build's project.",
|
|
2364
|
+
"operationId": "list_build_feedback",
|
|
2365
|
+
"parameters": [
|
|
2366
|
+
{
|
|
2367
|
+
"name": "build_id",
|
|
2368
|
+
"in": "path",
|
|
2369
|
+
"description": "Build ID",
|
|
2370
|
+
"required": true,
|
|
2371
|
+
"schema": {
|
|
2372
|
+
"type": "string"
|
|
2373
|
+
}
|
|
2374
|
+
}
|
|
2375
|
+
],
|
|
2376
|
+
"responses": {
|
|
2377
|
+
"200": {
|
|
2378
|
+
"description": "Feedback for the build",
|
|
2379
|
+
"content": {
|
|
2380
|
+
"application/json": {
|
|
2381
|
+
"schema": {
|
|
2382
|
+
"$ref": "#/components/schemas/ListBuildFeedbackResponse"
|
|
2383
|
+
}
|
|
2384
|
+
}
|
|
2385
|
+
}
|
|
2386
|
+
},
|
|
2387
|
+
"404": {
|
|
2388
|
+
"description": "Build not found",
|
|
2389
|
+
"content": {
|
|
2390
|
+
"application/json": {
|
|
2391
|
+
"schema": {
|
|
2392
|
+
"$ref": "#/components/schemas/ApiError"
|
|
2393
|
+
}
|
|
2394
|
+
}
|
|
2395
|
+
}
|
|
2396
|
+
}
|
|
2397
|
+
},
|
|
2398
|
+
"security": [
|
|
2399
|
+
{
|
|
2400
|
+
"bearer_auth": []
|
|
2401
|
+
}
|
|
2402
|
+
]
|
|
2403
|
+
},
|
|
2404
|
+
"post": {
|
|
2405
|
+
"tags": [
|
|
2406
|
+
"Builds"
|
|
2407
|
+
],
|
|
2408
|
+
"summary": "Send build feedback",
|
|
2409
|
+
"description": "Files a tester's note against a build, with optional device, OS\nversion, app version and a PNG, JPEG or WebP screenshot of up to\n5 MiB. Anyone who can install the build's artifacts can send one. The\nnote shows on the build's timeline and is sent to the project's\nnotification channels as a `qa_feedback` event. Each person can send\n10 notes per 10 minutes.",
|
|
2410
|
+
"operationId": "create_build_feedback",
|
|
2411
|
+
"parameters": [
|
|
2412
|
+
{
|
|
2413
|
+
"name": "build_id",
|
|
2414
|
+
"in": "path",
|
|
2415
|
+
"description": "Build ID",
|
|
2416
|
+
"required": true,
|
|
2417
|
+
"schema": {
|
|
2418
|
+
"type": "string"
|
|
2419
|
+
}
|
|
2420
|
+
}
|
|
2421
|
+
],
|
|
2422
|
+
"requestBody": {
|
|
2423
|
+
"content": {
|
|
2424
|
+
"application/json": {
|
|
2425
|
+
"schema": {
|
|
2426
|
+
"$ref": "#/components/schemas/CreateBuildFeedbackRequest"
|
|
2427
|
+
}
|
|
2428
|
+
}
|
|
2429
|
+
},
|
|
2430
|
+
"required": true
|
|
2431
|
+
},
|
|
2432
|
+
"responses": {
|
|
2433
|
+
"201": {
|
|
2434
|
+
"description": "Feedback recorded",
|
|
2435
|
+
"content": {
|
|
2436
|
+
"application/json": {
|
|
2437
|
+
"schema": {
|
|
2438
|
+
"$ref": "#/components/schemas/BuildFeedback"
|
|
2439
|
+
}
|
|
2440
|
+
}
|
|
2441
|
+
}
|
|
2442
|
+
},
|
|
2443
|
+
"400": {
|
|
2444
|
+
"description": "Missing message, a field too long, or an artifact from another build",
|
|
2445
|
+
"content": {
|
|
2446
|
+
"application/json": {
|
|
2447
|
+
"schema": {
|
|
2448
|
+
"$ref": "#/components/schemas/ApiError"
|
|
2449
|
+
}
|
|
2450
|
+
}
|
|
2451
|
+
}
|
|
2452
|
+
},
|
|
2453
|
+
"403": {
|
|
2454
|
+
"description": "Permission denied",
|
|
2455
|
+
"content": {
|
|
2456
|
+
"application/json": {
|
|
2457
|
+
"schema": {
|
|
2458
|
+
"$ref": "#/components/schemas/ApiError"
|
|
2459
|
+
}
|
|
2460
|
+
}
|
|
2461
|
+
}
|
|
2462
|
+
},
|
|
2463
|
+
"404": {
|
|
2464
|
+
"description": "Build not found",
|
|
2465
|
+
"content": {
|
|
2466
|
+
"application/json": {
|
|
2467
|
+
"schema": {
|
|
2468
|
+
"$ref": "#/components/schemas/ApiError"
|
|
2469
|
+
}
|
|
2470
|
+
}
|
|
2471
|
+
}
|
|
2472
|
+
},
|
|
2473
|
+
"409": {
|
|
2474
|
+
"description": "A screenshot was attached but artifact storage is not configured",
|
|
2475
|
+
"content": {
|
|
2476
|
+
"application/json": {
|
|
2477
|
+
"schema": {
|
|
2478
|
+
"$ref": "#/components/schemas/ApiError"
|
|
2479
|
+
}
|
|
2480
|
+
}
|
|
2481
|
+
}
|
|
2482
|
+
},
|
|
2483
|
+
"413": {
|
|
2484
|
+
"description": "Screenshot larger than 5 MiB",
|
|
2485
|
+
"content": {
|
|
2486
|
+
"application/json": {
|
|
2487
|
+
"schema": {
|
|
2488
|
+
"$ref": "#/components/schemas/ApiError"
|
|
2489
|
+
}
|
|
2490
|
+
}
|
|
2491
|
+
}
|
|
2492
|
+
},
|
|
2493
|
+
"415": {
|
|
2494
|
+
"description": "Screenshot is not a PNG, JPEG or WebP image",
|
|
2495
|
+
"content": {
|
|
2496
|
+
"application/json": {
|
|
2497
|
+
"schema": {
|
|
2498
|
+
"$ref": "#/components/schemas/ApiError"
|
|
2499
|
+
}
|
|
2500
|
+
}
|
|
2501
|
+
}
|
|
2502
|
+
},
|
|
2503
|
+
"429": {
|
|
2504
|
+
"description": "Too much feedback sent recently",
|
|
2505
|
+
"content": {
|
|
2506
|
+
"application/json": {
|
|
2507
|
+
"schema": {
|
|
2508
|
+
"$ref": "#/components/schemas/ApiError"
|
|
2509
|
+
}
|
|
2510
|
+
}
|
|
2511
|
+
}
|
|
2512
|
+
}
|
|
2513
|
+
},
|
|
2514
|
+
"security": [
|
|
2515
|
+
{
|
|
2516
|
+
"bearer_auth": []
|
|
2517
|
+
}
|
|
2518
|
+
]
|
|
2519
|
+
}
|
|
2520
|
+
},
|
|
2521
|
+
"/v1/builds/{build_id}/feedback/{feedback_id}/screenshot": {
|
|
2522
|
+
"get": {
|
|
2523
|
+
"tags": [
|
|
2524
|
+
"Builds"
|
|
2525
|
+
],
|
|
2526
|
+
"summary": "Get a build feedback screenshot",
|
|
2527
|
+
"description": "Returns the screenshot attached to a feedback note, with the image\ntype detected from its bytes. Needs read access to the build's project.",
|
|
2528
|
+
"operationId": "get_build_feedback_screenshot",
|
|
2529
|
+
"parameters": [
|
|
2530
|
+
{
|
|
2531
|
+
"name": "build_id",
|
|
2532
|
+
"in": "path",
|
|
2533
|
+
"description": "Build ID",
|
|
2534
|
+
"required": true,
|
|
2535
|
+
"schema": {
|
|
2536
|
+
"type": "string"
|
|
2537
|
+
}
|
|
2538
|
+
},
|
|
2539
|
+
{
|
|
2540
|
+
"name": "feedback_id",
|
|
2541
|
+
"in": "path",
|
|
2542
|
+
"description": "Feedback ID",
|
|
2543
|
+
"required": true,
|
|
2544
|
+
"schema": {
|
|
2545
|
+
"type": "string"
|
|
2546
|
+
}
|
|
2547
|
+
}
|
|
2548
|
+
],
|
|
2549
|
+
"responses": {
|
|
2550
|
+
"200": {
|
|
2551
|
+
"description": "Screenshot image",
|
|
2552
|
+
"content": {
|
|
2553
|
+
"image/*": {
|
|
2554
|
+
"schema": {
|
|
2555
|
+
"$ref": "#/components/schemas/BinaryPayload"
|
|
2556
|
+
}
|
|
2557
|
+
}
|
|
2558
|
+
}
|
|
2559
|
+
},
|
|
2560
|
+
"404": {
|
|
2561
|
+
"description": "Build, feedback or screenshot not found",
|
|
2562
|
+
"content": {
|
|
2563
|
+
"application/json": {
|
|
2564
|
+
"schema": {
|
|
2565
|
+
"$ref": "#/components/schemas/ApiError"
|
|
2566
|
+
}
|
|
2567
|
+
}
|
|
2568
|
+
}
|
|
2569
|
+
},
|
|
2570
|
+
"500": {
|
|
2571
|
+
"description": "The screenshot could not be read from artifact storage",
|
|
2572
|
+
"content": {
|
|
2573
|
+
"application/json": {
|
|
2574
|
+
"schema": {
|
|
2575
|
+
"$ref": "#/components/schemas/ApiError"
|
|
2576
|
+
}
|
|
2577
|
+
}
|
|
2578
|
+
}
|
|
2579
|
+
}
|
|
2580
|
+
},
|
|
2581
|
+
"security": [
|
|
2582
|
+
{
|
|
2583
|
+
"bearer_auth": []
|
|
2584
|
+
}
|
|
2585
|
+
]
|
|
2586
|
+
}
|
|
2587
|
+
},
|
|
2357
2588
|
"/v1/builds/{build_id}/logs": {
|
|
2358
2589
|
"get": {
|
|
2359
2590
|
"tags": [
|
|
@@ -5894,13 +6125,14 @@
|
|
|
5894
6125
|
]
|
|
5895
6126
|
}
|
|
5896
6127
|
},
|
|
5897
|
-
"/v1/projects/{project_id}/
|
|
6128
|
+
"/v1/projects/{project_id}/environments": {
|
|
5898
6129
|
"get": {
|
|
5899
6130
|
"tags": [
|
|
5900
|
-
"
|
|
6131
|
+
"Environments"
|
|
5901
6132
|
],
|
|
5902
|
-
"summary": "List project
|
|
5903
|
-
"
|
|
6133
|
+
"summary": "List project environments",
|
|
6134
|
+
"description": "Environments in promotion order, each with its newest release, plus pending promotions and the most recent decided ones.",
|
|
6135
|
+
"operationId": "list_project_environments",
|
|
5904
6136
|
"parameters": [
|
|
5905
6137
|
{
|
|
5906
6138
|
"name": "project_id",
|
|
@@ -5914,11 +6146,11 @@
|
|
|
5914
6146
|
],
|
|
5915
6147
|
"responses": {
|
|
5916
6148
|
"200": {
|
|
5917
|
-
"description": "
|
|
6149
|
+
"description": "Environments and promotions",
|
|
5918
6150
|
"content": {
|
|
5919
6151
|
"application/json": {
|
|
5920
6152
|
"schema": {
|
|
5921
|
-
"$ref": "#/components/schemas/
|
|
6153
|
+
"$ref": "#/components/schemas/ListProjectEnvironmentsResponse"
|
|
5922
6154
|
}
|
|
5923
6155
|
}
|
|
5924
6156
|
}
|
|
@@ -5942,10 +6174,11 @@
|
|
|
5942
6174
|
},
|
|
5943
6175
|
"post": {
|
|
5944
6176
|
"tags": [
|
|
5945
|
-
"
|
|
6177
|
+
"Environments"
|
|
5946
6178
|
],
|
|
5947
|
-
"summary": "
|
|
5948
|
-
"
|
|
6179
|
+
"summary": "Create environment",
|
|
6180
|
+
"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.",
|
|
6181
|
+
"operationId": "create_project_environment",
|
|
5949
6182
|
"parameters": [
|
|
5950
6183
|
{
|
|
5951
6184
|
"name": "project_id",
|
|
@@ -5961,25 +6194,35 @@
|
|
|
5961
6194
|
"content": {
|
|
5962
6195
|
"application/json": {
|
|
5963
6196
|
"schema": {
|
|
5964
|
-
"$ref": "#/components/schemas/
|
|
6197
|
+
"$ref": "#/components/schemas/CreateProjectEnvironmentRequest"
|
|
5965
6198
|
}
|
|
5966
6199
|
}
|
|
5967
6200
|
},
|
|
5968
6201
|
"required": true
|
|
5969
6202
|
},
|
|
5970
6203
|
"responses": {
|
|
5971
|
-
"
|
|
5972
|
-
"description": "
|
|
6204
|
+
"200": {
|
|
6205
|
+
"description": "Created environment",
|
|
5973
6206
|
"content": {
|
|
5974
6207
|
"application/json": {
|
|
5975
6208
|
"schema": {
|
|
5976
|
-
"$ref": "#/components/schemas/
|
|
6209
|
+
"$ref": "#/components/schemas/ProjectEnvironment"
|
|
5977
6210
|
}
|
|
5978
6211
|
}
|
|
5979
6212
|
}
|
|
5980
6213
|
},
|
|
5981
6214
|
"400": {
|
|
5982
|
-
"description": "Invalid
|
|
6215
|
+
"description": "Invalid input",
|
|
6216
|
+
"content": {
|
|
6217
|
+
"application/json": {
|
|
6218
|
+
"schema": {
|
|
6219
|
+
"$ref": "#/components/schemas/ApiError"
|
|
6220
|
+
}
|
|
6221
|
+
}
|
|
6222
|
+
}
|
|
6223
|
+
},
|
|
6224
|
+
"403": {
|
|
6225
|
+
"description": "Permission denied",
|
|
5983
6226
|
"content": {
|
|
5984
6227
|
"application/json": {
|
|
5985
6228
|
"schema": {
|
|
@@ -5999,7 +6242,7 @@
|
|
|
5999
6242
|
}
|
|
6000
6243
|
},
|
|
6001
6244
|
"409": {
|
|
6002
|
-
"description": "
|
|
6245
|
+
"description": "Key, or store and track, already used",
|
|
6003
6246
|
"content": {
|
|
6004
6247
|
"application/json": {
|
|
6005
6248
|
"schema": {
|
|
@@ -6016,13 +6259,14 @@
|
|
|
6016
6259
|
]
|
|
6017
6260
|
}
|
|
6018
6261
|
},
|
|
6019
|
-
"/v1/projects/{project_id}/
|
|
6020
|
-
"
|
|
6262
|
+
"/v1/projects/{project_id}/environments/{environment_id}": {
|
|
6263
|
+
"delete": {
|
|
6021
6264
|
"tags": [
|
|
6022
|
-
"
|
|
6265
|
+
"Environments"
|
|
6023
6266
|
],
|
|
6024
|
-
"summary": "
|
|
6025
|
-
"
|
|
6267
|
+
"summary": "Delete environment",
|
|
6268
|
+
"description": "Its releases stay without an environment; its promotions are removed. Requires the project maintainer role.",
|
|
6269
|
+
"operationId": "delete_project_environment",
|
|
6026
6270
|
"parameters": [
|
|
6027
6271
|
{
|
|
6028
6272
|
"name": "project_id",
|
|
@@ -6032,21 +6276,30 @@
|
|
|
6032
6276
|
"schema": {
|
|
6033
6277
|
"type": "string"
|
|
6034
6278
|
}
|
|
6279
|
+
},
|
|
6280
|
+
{
|
|
6281
|
+
"name": "environment_id",
|
|
6282
|
+
"in": "path",
|
|
6283
|
+
"description": "Environment ID",
|
|
6284
|
+
"required": true,
|
|
6285
|
+
"schema": {
|
|
6286
|
+
"type": "string"
|
|
6287
|
+
}
|
|
6035
6288
|
}
|
|
6036
6289
|
],
|
|
6037
6290
|
"responses": {
|
|
6038
6291
|
"200": {
|
|
6039
|
-
"description": "
|
|
6292
|
+
"description": "Deleted",
|
|
6040
6293
|
"content": {
|
|
6041
6294
|
"application/json": {
|
|
6042
6295
|
"schema": {
|
|
6043
|
-
"$ref": "#/components/schemas/
|
|
6296
|
+
"$ref": "#/components/schemas/OkResponse"
|
|
6044
6297
|
}
|
|
6045
6298
|
}
|
|
6046
6299
|
}
|
|
6047
6300
|
},
|
|
6048
6301
|
"403": {
|
|
6049
|
-
"description": "
|
|
6302
|
+
"description": "Permission denied",
|
|
6050
6303
|
"content": {
|
|
6051
6304
|
"application/json": {
|
|
6052
6305
|
"schema": {
|
|
@@ -6056,7 +6309,7 @@
|
|
|
6056
6309
|
}
|
|
6057
6310
|
},
|
|
6058
6311
|
"404": {
|
|
6059
|
-
"description": "
|
|
6312
|
+
"description": "Not found",
|
|
6060
6313
|
"content": {
|
|
6061
6314
|
"application/json": {
|
|
6062
6315
|
"schema": {
|
|
@@ -6064,10 +6317,294 @@
|
|
|
6064
6317
|
}
|
|
6065
6318
|
}
|
|
6066
6319
|
}
|
|
6067
|
-
}
|
|
6068
|
-
|
|
6069
|
-
|
|
6070
|
-
|
|
6320
|
+
},
|
|
6321
|
+
"409": {
|
|
6322
|
+
"description": "A promotion is in progress",
|
|
6323
|
+
"content": {
|
|
6324
|
+
"application/json": {
|
|
6325
|
+
"schema": {
|
|
6326
|
+
"$ref": "#/components/schemas/ApiError"
|
|
6327
|
+
}
|
|
6328
|
+
}
|
|
6329
|
+
}
|
|
6330
|
+
}
|
|
6331
|
+
},
|
|
6332
|
+
"security": [
|
|
6333
|
+
{
|
|
6334
|
+
"bearer_auth": []
|
|
6335
|
+
}
|
|
6336
|
+
]
|
|
6337
|
+
},
|
|
6338
|
+
"patch": {
|
|
6339
|
+
"tags": [
|
|
6340
|
+
"Environments"
|
|
6341
|
+
],
|
|
6342
|
+
"summary": "Update environment",
|
|
6343
|
+
"description": "Changes the name, track, approval rule, rollout policy or position. Requires the project maintainer role.",
|
|
6344
|
+
"operationId": "update_project_environment",
|
|
6345
|
+
"parameters": [
|
|
6346
|
+
{
|
|
6347
|
+
"name": "project_id",
|
|
6348
|
+
"in": "path",
|
|
6349
|
+
"description": "Project ID",
|
|
6350
|
+
"required": true,
|
|
6351
|
+
"schema": {
|
|
6352
|
+
"type": "string"
|
|
6353
|
+
}
|
|
6354
|
+
},
|
|
6355
|
+
{
|
|
6356
|
+
"name": "environment_id",
|
|
6357
|
+
"in": "path",
|
|
6358
|
+
"description": "Environment ID",
|
|
6359
|
+
"required": true,
|
|
6360
|
+
"schema": {
|
|
6361
|
+
"type": "string"
|
|
6362
|
+
}
|
|
6363
|
+
}
|
|
6364
|
+
],
|
|
6365
|
+
"requestBody": {
|
|
6366
|
+
"content": {
|
|
6367
|
+
"application/json": {
|
|
6368
|
+
"schema": {
|
|
6369
|
+
"$ref": "#/components/schemas/UpdateProjectEnvironmentRequest"
|
|
6370
|
+
}
|
|
6371
|
+
}
|
|
6372
|
+
},
|
|
6373
|
+
"required": true
|
|
6374
|
+
},
|
|
6375
|
+
"responses": {
|
|
6376
|
+
"200": {
|
|
6377
|
+
"description": "Updated environment",
|
|
6378
|
+
"content": {
|
|
6379
|
+
"application/json": {
|
|
6380
|
+
"schema": {
|
|
6381
|
+
"$ref": "#/components/schemas/ProjectEnvironment"
|
|
6382
|
+
}
|
|
6383
|
+
}
|
|
6384
|
+
}
|
|
6385
|
+
},
|
|
6386
|
+
"400": {
|
|
6387
|
+
"description": "Invalid input",
|
|
6388
|
+
"content": {
|
|
6389
|
+
"application/json": {
|
|
6390
|
+
"schema": {
|
|
6391
|
+
"$ref": "#/components/schemas/ApiError"
|
|
6392
|
+
}
|
|
6393
|
+
}
|
|
6394
|
+
}
|
|
6395
|
+
},
|
|
6396
|
+
"403": {
|
|
6397
|
+
"description": "Permission denied",
|
|
6398
|
+
"content": {
|
|
6399
|
+
"application/json": {
|
|
6400
|
+
"schema": {
|
|
6401
|
+
"$ref": "#/components/schemas/ApiError"
|
|
6402
|
+
}
|
|
6403
|
+
}
|
|
6404
|
+
}
|
|
6405
|
+
},
|
|
6406
|
+
"404": {
|
|
6407
|
+
"description": "Not found",
|
|
6408
|
+
"content": {
|
|
6409
|
+
"application/json": {
|
|
6410
|
+
"schema": {
|
|
6411
|
+
"$ref": "#/components/schemas/ApiError"
|
|
6412
|
+
}
|
|
6413
|
+
}
|
|
6414
|
+
}
|
|
6415
|
+
},
|
|
6416
|
+
"409": {
|
|
6417
|
+
"description": "Store and track already used",
|
|
6418
|
+
"content": {
|
|
6419
|
+
"application/json": {
|
|
6420
|
+
"schema": {
|
|
6421
|
+
"$ref": "#/components/schemas/ApiError"
|
|
6422
|
+
}
|
|
6423
|
+
}
|
|
6424
|
+
}
|
|
6425
|
+
}
|
|
6426
|
+
},
|
|
6427
|
+
"security": [
|
|
6428
|
+
{
|
|
6429
|
+
"bearer_auth": []
|
|
6430
|
+
}
|
|
6431
|
+
]
|
|
6432
|
+
}
|
|
6433
|
+
},
|
|
6434
|
+
"/v1/projects/{project_id}/members": {
|
|
6435
|
+
"get": {
|
|
6436
|
+
"tags": [
|
|
6437
|
+
"Project Members"
|
|
6438
|
+
],
|
|
6439
|
+
"summary": "List project members",
|
|
6440
|
+
"operationId": "list_project_members",
|
|
6441
|
+
"parameters": [
|
|
6442
|
+
{
|
|
6443
|
+
"name": "project_id",
|
|
6444
|
+
"in": "path",
|
|
6445
|
+
"description": "Project ID",
|
|
6446
|
+
"required": true,
|
|
6447
|
+
"schema": {
|
|
6448
|
+
"type": "string"
|
|
6449
|
+
}
|
|
6450
|
+
}
|
|
6451
|
+
],
|
|
6452
|
+
"responses": {
|
|
6453
|
+
"200": {
|
|
6454
|
+
"description": "Member list",
|
|
6455
|
+
"content": {
|
|
6456
|
+
"application/json": {
|
|
6457
|
+
"schema": {
|
|
6458
|
+
"$ref": "#/components/schemas/ListProjectMembersResponse"
|
|
6459
|
+
}
|
|
6460
|
+
}
|
|
6461
|
+
}
|
|
6462
|
+
},
|
|
6463
|
+
"404": {
|
|
6464
|
+
"description": "Project not found",
|
|
6465
|
+
"content": {
|
|
6466
|
+
"application/json": {
|
|
6467
|
+
"schema": {
|
|
6468
|
+
"$ref": "#/components/schemas/ApiError"
|
|
6469
|
+
}
|
|
6470
|
+
}
|
|
6471
|
+
}
|
|
6472
|
+
}
|
|
6473
|
+
},
|
|
6474
|
+
"security": [
|
|
6475
|
+
{
|
|
6476
|
+
"bearer_auth": []
|
|
6477
|
+
}
|
|
6478
|
+
]
|
|
6479
|
+
},
|
|
6480
|
+
"post": {
|
|
6481
|
+
"tags": [
|
|
6482
|
+
"Project Members"
|
|
6483
|
+
],
|
|
6484
|
+
"summary": "Add a member to a project",
|
|
6485
|
+
"operationId": "add_project_member",
|
|
6486
|
+
"parameters": [
|
|
6487
|
+
{
|
|
6488
|
+
"name": "project_id",
|
|
6489
|
+
"in": "path",
|
|
6490
|
+
"description": "Project ID",
|
|
6491
|
+
"required": true,
|
|
6492
|
+
"schema": {
|
|
6493
|
+
"type": "string"
|
|
6494
|
+
}
|
|
6495
|
+
}
|
|
6496
|
+
],
|
|
6497
|
+
"requestBody": {
|
|
6498
|
+
"content": {
|
|
6499
|
+
"application/json": {
|
|
6500
|
+
"schema": {
|
|
6501
|
+
"$ref": "#/components/schemas/AddProjectMemberRequest"
|
|
6502
|
+
}
|
|
6503
|
+
}
|
|
6504
|
+
},
|
|
6505
|
+
"required": true
|
|
6506
|
+
},
|
|
6507
|
+
"responses": {
|
|
6508
|
+
"201": {
|
|
6509
|
+
"description": "Member added",
|
|
6510
|
+
"content": {
|
|
6511
|
+
"application/json": {
|
|
6512
|
+
"schema": {
|
|
6513
|
+
"$ref": "#/components/schemas/AddProjectMemberResponse"
|
|
6514
|
+
}
|
|
6515
|
+
}
|
|
6516
|
+
}
|
|
6517
|
+
},
|
|
6518
|
+
"400": {
|
|
6519
|
+
"description": "Invalid user or user already has implicit access",
|
|
6520
|
+
"content": {
|
|
6521
|
+
"application/json": {
|
|
6522
|
+
"schema": {
|
|
6523
|
+
"$ref": "#/components/schemas/ApiError"
|
|
6524
|
+
}
|
|
6525
|
+
}
|
|
6526
|
+
}
|
|
6527
|
+
},
|
|
6528
|
+
"404": {
|
|
6529
|
+
"description": "Project not found",
|
|
6530
|
+
"content": {
|
|
6531
|
+
"application/json": {
|
|
6532
|
+
"schema": {
|
|
6533
|
+
"$ref": "#/components/schemas/ApiError"
|
|
6534
|
+
}
|
|
6535
|
+
}
|
|
6536
|
+
}
|
|
6537
|
+
},
|
|
6538
|
+
"409": {
|
|
6539
|
+
"description": "User is already a member",
|
|
6540
|
+
"content": {
|
|
6541
|
+
"application/json": {
|
|
6542
|
+
"schema": {
|
|
6543
|
+
"$ref": "#/components/schemas/ApiError"
|
|
6544
|
+
}
|
|
6545
|
+
}
|
|
6546
|
+
}
|
|
6547
|
+
}
|
|
6548
|
+
},
|
|
6549
|
+
"security": [
|
|
6550
|
+
{
|
|
6551
|
+
"bearer_auth": []
|
|
6552
|
+
}
|
|
6553
|
+
]
|
|
6554
|
+
}
|
|
6555
|
+
},
|
|
6556
|
+
"/v1/projects/{project_id}/members/candidates": {
|
|
6557
|
+
"get": {
|
|
6558
|
+
"tags": [
|
|
6559
|
+
"Project Members"
|
|
6560
|
+
],
|
|
6561
|
+
"summary": "List eligible project member candidates",
|
|
6562
|
+
"operationId": "list_project_member_candidates",
|
|
6563
|
+
"parameters": [
|
|
6564
|
+
{
|
|
6565
|
+
"name": "project_id",
|
|
6566
|
+
"in": "path",
|
|
6567
|
+
"description": "Project ID",
|
|
6568
|
+
"required": true,
|
|
6569
|
+
"schema": {
|
|
6570
|
+
"type": "string"
|
|
6571
|
+
}
|
|
6572
|
+
}
|
|
6573
|
+
],
|
|
6574
|
+
"responses": {
|
|
6575
|
+
"200": {
|
|
6576
|
+
"description": "Eligible member candidates",
|
|
6577
|
+
"content": {
|
|
6578
|
+
"application/json": {
|
|
6579
|
+
"schema": {
|
|
6580
|
+
"$ref": "#/components/schemas/ListProjectMemberCandidatesResponse"
|
|
6581
|
+
}
|
|
6582
|
+
}
|
|
6583
|
+
}
|
|
6584
|
+
},
|
|
6585
|
+
"403": {
|
|
6586
|
+
"description": "Manage Members permission required",
|
|
6587
|
+
"content": {
|
|
6588
|
+
"application/json": {
|
|
6589
|
+
"schema": {
|
|
6590
|
+
"$ref": "#/components/schemas/ApiError"
|
|
6591
|
+
}
|
|
6592
|
+
}
|
|
6593
|
+
}
|
|
6594
|
+
},
|
|
6595
|
+
"404": {
|
|
6596
|
+
"description": "Project not found",
|
|
6597
|
+
"content": {
|
|
6598
|
+
"application/json": {
|
|
6599
|
+
"schema": {
|
|
6600
|
+
"$ref": "#/components/schemas/ApiError"
|
|
6601
|
+
}
|
|
6602
|
+
}
|
|
6603
|
+
}
|
|
6604
|
+
}
|
|
6605
|
+
},
|
|
6606
|
+
"security": [
|
|
6607
|
+
{
|
|
6071
6608
|
"bearer_auth": []
|
|
6072
6609
|
}
|
|
6073
6610
|
]
|
|
@@ -6342,6 +6879,292 @@
|
|
|
6342
6879
|
]
|
|
6343
6880
|
}
|
|
6344
6881
|
},
|
|
6882
|
+
"/v1/projects/{project_id}/promotions": {
|
|
6883
|
+
"post": {
|
|
6884
|
+
"tags": [
|
|
6885
|
+
"Environments"
|
|
6886
|
+
],
|
|
6887
|
+
"summary": "Promote build",
|
|
6888
|
+
"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.",
|
|
6889
|
+
"operationId": "promote_build",
|
|
6890
|
+
"parameters": [
|
|
6891
|
+
{
|
|
6892
|
+
"name": "project_id",
|
|
6893
|
+
"in": "path",
|
|
6894
|
+
"description": "Project ID",
|
|
6895
|
+
"required": true,
|
|
6896
|
+
"schema": {
|
|
6897
|
+
"type": "string"
|
|
6898
|
+
}
|
|
6899
|
+
}
|
|
6900
|
+
],
|
|
6901
|
+
"requestBody": {
|
|
6902
|
+
"content": {
|
|
6903
|
+
"application/json": {
|
|
6904
|
+
"schema": {
|
|
6905
|
+
"$ref": "#/components/schemas/CreatePromotionRequest"
|
|
6906
|
+
}
|
|
6907
|
+
}
|
|
6908
|
+
},
|
|
6909
|
+
"required": true
|
|
6910
|
+
},
|
|
6911
|
+
"responses": {
|
|
6912
|
+
"200": {
|
|
6913
|
+
"description": "The promotion, completed or pending",
|
|
6914
|
+
"content": {
|
|
6915
|
+
"application/json": {
|
|
6916
|
+
"schema": {
|
|
6917
|
+
"$ref": "#/components/schemas/EnvironmentPromotion"
|
|
6918
|
+
}
|
|
6919
|
+
}
|
|
6920
|
+
}
|
|
6921
|
+
},
|
|
6922
|
+
"403": {
|
|
6923
|
+
"description": "Permission denied",
|
|
6924
|
+
"content": {
|
|
6925
|
+
"application/json": {
|
|
6926
|
+
"schema": {
|
|
6927
|
+
"$ref": "#/components/schemas/ApiError"
|
|
6928
|
+
}
|
|
6929
|
+
}
|
|
6930
|
+
}
|
|
6931
|
+
},
|
|
6932
|
+
"404": {
|
|
6933
|
+
"description": "Project, environment or build not found",
|
|
6934
|
+
"content": {
|
|
6935
|
+
"application/json": {
|
|
6936
|
+
"schema": {
|
|
6937
|
+
"$ref": "#/components/schemas/ApiError"
|
|
6938
|
+
}
|
|
6939
|
+
}
|
|
6940
|
+
}
|
|
6941
|
+
},
|
|
6942
|
+
"409": {
|
|
6943
|
+
"description": "Already in the environment, pending, unsupported store, or no live release to promote",
|
|
6944
|
+
"content": {
|
|
6945
|
+
"application/json": {
|
|
6946
|
+
"schema": {
|
|
6947
|
+
"$ref": "#/components/schemas/ApiError"
|
|
6948
|
+
}
|
|
6949
|
+
}
|
|
6950
|
+
}
|
|
6951
|
+
},
|
|
6952
|
+
"502": {
|
|
6953
|
+
"description": "The store rejected the promotion",
|
|
6954
|
+
"content": {
|
|
6955
|
+
"application/json": {
|
|
6956
|
+
"schema": {
|
|
6957
|
+
"$ref": "#/components/schemas/ApiError"
|
|
6958
|
+
}
|
|
6959
|
+
}
|
|
6960
|
+
}
|
|
6961
|
+
}
|
|
6962
|
+
},
|
|
6963
|
+
"security": [
|
|
6964
|
+
{
|
|
6965
|
+
"bearer_auth": []
|
|
6966
|
+
}
|
|
6967
|
+
]
|
|
6968
|
+
}
|
|
6969
|
+
},
|
|
6970
|
+
"/v1/projects/{project_id}/promotions/{promotion_id}/approve": {
|
|
6971
|
+
"post": {
|
|
6972
|
+
"tags": [
|
|
6973
|
+
"Environments"
|
|
6974
|
+
],
|
|
6975
|
+
"summary": "Approve promotion",
|
|
6976
|
+
"description": "Approves a pending promotion and makes the store change as the approver. Requires the maintainer role. Writes an audit log entry.",
|
|
6977
|
+
"operationId": "approve_promotion",
|
|
6978
|
+
"parameters": [
|
|
6979
|
+
{
|
|
6980
|
+
"name": "project_id",
|
|
6981
|
+
"in": "path",
|
|
6982
|
+
"description": "Project ID",
|
|
6983
|
+
"required": true,
|
|
6984
|
+
"schema": {
|
|
6985
|
+
"type": "string"
|
|
6986
|
+
}
|
|
6987
|
+
},
|
|
6988
|
+
{
|
|
6989
|
+
"name": "promotion_id",
|
|
6990
|
+
"in": "path",
|
|
6991
|
+
"description": "Promotion ID",
|
|
6992
|
+
"required": true,
|
|
6993
|
+
"schema": {
|
|
6994
|
+
"type": "string"
|
|
6995
|
+
}
|
|
6996
|
+
}
|
|
6997
|
+
],
|
|
6998
|
+
"requestBody": {
|
|
6999
|
+
"description": "Optional reason",
|
|
7000
|
+
"content": {
|
|
7001
|
+
"application/json": {
|
|
7002
|
+
"schema": {
|
|
7003
|
+
"oneOf": [
|
|
7004
|
+
{
|
|
7005
|
+
"type": "null"
|
|
7006
|
+
},
|
|
7007
|
+
{
|
|
7008
|
+
"$ref": "#/components/schemas/PromotionDecisionRequest"
|
|
7009
|
+
}
|
|
7010
|
+
]
|
|
7011
|
+
}
|
|
7012
|
+
}
|
|
7013
|
+
}
|
|
7014
|
+
},
|
|
7015
|
+
"responses": {
|
|
7016
|
+
"200": {
|
|
7017
|
+
"description": "Completed promotion",
|
|
7018
|
+
"content": {
|
|
7019
|
+
"application/json": {
|
|
7020
|
+
"schema": {
|
|
7021
|
+
"$ref": "#/components/schemas/EnvironmentPromotion"
|
|
7022
|
+
}
|
|
7023
|
+
}
|
|
7024
|
+
}
|
|
7025
|
+
},
|
|
7026
|
+
"403": {
|
|
7027
|
+
"description": "Permission denied",
|
|
7028
|
+
"content": {
|
|
7029
|
+
"application/json": {
|
|
7030
|
+
"schema": {
|
|
7031
|
+
"$ref": "#/components/schemas/ApiError"
|
|
7032
|
+
}
|
|
7033
|
+
}
|
|
7034
|
+
}
|
|
7035
|
+
},
|
|
7036
|
+
"404": {
|
|
7037
|
+
"description": "Not found",
|
|
7038
|
+
"content": {
|
|
7039
|
+
"application/json": {
|
|
7040
|
+
"schema": {
|
|
7041
|
+
"$ref": "#/components/schemas/ApiError"
|
|
7042
|
+
}
|
|
7043
|
+
}
|
|
7044
|
+
}
|
|
7045
|
+
},
|
|
7046
|
+
"409": {
|
|
7047
|
+
"description": "Not pending, or the build changed while it waited",
|
|
7048
|
+
"content": {
|
|
7049
|
+
"application/json": {
|
|
7050
|
+
"schema": {
|
|
7051
|
+
"$ref": "#/components/schemas/ApiError"
|
|
7052
|
+
}
|
|
7053
|
+
}
|
|
7054
|
+
}
|
|
7055
|
+
},
|
|
7056
|
+
"502": {
|
|
7057
|
+
"description": "The store rejected the promotion",
|
|
7058
|
+
"content": {
|
|
7059
|
+
"application/json": {
|
|
7060
|
+
"schema": {
|
|
7061
|
+
"$ref": "#/components/schemas/ApiError"
|
|
7062
|
+
}
|
|
7063
|
+
}
|
|
7064
|
+
}
|
|
7065
|
+
}
|
|
7066
|
+
},
|
|
7067
|
+
"security": [
|
|
7068
|
+
{
|
|
7069
|
+
"bearer_auth": []
|
|
7070
|
+
}
|
|
7071
|
+
]
|
|
7072
|
+
}
|
|
7073
|
+
},
|
|
7074
|
+
"/v1/projects/{project_id}/promotions/{promotion_id}/reject": {
|
|
7075
|
+
"post": {
|
|
7076
|
+
"tags": [
|
|
7077
|
+
"Environments"
|
|
7078
|
+
],
|
|
7079
|
+
"summary": "Reject promotion",
|
|
7080
|
+
"description": "Rejects a pending promotion; nothing changes at the store. Requires the maintainer role. Writes an audit log entry.",
|
|
7081
|
+
"operationId": "reject_promotion",
|
|
7082
|
+
"parameters": [
|
|
7083
|
+
{
|
|
7084
|
+
"name": "project_id",
|
|
7085
|
+
"in": "path",
|
|
7086
|
+
"description": "Project ID",
|
|
7087
|
+
"required": true,
|
|
7088
|
+
"schema": {
|
|
7089
|
+
"type": "string"
|
|
7090
|
+
}
|
|
7091
|
+
},
|
|
7092
|
+
{
|
|
7093
|
+
"name": "promotion_id",
|
|
7094
|
+
"in": "path",
|
|
7095
|
+
"description": "Promotion ID",
|
|
7096
|
+
"required": true,
|
|
7097
|
+
"schema": {
|
|
7098
|
+
"type": "string"
|
|
7099
|
+
}
|
|
7100
|
+
}
|
|
7101
|
+
],
|
|
7102
|
+
"requestBody": {
|
|
7103
|
+
"description": "Optional reason",
|
|
7104
|
+
"content": {
|
|
7105
|
+
"application/json": {
|
|
7106
|
+
"schema": {
|
|
7107
|
+
"oneOf": [
|
|
7108
|
+
{
|
|
7109
|
+
"type": "null"
|
|
7110
|
+
},
|
|
7111
|
+
{
|
|
7112
|
+
"$ref": "#/components/schemas/PromotionDecisionRequest"
|
|
7113
|
+
}
|
|
7114
|
+
]
|
|
7115
|
+
}
|
|
7116
|
+
}
|
|
7117
|
+
}
|
|
7118
|
+
},
|
|
7119
|
+
"responses": {
|
|
7120
|
+
"200": {
|
|
7121
|
+
"description": "Rejected promotion",
|
|
7122
|
+
"content": {
|
|
7123
|
+
"application/json": {
|
|
7124
|
+
"schema": {
|
|
7125
|
+
"$ref": "#/components/schemas/EnvironmentPromotion"
|
|
7126
|
+
}
|
|
7127
|
+
}
|
|
7128
|
+
}
|
|
7129
|
+
},
|
|
7130
|
+
"403": {
|
|
7131
|
+
"description": "Permission denied",
|
|
7132
|
+
"content": {
|
|
7133
|
+
"application/json": {
|
|
7134
|
+
"schema": {
|
|
7135
|
+
"$ref": "#/components/schemas/ApiError"
|
|
7136
|
+
}
|
|
7137
|
+
}
|
|
7138
|
+
}
|
|
7139
|
+
},
|
|
7140
|
+
"404": {
|
|
7141
|
+
"description": "Not found",
|
|
7142
|
+
"content": {
|
|
7143
|
+
"application/json": {
|
|
7144
|
+
"schema": {
|
|
7145
|
+
"$ref": "#/components/schemas/ApiError"
|
|
7146
|
+
}
|
|
7147
|
+
}
|
|
7148
|
+
}
|
|
7149
|
+
},
|
|
7150
|
+
"409": {
|
|
7151
|
+
"description": "Not pending",
|
|
7152
|
+
"content": {
|
|
7153
|
+
"application/json": {
|
|
7154
|
+
"schema": {
|
|
7155
|
+
"$ref": "#/components/schemas/ApiError"
|
|
7156
|
+
}
|
|
7157
|
+
}
|
|
7158
|
+
}
|
|
7159
|
+
}
|
|
7160
|
+
},
|
|
7161
|
+
"security": [
|
|
7162
|
+
{
|
|
7163
|
+
"bearer_auth": []
|
|
7164
|
+
}
|
|
7165
|
+
]
|
|
7166
|
+
}
|
|
7167
|
+
},
|
|
6345
7168
|
"/v1/projects/{project_id}/repository-workflows": {
|
|
6346
7169
|
"get": {
|
|
6347
7170
|
"tags": [
|
|
@@ -13332,6 +14155,70 @@
|
|
|
13332
14155
|
}
|
|
13333
14156
|
}
|
|
13334
14157
|
},
|
|
14158
|
+
"BuildFeedback": {
|
|
14159
|
+
"type": "object",
|
|
14160
|
+
"required": [
|
|
14161
|
+
"id",
|
|
14162
|
+
"build_id",
|
|
14163
|
+
"author_email",
|
|
14164
|
+
"message",
|
|
14165
|
+
"has_screenshot",
|
|
14166
|
+
"created_at"
|
|
14167
|
+
],
|
|
14168
|
+
"properties": {
|
|
14169
|
+
"app_version": {
|
|
14170
|
+
"type": [
|
|
14171
|
+
"string",
|
|
14172
|
+
"null"
|
|
14173
|
+
]
|
|
14174
|
+
},
|
|
14175
|
+
"artifact_id": {
|
|
14176
|
+
"type": [
|
|
14177
|
+
"string",
|
|
14178
|
+
"null"
|
|
14179
|
+
]
|
|
14180
|
+
},
|
|
14181
|
+
"author_email": {
|
|
14182
|
+
"type": "string",
|
|
14183
|
+
"description": "Email of the person who sent it."
|
|
14184
|
+
},
|
|
14185
|
+
"author_name": {
|
|
14186
|
+
"type": [
|
|
14187
|
+
"string",
|
|
14188
|
+
"null"
|
|
14189
|
+
]
|
|
14190
|
+
},
|
|
14191
|
+
"build_id": {
|
|
14192
|
+
"type": "string"
|
|
14193
|
+
},
|
|
14194
|
+
"created_at": {
|
|
14195
|
+
"type": "integer",
|
|
14196
|
+
"format": "int64"
|
|
14197
|
+
},
|
|
14198
|
+
"device": {
|
|
14199
|
+
"type": [
|
|
14200
|
+
"string",
|
|
14201
|
+
"null"
|
|
14202
|
+
]
|
|
14203
|
+
},
|
|
14204
|
+
"has_screenshot": {
|
|
14205
|
+
"type": "boolean",
|
|
14206
|
+
"description": "Fetch it from `GET /v1/builds/{build_id}/feedback/{feedback_id}/screenshot`."
|
|
14207
|
+
},
|
|
14208
|
+
"id": {
|
|
14209
|
+
"type": "string"
|
|
14210
|
+
},
|
|
14211
|
+
"message": {
|
|
14212
|
+
"type": "string"
|
|
14213
|
+
},
|
|
14214
|
+
"os_version": {
|
|
14215
|
+
"type": [
|
|
14216
|
+
"string",
|
|
14217
|
+
"null"
|
|
14218
|
+
]
|
|
14219
|
+
}
|
|
14220
|
+
}
|
|
14221
|
+
},
|
|
13335
14222
|
"BuildInsightsDay": {
|
|
13336
14223
|
"type": "object",
|
|
13337
14224
|
"description": "One day of finished builds, in the caller's UTC offset.",
|
|
@@ -14027,6 +14914,53 @@
|
|
|
14027
14914
|
}
|
|
14028
14915
|
}
|
|
14029
14916
|
},
|
|
14917
|
+
"CreateBuildFeedbackRequest": {
|
|
14918
|
+
"type": "object",
|
|
14919
|
+
"required": [
|
|
14920
|
+
"message"
|
|
14921
|
+
],
|
|
14922
|
+
"properties": {
|
|
14923
|
+
"app_version": {
|
|
14924
|
+
"type": [
|
|
14925
|
+
"string",
|
|
14926
|
+
"null"
|
|
14927
|
+
],
|
|
14928
|
+
"description": "App version the tester installed, such as `2.4.0+118`."
|
|
14929
|
+
},
|
|
14930
|
+
"artifact_id": {
|
|
14931
|
+
"type": [
|
|
14932
|
+
"string",
|
|
14933
|
+
"null"
|
|
14934
|
+
],
|
|
14935
|
+
"description": "The build's artifact the tester installed. Must belong to this build."
|
|
14936
|
+
},
|
|
14937
|
+
"device": {
|
|
14938
|
+
"type": [
|
|
14939
|
+
"string",
|
|
14940
|
+
"null"
|
|
14941
|
+
],
|
|
14942
|
+
"description": "Device model, such as `Pixel 8` or `iPhone`."
|
|
14943
|
+
},
|
|
14944
|
+
"message": {
|
|
14945
|
+
"type": "string",
|
|
14946
|
+
"description": "What the tester saw. 1 to 4000 characters."
|
|
14947
|
+
},
|
|
14948
|
+
"os_version": {
|
|
14949
|
+
"type": [
|
|
14950
|
+
"string",
|
|
14951
|
+
"null"
|
|
14952
|
+
],
|
|
14953
|
+
"description": "Operating system and version, such as `Android 15` or `iOS 18.1`."
|
|
14954
|
+
},
|
|
14955
|
+
"screenshot_base64": {
|
|
14956
|
+
"type": [
|
|
14957
|
+
"string",
|
|
14958
|
+
"null"
|
|
14959
|
+
],
|
|
14960
|
+
"description": "Optional PNG, JPEG or WebP screenshot, base64 encoded, at most 5 MiB\ndecoded. Requires artifact storage."
|
|
14961
|
+
}
|
|
14962
|
+
}
|
|
14963
|
+
},
|
|
14030
14964
|
"CreateBuildRequest": {
|
|
14031
14965
|
"type": "object",
|
|
14032
14966
|
"required": [
|
|
@@ -14261,6 +15195,43 @@
|
|
|
14261
15195
|
}
|
|
14262
15196
|
}
|
|
14263
15197
|
},
|
|
15198
|
+
"CreateProjectEnvironmentRequest": {
|
|
15199
|
+
"type": "object",
|
|
15200
|
+
"required": [
|
|
15201
|
+
"key",
|
|
15202
|
+
"name",
|
|
15203
|
+
"store",
|
|
15204
|
+
"track"
|
|
15205
|
+
],
|
|
15206
|
+
"properties": {
|
|
15207
|
+
"approval_required": {
|
|
15208
|
+
"type": "boolean"
|
|
15209
|
+
},
|
|
15210
|
+
"key": {
|
|
15211
|
+
"type": "string"
|
|
15212
|
+
},
|
|
15213
|
+
"name": {
|
|
15214
|
+
"type": "string"
|
|
15215
|
+
},
|
|
15216
|
+
"rollout_policy": {
|
|
15217
|
+
"oneOf": [
|
|
15218
|
+
{
|
|
15219
|
+
"type": "null"
|
|
15220
|
+
},
|
|
15221
|
+
{
|
|
15222
|
+
"$ref": "#/components/schemas/ReleasePolicy",
|
|
15223
|
+
"description": "Defaults to the standard schedule with no crash-rate halt."
|
|
15224
|
+
}
|
|
15225
|
+
]
|
|
15226
|
+
},
|
|
15227
|
+
"store": {
|
|
15228
|
+
"$ref": "#/components/schemas/ReleaseStore"
|
|
15229
|
+
},
|
|
15230
|
+
"track": {
|
|
15231
|
+
"type": "string"
|
|
15232
|
+
}
|
|
15233
|
+
}
|
|
15234
|
+
},
|
|
14264
15235
|
"CreateProjectRequest": {
|
|
14265
15236
|
"type": "object",
|
|
14266
15237
|
"required": [
|
|
@@ -14307,6 +15278,28 @@
|
|
|
14307
15278
|
}
|
|
14308
15279
|
}
|
|
14309
15280
|
},
|
|
15281
|
+
"CreatePromotionRequest": {
|
|
15282
|
+
"type": "object",
|
|
15283
|
+
"required": [
|
|
15284
|
+
"build_id",
|
|
15285
|
+
"environment_id"
|
|
15286
|
+
],
|
|
15287
|
+
"properties": {
|
|
15288
|
+
"build_id": {
|
|
15289
|
+
"type": "string"
|
|
15290
|
+
},
|
|
15291
|
+
"environment_id": {
|
|
15292
|
+
"type": "string",
|
|
15293
|
+
"description": "The environment to promote into."
|
|
15294
|
+
},
|
|
15295
|
+
"reason": {
|
|
15296
|
+
"type": [
|
|
15297
|
+
"string",
|
|
15298
|
+
"null"
|
|
15299
|
+
]
|
|
15300
|
+
}
|
|
15301
|
+
}
|
|
15302
|
+
},
|
|
14310
15303
|
"CreateReleaseRequest": {
|
|
14311
15304
|
"type": "object",
|
|
14312
15305
|
"required": [
|
|
@@ -14475,74 +15468,202 @@
|
|
|
14475
15468
|
"project_id": {
|
|
14476
15469
|
"type": "string"
|
|
14477
15470
|
},
|
|
14478
|
-
"provider": {
|
|
14479
|
-
"$ref": "#/components/schemas/ScmProvider"
|
|
15471
|
+
"provider": {
|
|
15472
|
+
"$ref": "#/components/schemas/ScmProvider"
|
|
15473
|
+
},
|
|
15474
|
+
"reference": {
|
|
15475
|
+
"type": "string",
|
|
15476
|
+
"description": "Branch, tag, or commit requested for discovery."
|
|
15477
|
+
},
|
|
15478
|
+
"truncated": {
|
|
15479
|
+
"type": "boolean",
|
|
15480
|
+
"description": "True when more matching files existed than the bounded response could inspect."
|
|
15481
|
+
},
|
|
15482
|
+
"workflows": {
|
|
15483
|
+
"type": "array",
|
|
15484
|
+
"items": {
|
|
15485
|
+
"$ref": "#/components/schemas/RepositoryWorkflowPreview"
|
|
15486
|
+
}
|
|
15487
|
+
}
|
|
15488
|
+
}
|
|
15489
|
+
},
|
|
15490
|
+
"DurationPercentiles": {
|
|
15491
|
+
"type": "object",
|
|
15492
|
+
"description": "Median and 90th percentile of a duration, in seconds.",
|
|
15493
|
+
"required": [
|
|
15494
|
+
"samples"
|
|
15495
|
+
],
|
|
15496
|
+
"properties": {
|
|
15497
|
+
"p50_seconds": {
|
|
15498
|
+
"type": [
|
|
15499
|
+
"integer",
|
|
15500
|
+
"null"
|
|
15501
|
+
],
|
|
15502
|
+
"format": "int64"
|
|
15503
|
+
},
|
|
15504
|
+
"p90_seconds": {
|
|
15505
|
+
"type": [
|
|
15506
|
+
"integer",
|
|
15507
|
+
"null"
|
|
15508
|
+
],
|
|
15509
|
+
"format": "int64"
|
|
15510
|
+
},
|
|
15511
|
+
"samples": {
|
|
15512
|
+
"type": "integer",
|
|
15513
|
+
"format": "int64",
|
|
15514
|
+
"description": "Builds the percentiles cover."
|
|
15515
|
+
}
|
|
15516
|
+
}
|
|
15517
|
+
},
|
|
15518
|
+
"EffectiveProjectRetentionResponse": {
|
|
15519
|
+
"type": "object",
|
|
15520
|
+
"required": [
|
|
15521
|
+
"effective",
|
|
15522
|
+
"has_override"
|
|
15523
|
+
],
|
|
15524
|
+
"properties": {
|
|
15525
|
+
"effective": {
|
|
15526
|
+
"$ref": "#/components/schemas/RetentionPolicy"
|
|
15527
|
+
},
|
|
15528
|
+
"has_override": {
|
|
15529
|
+
"type": "boolean"
|
|
15530
|
+
},
|
|
15531
|
+
"override_fields": {
|
|
15532
|
+
"oneOf": [
|
|
15533
|
+
{
|
|
15534
|
+
"type": "null"
|
|
15535
|
+
},
|
|
15536
|
+
{
|
|
15537
|
+
"$ref": "#/components/schemas/ProjectRetentionOverride"
|
|
15538
|
+
}
|
|
15539
|
+
]
|
|
15540
|
+
}
|
|
15541
|
+
}
|
|
15542
|
+
},
|
|
15543
|
+
"EnvironmentPromotion": {
|
|
15544
|
+
"type": "object",
|
|
15545
|
+
"description": "A request to put an existing build into an environment.",
|
|
15546
|
+
"required": [
|
|
15547
|
+
"id",
|
|
15548
|
+
"project_id",
|
|
15549
|
+
"build_id",
|
|
15550
|
+
"environment_id",
|
|
15551
|
+
"environment_name",
|
|
15552
|
+
"source_release_id",
|
|
15553
|
+
"source_track",
|
|
15554
|
+
"state",
|
|
15555
|
+
"can_decide",
|
|
15556
|
+
"created_at",
|
|
15557
|
+
"updated_at"
|
|
15558
|
+
],
|
|
15559
|
+
"properties": {
|
|
15560
|
+
"build_id": {
|
|
15561
|
+
"type": "string"
|
|
15562
|
+
},
|
|
15563
|
+
"build_number": {
|
|
15564
|
+
"type": [
|
|
15565
|
+
"integer",
|
|
15566
|
+
"null"
|
|
15567
|
+
],
|
|
15568
|
+
"format": "int64"
|
|
15569
|
+
},
|
|
15570
|
+
"can_decide": {
|
|
15571
|
+
"type": "boolean",
|
|
15572
|
+
"description": "Whether the caller may approve or reject this promotion now."
|
|
15573
|
+
},
|
|
15574
|
+
"created_at": {
|
|
15575
|
+
"type": "integer",
|
|
15576
|
+
"format": "int64"
|
|
15577
|
+
},
|
|
15578
|
+
"decided_at": {
|
|
15579
|
+
"type": [
|
|
15580
|
+
"integer",
|
|
15581
|
+
"null"
|
|
15582
|
+
],
|
|
15583
|
+
"format": "int64"
|
|
15584
|
+
},
|
|
15585
|
+
"decided_by_email": {
|
|
15586
|
+
"type": [
|
|
15587
|
+
"string",
|
|
15588
|
+
"null"
|
|
15589
|
+
]
|
|
15590
|
+
},
|
|
15591
|
+
"decision_reason": {
|
|
15592
|
+
"type": [
|
|
15593
|
+
"string",
|
|
15594
|
+
"null"
|
|
15595
|
+
]
|
|
15596
|
+
},
|
|
15597
|
+
"environment_id": {
|
|
15598
|
+
"type": "string"
|
|
15599
|
+
},
|
|
15600
|
+
"environment_name": {
|
|
15601
|
+
"type": "string"
|
|
15602
|
+
},
|
|
15603
|
+
"error": {
|
|
15604
|
+
"type": [
|
|
15605
|
+
"string",
|
|
15606
|
+
"null"
|
|
15607
|
+
],
|
|
15608
|
+
"description": "Why the promotion failed."
|
|
15609
|
+
},
|
|
15610
|
+
"id": {
|
|
15611
|
+
"type": "string"
|
|
15612
|
+
},
|
|
15613
|
+
"project_id": {
|
|
15614
|
+
"type": "string"
|
|
15615
|
+
},
|
|
15616
|
+
"reason": {
|
|
15617
|
+
"type": [
|
|
15618
|
+
"string",
|
|
15619
|
+
"null"
|
|
15620
|
+
]
|
|
14480
15621
|
},
|
|
14481
|
-
"
|
|
14482
|
-
"type":
|
|
14483
|
-
|
|
15622
|
+
"release_id": {
|
|
15623
|
+
"type": [
|
|
15624
|
+
"string",
|
|
15625
|
+
"null"
|
|
15626
|
+
],
|
|
15627
|
+
"description": "The release the promotion created, once completed."
|
|
14484
15628
|
},
|
|
14485
|
-
"
|
|
14486
|
-
"type":
|
|
14487
|
-
|
|
15629
|
+
"requested_by_email": {
|
|
15630
|
+
"type": [
|
|
15631
|
+
"string",
|
|
15632
|
+
"null"
|
|
15633
|
+
]
|
|
14488
15634
|
},
|
|
14489
|
-
"
|
|
14490
|
-
"type": "array",
|
|
14491
|
-
"items": {
|
|
14492
|
-
"$ref": "#/components/schemas/RepositoryWorkflowPreview"
|
|
14493
|
-
}
|
|
14494
|
-
}
|
|
14495
|
-
}
|
|
14496
|
-
},
|
|
14497
|
-
"DurationPercentiles": {
|
|
14498
|
-
"type": "object",
|
|
14499
|
-
"description": "Median and 90th percentile of a duration, in seconds.",
|
|
14500
|
-
"required": [
|
|
14501
|
-
"samples"
|
|
14502
|
-
],
|
|
14503
|
-
"properties": {
|
|
14504
|
-
"p50_seconds": {
|
|
15635
|
+
"source_environment_name": {
|
|
14505
15636
|
"type": [
|
|
14506
|
-
"
|
|
15637
|
+
"string",
|
|
14507
15638
|
"null"
|
|
14508
15639
|
],
|
|
15640
|
+
"description": "Where the source release was, when it belongs to an environment."
|
|
15641
|
+
},
|
|
15642
|
+
"source_release_id": {
|
|
15643
|
+
"type": "string",
|
|
15644
|
+
"description": "The release the build is promoted from."
|
|
15645
|
+
},
|
|
15646
|
+
"source_track": {
|
|
15647
|
+
"type": "string"
|
|
15648
|
+
},
|
|
15649
|
+
"state": {
|
|
15650
|
+
"$ref": "#/components/schemas/PromotionState"
|
|
15651
|
+
},
|
|
15652
|
+
"updated_at": {
|
|
15653
|
+
"type": "integer",
|
|
14509
15654
|
"format": "int64"
|
|
14510
15655
|
},
|
|
14511
|
-
"
|
|
15656
|
+
"version_code": {
|
|
14512
15657
|
"type": [
|
|
14513
15658
|
"integer",
|
|
14514
15659
|
"null"
|
|
14515
15660
|
],
|
|
14516
15661
|
"format": "int64"
|
|
14517
15662
|
},
|
|
14518
|
-
"
|
|
14519
|
-
"type":
|
|
14520
|
-
|
|
14521
|
-
|
|
14522
|
-
}
|
|
14523
|
-
}
|
|
14524
|
-
},
|
|
14525
|
-
"EffectiveProjectRetentionResponse": {
|
|
14526
|
-
"type": "object",
|
|
14527
|
-
"required": [
|
|
14528
|
-
"effective",
|
|
14529
|
-
"has_override"
|
|
14530
|
-
],
|
|
14531
|
-
"properties": {
|
|
14532
|
-
"effective": {
|
|
14533
|
-
"$ref": "#/components/schemas/RetentionPolicy"
|
|
14534
|
-
},
|
|
14535
|
-
"has_override": {
|
|
14536
|
-
"type": "boolean"
|
|
14537
|
-
},
|
|
14538
|
-
"override_fields": {
|
|
14539
|
-
"oneOf": [
|
|
14540
|
-
{
|
|
14541
|
-
"type": "null"
|
|
14542
|
-
},
|
|
14543
|
-
{
|
|
14544
|
-
"$ref": "#/components/schemas/ProjectRetentionOverride"
|
|
14545
|
-
}
|
|
15663
|
+
"version_name": {
|
|
15664
|
+
"type": [
|
|
15665
|
+
"string",
|
|
15666
|
+
"null"
|
|
14546
15667
|
]
|
|
14547
15668
|
}
|
|
14548
15669
|
}
|
|
@@ -15693,6 +16814,21 @@
|
|
|
15693
16814
|
}
|
|
15694
16815
|
}
|
|
15695
16816
|
},
|
|
16817
|
+
"ListBuildFeedbackResponse": {
|
|
16818
|
+
"type": "object",
|
|
16819
|
+
"required": [
|
|
16820
|
+
"feedback"
|
|
16821
|
+
],
|
|
16822
|
+
"properties": {
|
|
16823
|
+
"feedback": {
|
|
16824
|
+
"type": "array",
|
|
16825
|
+
"items": {
|
|
16826
|
+
"$ref": "#/components/schemas/BuildFeedback"
|
|
16827
|
+
},
|
|
16828
|
+
"description": "Oldest first."
|
|
16829
|
+
}
|
|
16830
|
+
}
|
|
16831
|
+
},
|
|
15696
16832
|
"ListBuildsResponse": {
|
|
15697
16833
|
"type": "object",
|
|
15698
16834
|
"required": [
|
|
@@ -15839,6 +16975,29 @@
|
|
|
15839
16975
|
}
|
|
15840
16976
|
}
|
|
15841
16977
|
},
|
|
16978
|
+
"ListProjectEnvironmentsResponse": {
|
|
16979
|
+
"type": "object",
|
|
16980
|
+
"required": [
|
|
16981
|
+
"environments",
|
|
16982
|
+
"promotions"
|
|
16983
|
+
],
|
|
16984
|
+
"properties": {
|
|
16985
|
+
"environments": {
|
|
16986
|
+
"type": "array",
|
|
16987
|
+
"items": {
|
|
16988
|
+
"$ref": "#/components/schemas/ProjectEnvironment"
|
|
16989
|
+
},
|
|
16990
|
+
"description": "Environments in promotion order."
|
|
16991
|
+
},
|
|
16992
|
+
"promotions": {
|
|
16993
|
+
"type": "array",
|
|
16994
|
+
"items": {
|
|
16995
|
+
"$ref": "#/components/schemas/EnvironmentPromotion"
|
|
16996
|
+
},
|
|
16997
|
+
"description": "Pending promotions and the most recent decided ones, newest first."
|
|
16998
|
+
}
|
|
16999
|
+
}
|
|
17000
|
+
},
|
|
15842
17001
|
"ListProjectMemberCandidatesResponse": {
|
|
15843
17002
|
"type": "object",
|
|
15844
17003
|
"required": [
|
|
@@ -17039,6 +18198,82 @@
|
|
|
17039
18198
|
}
|
|
17040
18199
|
}
|
|
17041
18200
|
},
|
|
18201
|
+
"ProjectEnvironment": {
|
|
18202
|
+
"type": "object",
|
|
18203
|
+
"description": "A release environment on a project, such as `internal` or `production`,\nwith its store target, rollout policy and approval rule.",
|
|
18204
|
+
"required": [
|
|
18205
|
+
"id",
|
|
18206
|
+
"project_id",
|
|
18207
|
+
"key",
|
|
18208
|
+
"name",
|
|
18209
|
+
"position",
|
|
18210
|
+
"store",
|
|
18211
|
+
"track",
|
|
18212
|
+
"approval_required",
|
|
18213
|
+
"rollout_policy",
|
|
18214
|
+
"promotable",
|
|
18215
|
+
"created_at",
|
|
18216
|
+
"updated_at"
|
|
18217
|
+
],
|
|
18218
|
+
"properties": {
|
|
18219
|
+
"approval_required": {
|
|
18220
|
+
"type": "boolean",
|
|
18221
|
+
"description": "A promotion into this environment waits for a maintainer's approval\nbefore anything changes at the store."
|
|
18222
|
+
},
|
|
18223
|
+
"created_at": {
|
|
18224
|
+
"type": "integer",
|
|
18225
|
+
"format": "int64"
|
|
18226
|
+
},
|
|
18227
|
+
"id": {
|
|
18228
|
+
"type": "string"
|
|
18229
|
+
},
|
|
18230
|
+
"key": {
|
|
18231
|
+
"type": "string",
|
|
18232
|
+
"description": "Stable identifier, unique in the project: lowercase letters, digits\nand dashes, starting with a letter."
|
|
18233
|
+
},
|
|
18234
|
+
"latest_release": {
|
|
18235
|
+
"oneOf": [
|
|
18236
|
+
{
|
|
18237
|
+
"type": "null"
|
|
18238
|
+
},
|
|
18239
|
+
{
|
|
18240
|
+
"$ref": "#/components/schemas/Release",
|
|
18241
|
+
"description": "The newest release in this environment."
|
|
18242
|
+
}
|
|
18243
|
+
]
|
|
18244
|
+
},
|
|
18245
|
+
"name": {
|
|
18246
|
+
"type": "string"
|
|
18247
|
+
},
|
|
18248
|
+
"position": {
|
|
18249
|
+
"type": "integer",
|
|
18250
|
+
"format": "int64",
|
|
18251
|
+
"description": "Order on the promotion path, lowest first."
|
|
18252
|
+
},
|
|
18253
|
+
"project_id": {
|
|
18254
|
+
"type": "string"
|
|
18255
|
+
},
|
|
18256
|
+
"promotable": {
|
|
18257
|
+
"type": "boolean",
|
|
18258
|
+
"description": "Whether builds can be promoted into this environment. App Store\nenvironments only group the releases that uploads record for now."
|
|
18259
|
+
},
|
|
18260
|
+
"rollout_policy": {
|
|
18261
|
+
"$ref": "#/components/schemas/ReleasePolicy",
|
|
18262
|
+
"description": "Staged rollout policy for releases promoted into this environment.\nIts `approval` is always `none`; use `approval_required`."
|
|
18263
|
+
},
|
|
18264
|
+
"store": {
|
|
18265
|
+
"$ref": "#/components/schemas/ReleaseStore"
|
|
18266
|
+
},
|
|
18267
|
+
"track": {
|
|
18268
|
+
"type": "string",
|
|
18269
|
+
"description": "Play track (`internal`, `closed`, `open`, `production` or a custom\ntrack), or the App Store release track a store upload records."
|
|
18270
|
+
},
|
|
18271
|
+
"updated_at": {
|
|
18272
|
+
"type": "integer",
|
|
18273
|
+
"format": "int64"
|
|
18274
|
+
}
|
|
18275
|
+
}
|
|
18276
|
+
},
|
|
17042
18277
|
"ProjectMember": {
|
|
17043
18278
|
"type": "object",
|
|
17044
18279
|
"required": [
|
|
@@ -17200,6 +18435,27 @@
|
|
|
17200
18435
|
"viewer"
|
|
17201
18436
|
]
|
|
17202
18437
|
},
|
|
18438
|
+
"PromotionDecisionRequest": {
|
|
18439
|
+
"type": "object",
|
|
18440
|
+
"properties": {
|
|
18441
|
+
"reason": {
|
|
18442
|
+
"type": [
|
|
18443
|
+
"string",
|
|
18444
|
+
"null"
|
|
18445
|
+
]
|
|
18446
|
+
}
|
|
18447
|
+
}
|
|
18448
|
+
},
|
|
18449
|
+
"PromotionState": {
|
|
18450
|
+
"type": "string",
|
|
18451
|
+
"enum": [
|
|
18452
|
+
"pending",
|
|
18453
|
+
"promoting",
|
|
18454
|
+
"completed",
|
|
18455
|
+
"rejected",
|
|
18456
|
+
"failed"
|
|
18457
|
+
]
|
|
18458
|
+
},
|
|
17203
18459
|
"PublishStore": {
|
|
17204
18460
|
"type": "string",
|
|
17205
18461
|
"enum": [
|
|
@@ -17448,6 +18704,19 @@
|
|
|
17448
18704
|
"type": "integer",
|
|
17449
18705
|
"format": "int64"
|
|
17450
18706
|
},
|
|
18707
|
+
"environment_id": {
|
|
18708
|
+
"type": [
|
|
18709
|
+
"string",
|
|
18710
|
+
"null"
|
|
18711
|
+
],
|
|
18712
|
+
"description": "The project environment this release belongs to. Absent for projects\nwithout environments."
|
|
18713
|
+
},
|
|
18714
|
+
"environment_name": {
|
|
18715
|
+
"type": [
|
|
18716
|
+
"string",
|
|
18717
|
+
"null"
|
|
18718
|
+
]
|
|
18719
|
+
},
|
|
17451
18720
|
"health": {
|
|
17452
18721
|
"$ref": "#/components/schemas/ReleaseHealth"
|
|
17453
18722
|
},
|
|
@@ -17490,6 +18759,13 @@
|
|
|
17490
18759
|
"null"
|
|
17491
18760
|
]
|
|
17492
18761
|
},
|
|
18762
|
+
"promoted_from_release_id": {
|
|
18763
|
+
"type": [
|
|
18764
|
+
"string",
|
|
18765
|
+
"null"
|
|
18766
|
+
],
|
|
18767
|
+
"description": "The release this one was promoted from, without a new build."
|
|
18768
|
+
},
|
|
17493
18769
|
"rollout_fraction": {
|
|
17494
18770
|
"type": "number",
|
|
17495
18771
|
"format": "double",
|
|
@@ -20305,6 +21581,47 @@
|
|
|
20305
21581
|
}
|
|
20306
21582
|
}
|
|
20307
21583
|
},
|
|
21584
|
+
"UpdateProjectEnvironmentRequest": {
|
|
21585
|
+
"type": "object",
|
|
21586
|
+
"description": "Changes to an environment. The key and store are fixed once created.",
|
|
21587
|
+
"properties": {
|
|
21588
|
+
"approval_required": {
|
|
21589
|
+
"type": [
|
|
21590
|
+
"boolean",
|
|
21591
|
+
"null"
|
|
21592
|
+
]
|
|
21593
|
+
},
|
|
21594
|
+
"name": {
|
|
21595
|
+
"type": [
|
|
21596
|
+
"string",
|
|
21597
|
+
"null"
|
|
21598
|
+
]
|
|
21599
|
+
},
|
|
21600
|
+
"position": {
|
|
21601
|
+
"type": [
|
|
21602
|
+
"integer",
|
|
21603
|
+
"null"
|
|
21604
|
+
],
|
|
21605
|
+
"format": "int64"
|
|
21606
|
+
},
|
|
21607
|
+
"rollout_policy": {
|
|
21608
|
+
"oneOf": [
|
|
21609
|
+
{
|
|
21610
|
+
"type": "null"
|
|
21611
|
+
},
|
|
21612
|
+
{
|
|
21613
|
+
"$ref": "#/components/schemas/ReleasePolicy"
|
|
21614
|
+
}
|
|
21615
|
+
]
|
|
21616
|
+
},
|
|
21617
|
+
"track": {
|
|
21618
|
+
"type": [
|
|
21619
|
+
"string",
|
|
21620
|
+
"null"
|
|
21621
|
+
]
|
|
21622
|
+
}
|
|
21623
|
+
}
|
|
21624
|
+
},
|
|
20308
21625
|
"UpdateProjectMemberRequest": {
|
|
20309
21626
|
"type": "object",
|
|
20310
21627
|
"required": [
|
|
@@ -20874,6 +22191,10 @@
|
|
|
20874
22191
|
"name": "Releases",
|
|
20875
22192
|
"description": "Store releases — staged rollout records with pause, halt, resume, complete and approval."
|
|
20876
22193
|
},
|
|
22194
|
+
{
|
|
22195
|
+
"name": "Environments",
|
|
22196
|
+
"description": "Release environments on a project, such as internal, beta and production, and promotion of a build between them without a new build."
|
|
22197
|
+
},
|
|
20877
22198
|
{
|
|
20878
22199
|
"name": "Runners",
|
|
20879
22200
|
"description": "Build runner management — register, heartbeat, job claim/status."
|