@netlify/open-api 2.61.0 → 2.63.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +238 -47
- package/dist/swagger.json +628 -12
- package/package.json +1 -1
package/dist/swagger.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"swagger": "2.0",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.63.0",
|
|
5
5
|
"title": "Netlify's API documentation",
|
|
6
6
|
"description": "Netlify is a hosting service for the programmable web. It understands your documents and provides an API to handle atomic deploys of websites, manage form submissions, inject JavaScript snippets, and much more. This is a REST-style API that uses JSON for serialization and OAuth 2 for authentication.\n\nThis document is an OpenAPI reference for the Netlify API that you can explore. For more detailed instructions for common uses, please visit the [online documentation](https://www.netlify.com/docs/api/). Visit our Community forum to join the conversation about [understanding and using Netlify's API](https://community.netlify.com/t/common-issue-understanding-and-using-netlifys-api/160).\n\nAdditionally, we have two API clients for your convenience:\n- [Go Client](https://github.com/netlify/open-api#go-client)\n- [JS Client](https://github.com/netlify/build/tree/main/packages/js-client)",
|
|
7
7
|
"termsOfService": "https://www.netlify.com/legal/terms-of-use/",
|
|
@@ -63,6 +63,7 @@
|
|
|
63
63
|
"/sites": {
|
|
64
64
|
"get": {
|
|
65
65
|
"operationId": "listSites",
|
|
66
|
+
"summary": "List sites",
|
|
66
67
|
"tags": [
|
|
67
68
|
"site"
|
|
68
69
|
],
|
|
@@ -472,6 +473,7 @@
|
|
|
472
473
|
},
|
|
473
474
|
"post": {
|
|
474
475
|
"operationId": "createSite",
|
|
476
|
+
"summary": "Create a site",
|
|
475
477
|
"tags": [
|
|
476
478
|
"site"
|
|
477
479
|
],
|
|
@@ -1283,6 +1285,7 @@
|
|
|
1283
1285
|
],
|
|
1284
1286
|
"get": {
|
|
1285
1287
|
"operationId": "getSite",
|
|
1288
|
+
"summary": "Get a site",
|
|
1286
1289
|
"tags": [
|
|
1287
1290
|
"site"
|
|
1288
1291
|
],
|
|
@@ -1666,6 +1669,7 @@
|
|
|
1666
1669
|
},
|
|
1667
1670
|
"patch": {
|
|
1668
1671
|
"operationId": "updateSite",
|
|
1672
|
+
"summary": "Update a site",
|
|
1669
1673
|
"tags": [
|
|
1670
1674
|
"site"
|
|
1671
1675
|
],
|
|
@@ -2462,6 +2466,7 @@
|
|
|
2462
2466
|
},
|
|
2463
2467
|
"delete": {
|
|
2464
2468
|
"operationId": "deleteSite",
|
|
2469
|
+
"summary": "Delete a site",
|
|
2465
2470
|
"tags": [
|
|
2466
2471
|
"site"
|
|
2467
2472
|
],
|
|
@@ -2494,6 +2499,7 @@
|
|
|
2494
2499
|
"/sites/{site_id}/ssl": {
|
|
2495
2500
|
"post": {
|
|
2496
2501
|
"operationId": "provisionSiteTLSCertificate",
|
|
2502
|
+
"summary": "Provision or update a site's TLS certificate",
|
|
2497
2503
|
"tags": [
|
|
2498
2504
|
"sniCertificate"
|
|
2499
2505
|
],
|
|
@@ -2580,6 +2586,7 @@
|
|
|
2580
2586
|
},
|
|
2581
2587
|
"get": {
|
|
2582
2588
|
"operationId": "showSiteTLSCertificate",
|
|
2589
|
+
"summary": "Get a site's TLS certificate",
|
|
2583
2590
|
"tags": [
|
|
2584
2591
|
"sniCertificate"
|
|
2585
2592
|
],
|
|
@@ -2646,6 +2653,8 @@
|
|
|
2646
2653
|
"/sites/{site_id}/ssl/certificates": {
|
|
2647
2654
|
"get": {
|
|
2648
2655
|
"operationId": "getAllCertificates",
|
|
2656
|
+
"summary": "List TLS certificates for a site's domain",
|
|
2657
|
+
"description": "Returns details about the certificates associated with a domain. The site must be using the domain.",
|
|
2649
2658
|
"tags": [
|
|
2650
2659
|
"sniCertificate"
|
|
2651
2660
|
],
|
|
@@ -2711,6 +2720,7 @@
|
|
|
2711
2720
|
"environmentVariables"
|
|
2712
2721
|
],
|
|
2713
2722
|
"operationId": "getEnvVars",
|
|
2723
|
+
"summary": "List environment variables for a team or site",
|
|
2714
2724
|
"parameters": [
|
|
2715
2725
|
{
|
|
2716
2726
|
"name": "account_id",
|
|
@@ -2886,6 +2896,7 @@
|
|
|
2886
2896
|
"environmentVariables"
|
|
2887
2897
|
],
|
|
2888
2898
|
"operationId": "createEnvVars",
|
|
2899
|
+
"summary": "Create environment variables",
|
|
2889
2900
|
"description": "Creates new environment variables. Granular scopes are available on Pro plans and above.",
|
|
2890
2901
|
"parameters": [
|
|
2891
2902
|
{
|
|
@@ -3104,6 +3115,7 @@
|
|
|
3104
3115
|
"environmentVariables"
|
|
3105
3116
|
],
|
|
3106
3117
|
"operationId": "getSiteEnvVars",
|
|
3118
|
+
"summary": "List environment variables for a site",
|
|
3107
3119
|
"parameters": [
|
|
3108
3120
|
{
|
|
3109
3121
|
"name": "context_name",
|
|
@@ -3274,6 +3286,7 @@
|
|
|
3274
3286
|
"environmentVariables"
|
|
3275
3287
|
],
|
|
3276
3288
|
"operationId": "getEnvVar",
|
|
3289
|
+
"summary": "Get an environment variable",
|
|
3277
3290
|
"parameters": [
|
|
3278
3291
|
{
|
|
3279
3292
|
"name": "account_id",
|
|
@@ -3425,6 +3438,7 @@
|
|
|
3425
3438
|
"environmentVariables"
|
|
3426
3439
|
],
|
|
3427
3440
|
"operationId": "updateEnvVar",
|
|
3441
|
+
"summary": "Update an environment variable",
|
|
3428
3442
|
"description": "Updates an existing environment variable and all of its values. Existing values will be replaced by values provided.",
|
|
3429
3443
|
"parameters": [
|
|
3430
3444
|
{
|
|
@@ -3642,6 +3656,7 @@
|
|
|
3642
3656
|
"environmentVariables"
|
|
3643
3657
|
],
|
|
3644
3658
|
"operationId": "setEnvVarValue",
|
|
3659
|
+
"summary": "Set a value on an environment variable",
|
|
3645
3660
|
"description": "Updates or creates a new value for an existing environment variable.",
|
|
3646
3661
|
"parameters": [
|
|
3647
3662
|
{
|
|
@@ -3822,6 +3837,7 @@
|
|
|
3822
3837
|
"environmentVariables"
|
|
3823
3838
|
],
|
|
3824
3839
|
"operationId": "deleteEnvVar",
|
|
3840
|
+
"summary": "Delete an environment variable",
|
|
3825
3841
|
"parameters": [
|
|
3826
3842
|
{
|
|
3827
3843
|
"name": "account_id",
|
|
@@ -3878,6 +3894,7 @@
|
|
|
3878
3894
|
"environmentVariables"
|
|
3879
3895
|
],
|
|
3880
3896
|
"operationId": "deleteEnvVarValue",
|
|
3897
|
+
"summary": "Delete an environment variable value",
|
|
3881
3898
|
"parameters": [
|
|
3882
3899
|
{
|
|
3883
3900
|
"name": "account_id",
|
|
@@ -3938,6 +3955,7 @@
|
|
|
3938
3955
|
"/sites/{site_id}/functions": {
|
|
3939
3956
|
"get": {
|
|
3940
3957
|
"operationId": "searchSiteFunctions",
|
|
3958
|
+
"summary": "Search a site's functions",
|
|
3941
3959
|
"tags": [
|
|
3942
3960
|
"function"
|
|
3943
3961
|
],
|
|
@@ -4014,6 +4032,7 @@
|
|
|
4014
4032
|
"/sites/{site_id}/forms": {
|
|
4015
4033
|
"get": {
|
|
4016
4034
|
"operationId": "listSiteForms",
|
|
4035
|
+
"summary": "List a site's forms",
|
|
4017
4036
|
"tags": [
|
|
4018
4037
|
"form"
|
|
4019
4038
|
],
|
|
@@ -4091,6 +4110,8 @@
|
|
|
4091
4110
|
"/sites/{site_id}/forms/{form_id}": {
|
|
4092
4111
|
"delete": {
|
|
4093
4112
|
"operationId": "deleteSiteForm",
|
|
4113
|
+
"summary": "Delete a form",
|
|
4114
|
+
"description": "Deletes a form and all of its submissions.",
|
|
4094
4115
|
"tags": [
|
|
4095
4116
|
"form"
|
|
4096
4117
|
],
|
|
@@ -4137,6 +4158,7 @@
|
|
|
4137
4158
|
"/sites/{site_id}/submissions": {
|
|
4138
4159
|
"get": {
|
|
4139
4160
|
"operationId": "listSiteSubmissions",
|
|
4161
|
+
"summary": "List a site's form submissions",
|
|
4140
4162
|
"tags": [
|
|
4141
4163
|
"submission"
|
|
4142
4164
|
],
|
|
@@ -4237,6 +4259,7 @@
|
|
|
4237
4259
|
"/sites/{site_id}/files": {
|
|
4238
4260
|
"get": {
|
|
4239
4261
|
"operationId": "listSiteFiles",
|
|
4262
|
+
"summary": "List a site's files",
|
|
4240
4263
|
"tags": [
|
|
4241
4264
|
"file"
|
|
4242
4265
|
],
|
|
@@ -4309,6 +4332,8 @@
|
|
|
4309
4332
|
],
|
|
4310
4333
|
"get": {
|
|
4311
4334
|
"operationId": "listSiteAssets",
|
|
4335
|
+
"summary": "List a site's assets",
|
|
4336
|
+
"description": "_This endpoint is only available to certain sites._",
|
|
4312
4337
|
"tags": [
|
|
4313
4338
|
"asset"
|
|
4314
4339
|
],
|
|
@@ -4386,6 +4411,8 @@
|
|
|
4386
4411
|
},
|
|
4387
4412
|
"post": {
|
|
4388
4413
|
"operationId": "createSiteAsset",
|
|
4414
|
+
"summary": "Create a site asset",
|
|
4415
|
+
"description": "_This endpoint is only available to certain sites._",
|
|
4389
4416
|
"tags": [
|
|
4390
4417
|
"asset"
|
|
4391
4418
|
],
|
|
@@ -4521,6 +4548,8 @@
|
|
|
4521
4548
|
],
|
|
4522
4549
|
"get": {
|
|
4523
4550
|
"operationId": "getSiteAssetInfo",
|
|
4551
|
+
"summary": "Get a site asset",
|
|
4552
|
+
"description": "_This endpoint is only available to certain sites._",
|
|
4524
4553
|
"tags": [
|
|
4525
4554
|
"asset"
|
|
4526
4555
|
],
|
|
@@ -4595,6 +4624,8 @@
|
|
|
4595
4624
|
},
|
|
4596
4625
|
"put": {
|
|
4597
4626
|
"operationId": "updateSiteAsset",
|
|
4627
|
+
"summary": "Update a site asset's state",
|
|
4628
|
+
"description": "_This endpoint is only available to certain sites._",
|
|
4598
4629
|
"tags": [
|
|
4599
4630
|
"asset"
|
|
4600
4631
|
],
|
|
@@ -4677,6 +4708,8 @@
|
|
|
4677
4708
|
},
|
|
4678
4709
|
"delete": {
|
|
4679
4710
|
"operationId": "deleteSiteAsset",
|
|
4711
|
+
"summary": "Delete a site asset",
|
|
4712
|
+
"description": "_This endpoint is only available to certain sites._",
|
|
4680
4713
|
"tags": [
|
|
4681
4714
|
"asset"
|
|
4682
4715
|
],
|
|
@@ -4723,6 +4756,8 @@
|
|
|
4723
4756
|
],
|
|
4724
4757
|
"get": {
|
|
4725
4758
|
"operationId": "getSiteAssetPublicSignature",
|
|
4759
|
+
"summary": "Get a site asset's URL",
|
|
4760
|
+
"description": "Returns the URL of the asset. If the asset isn't publicly visible, returns a signed URL. _This endpoint is only available to certain sites._",
|
|
4726
4761
|
"tags": [
|
|
4727
4762
|
"assetPublicSignature"
|
|
4728
4763
|
],
|
|
@@ -4763,6 +4798,7 @@
|
|
|
4763
4798
|
"/sites/{site_id}/files/{file_path}": {
|
|
4764
4799
|
"get": {
|
|
4765
4800
|
"operationId": "getSiteFileByPathName",
|
|
4801
|
+
"summary": "Get a site file by path",
|
|
4766
4802
|
"tags": [
|
|
4767
4803
|
"file"
|
|
4768
4804
|
],
|
|
@@ -4830,6 +4866,7 @@
|
|
|
4830
4866
|
"/purge": {
|
|
4831
4867
|
"post": {
|
|
4832
4868
|
"operationId": "purgeCache",
|
|
4869
|
+
"summary": "Purge cached content",
|
|
4833
4870
|
"description": "Purges cached content from Netlify's CDN. Supports purging by Cache-Tag.",
|
|
4834
4871
|
"tags": [
|
|
4835
4872
|
"purge"
|
|
@@ -4863,7 +4900,7 @@
|
|
|
4863
4900
|
],
|
|
4864
4901
|
"responses": {
|
|
4865
4902
|
"202": {
|
|
4866
|
-
"description": "
|
|
4903
|
+
"description": "Accepted. The purge is queued and propagates across the CDN asynchronously. The response has no body and there is no status resource to poll for completion."
|
|
4867
4904
|
},
|
|
4868
4905
|
"400": {
|
|
4869
4906
|
"description": "Invalid request parameters"
|
|
@@ -4885,6 +4922,7 @@
|
|
|
4885
4922
|
],
|
|
4886
4923
|
"get": {
|
|
4887
4924
|
"operationId": "listSiteSnippets",
|
|
4925
|
+
"summary": "List a site's snippets",
|
|
4888
4926
|
"tags": [
|
|
4889
4927
|
"snippet"
|
|
4890
4928
|
],
|
|
@@ -4945,6 +4983,7 @@
|
|
|
4945
4983
|
},
|
|
4946
4984
|
"post": {
|
|
4947
4985
|
"operationId": "createSiteSnippet",
|
|
4986
|
+
"summary": "Create a snippet",
|
|
4948
4987
|
"tags": [
|
|
4949
4988
|
"snippet"
|
|
4950
4989
|
],
|
|
@@ -5055,6 +5094,7 @@
|
|
|
5055
5094
|
],
|
|
5056
5095
|
"get": {
|
|
5057
5096
|
"operationId": "getSiteSnippet",
|
|
5097
|
+
"summary": "Get a snippet",
|
|
5058
5098
|
"tags": [
|
|
5059
5099
|
"snippet"
|
|
5060
5100
|
],
|
|
@@ -5112,6 +5152,7 @@
|
|
|
5112
5152
|
},
|
|
5113
5153
|
"put": {
|
|
5114
5154
|
"operationId": "updateSiteSnippet",
|
|
5155
|
+
"summary": "Update a snippet",
|
|
5115
5156
|
"tags": [
|
|
5116
5157
|
"snippet"
|
|
5117
5158
|
],
|
|
@@ -5179,6 +5220,7 @@
|
|
|
5179
5220
|
},
|
|
5180
5221
|
"delete": {
|
|
5181
5222
|
"operationId": "deleteSiteSnippet",
|
|
5223
|
+
"summary": "Delete a snippet",
|
|
5182
5224
|
"tags": [
|
|
5183
5225
|
"snippet"
|
|
5184
5226
|
],
|
|
@@ -5219,6 +5261,7 @@
|
|
|
5219
5261
|
],
|
|
5220
5262
|
"get": {
|
|
5221
5263
|
"operationId": "getSiteMetadata",
|
|
5264
|
+
"summary": "Get a site's metadata",
|
|
5222
5265
|
"tags": [
|
|
5223
5266
|
"metadata"
|
|
5224
5267
|
],
|
|
@@ -5252,6 +5295,7 @@
|
|
|
5252
5295
|
},
|
|
5253
5296
|
"put": {
|
|
5254
5297
|
"operationId": "updateSiteMetadata",
|
|
5298
|
+
"summary": "Update a site's metadata",
|
|
5255
5299
|
"tags": [
|
|
5256
5300
|
"metadata"
|
|
5257
5301
|
],
|
|
@@ -5302,6 +5346,7 @@
|
|
|
5302
5346
|
],
|
|
5303
5347
|
"get": {
|
|
5304
5348
|
"operationId": "listSiteBuildHooks",
|
|
5349
|
+
"summary": "List a site's build hooks",
|
|
5305
5350
|
"tags": [
|
|
5306
5351
|
"buildHook"
|
|
5307
5352
|
],
|
|
@@ -5359,6 +5404,7 @@
|
|
|
5359
5404
|
},
|
|
5360
5405
|
"post": {
|
|
5361
5406
|
"operationId": "createSiteBuildHook",
|
|
5407
|
+
"summary": "Create a build hook",
|
|
5362
5408
|
"tags": [
|
|
5363
5409
|
"buildHook"
|
|
5364
5410
|
],
|
|
@@ -5450,6 +5496,7 @@
|
|
|
5450
5496
|
],
|
|
5451
5497
|
"get": {
|
|
5452
5498
|
"operationId": "getSiteBuildHook",
|
|
5499
|
+
"summary": "Get a build hook",
|
|
5453
5500
|
"tags": [
|
|
5454
5501
|
"buildHook"
|
|
5455
5502
|
],
|
|
@@ -5504,6 +5551,7 @@
|
|
|
5504
5551
|
},
|
|
5505
5552
|
"put": {
|
|
5506
5553
|
"operationId": "updateSiteBuildHook",
|
|
5554
|
+
"summary": "Update a build hook",
|
|
5507
5555
|
"tags": [
|
|
5508
5556
|
"buildHook"
|
|
5509
5557
|
],
|
|
@@ -5555,6 +5603,7 @@
|
|
|
5555
5603
|
},
|
|
5556
5604
|
"delete": {
|
|
5557
5605
|
"operationId": "deleteSiteBuildHook",
|
|
5606
|
+
"summary": "Delete a build hook",
|
|
5558
5607
|
"tags": [
|
|
5559
5608
|
"buildHook"
|
|
5560
5609
|
],
|
|
@@ -5637,6 +5686,7 @@
|
|
|
5637
5686
|
],
|
|
5638
5687
|
"get": {
|
|
5639
5688
|
"operationId": "listSiteDeploys",
|
|
5689
|
+
"summary": "List a site's deploys",
|
|
5640
5690
|
"tags": [
|
|
5641
5691
|
"deploy"
|
|
5642
5692
|
],
|
|
@@ -5837,6 +5887,7 @@
|
|
|
5837
5887
|
},
|
|
5838
5888
|
"post": {
|
|
5839
5889
|
"operationId": "createSiteDeploy",
|
|
5890
|
+
"summary": "Create a deploy",
|
|
5840
5891
|
"tags": [
|
|
5841
5892
|
"deploy"
|
|
5842
5893
|
],
|
|
@@ -5957,6 +6008,26 @@
|
|
|
5957
6008
|
"runtime_version": {
|
|
5958
6009
|
"type": "string",
|
|
5959
6010
|
"description": "The runtime version the server was built for, such as `nodejs24.x`. A\ndefault version is used when absent.\n"
|
|
6011
|
+
},
|
|
6012
|
+
"scale": {
|
|
6013
|
+
"type": "object",
|
|
6014
|
+
"description": "How many instances of the server run.",
|
|
6015
|
+
"properties": {
|
|
6016
|
+
"min": {
|
|
6017
|
+
"type": "integer",
|
|
6018
|
+
"format": "int64",
|
|
6019
|
+
"minimum": 0,
|
|
6020
|
+
"x-nullable": true,
|
|
6021
|
+
"description": "The minimum number of instances the server keeps running. Defaults to 0\nwhen absent.\n"
|
|
6022
|
+
},
|
|
6023
|
+
"max": {
|
|
6024
|
+
"type": "integer",
|
|
6025
|
+
"format": "int64",
|
|
6026
|
+
"minimum": 1,
|
|
6027
|
+
"x-nullable": true,
|
|
6028
|
+
"description": "The maximum number of instances the server scales to. Defaults to the\nhighest the account's plan allows when absent.\n"
|
|
6029
|
+
}
|
|
6030
|
+
}
|
|
5960
6031
|
}
|
|
5961
6032
|
}
|
|
5962
6033
|
},
|
|
@@ -6351,6 +6422,7 @@
|
|
|
6351
6422
|
"/sites/{site_id}/deploys/{deploy_id}": {
|
|
6352
6423
|
"get": {
|
|
6353
6424
|
"operationId": "getSiteDeploy",
|
|
6425
|
+
"summary": "Get a site's deploy",
|
|
6354
6426
|
"tags": [
|
|
6355
6427
|
"deploy"
|
|
6356
6428
|
],
|
|
@@ -6546,6 +6618,7 @@
|
|
|
6546
6618
|
},
|
|
6547
6619
|
"put": {
|
|
6548
6620
|
"operationId": "updateSiteDeploy",
|
|
6621
|
+
"summary": "Update a deploy",
|
|
6549
6622
|
"tags": [
|
|
6550
6623
|
"deploy"
|
|
6551
6624
|
],
|
|
@@ -6678,6 +6751,26 @@
|
|
|
6678
6751
|
"runtime_version": {
|
|
6679
6752
|
"type": "string",
|
|
6680
6753
|
"description": "The runtime version the server was built for, such as `nodejs24.x`. A\ndefault version is used when absent.\n"
|
|
6754
|
+
},
|
|
6755
|
+
"scale": {
|
|
6756
|
+
"type": "object",
|
|
6757
|
+
"description": "How many instances of the server run.",
|
|
6758
|
+
"properties": {
|
|
6759
|
+
"min": {
|
|
6760
|
+
"type": "integer",
|
|
6761
|
+
"format": "int64",
|
|
6762
|
+
"minimum": 0,
|
|
6763
|
+
"x-nullable": true,
|
|
6764
|
+
"description": "The minimum number of instances the server keeps running. Defaults to 0\nwhen absent.\n"
|
|
6765
|
+
},
|
|
6766
|
+
"max": {
|
|
6767
|
+
"type": "integer",
|
|
6768
|
+
"format": "int64",
|
|
6769
|
+
"minimum": 1,
|
|
6770
|
+
"x-nullable": true,
|
|
6771
|
+
"description": "The maximum number of instances the server scales to. Defaults to the\nhighest the account's plan allows when absent.\n"
|
|
6772
|
+
}
|
|
6773
|
+
}
|
|
6681
6774
|
}
|
|
6682
6775
|
}
|
|
6683
6776
|
},
|
|
@@ -7070,6 +7163,8 @@
|
|
|
7070
7163
|
},
|
|
7071
7164
|
"delete": {
|
|
7072
7165
|
"operationId": "deleteSiteDeploy",
|
|
7166
|
+
"summary": "Delete a site's deploy",
|
|
7167
|
+
"description": "Marks a deploy for deletion.",
|
|
7073
7168
|
"tags": [
|
|
7074
7169
|
"deploy"
|
|
7075
7170
|
],
|
|
@@ -7116,6 +7211,7 @@
|
|
|
7116
7211
|
"/deploys/{deploy_id}/cancel": {
|
|
7117
7212
|
"post": {
|
|
7118
7213
|
"operationId": "cancelSiteDeploy",
|
|
7214
|
+
"summary": "Cancel a deploy",
|
|
7119
7215
|
"tags": [
|
|
7120
7216
|
"deploy"
|
|
7121
7217
|
],
|
|
@@ -7307,6 +7403,8 @@
|
|
|
7307
7403
|
"/sites/{site_id}/deploys/{deploy_id}/restore": {
|
|
7308
7404
|
"post": {
|
|
7309
7405
|
"operationId": "restoreSiteDeploy",
|
|
7406
|
+
"summary": "Restore a previous deploy",
|
|
7407
|
+
"description": "Publishes a previous deploy of the site.",
|
|
7310
7408
|
"tags": [
|
|
7311
7409
|
"deploy"
|
|
7312
7410
|
],
|
|
@@ -7512,6 +7610,7 @@
|
|
|
7512
7610
|
],
|
|
7513
7611
|
"get": {
|
|
7514
7612
|
"operationId": "listSiteBuilds",
|
|
7613
|
+
"summary": "List a site's builds",
|
|
7515
7614
|
"tags": [
|
|
7516
7615
|
"build"
|
|
7517
7616
|
],
|
|
@@ -7585,6 +7684,7 @@
|
|
|
7585
7684
|
},
|
|
7586
7685
|
"post": {
|
|
7587
7686
|
"operationId": "createSiteBuild",
|
|
7687
|
+
"summary": "Start a build",
|
|
7588
7688
|
"tags": [
|
|
7589
7689
|
"build"
|
|
7590
7690
|
],
|
|
@@ -7607,6 +7707,20 @@
|
|
|
7607
7707
|
"in": "query",
|
|
7608
7708
|
"type": "boolean"
|
|
7609
7709
|
},
|
|
7710
|
+
{
|
|
7711
|
+
"name": "commit_sha",
|
|
7712
|
+
"description": "The commit SHA to build; when omitted, the head of the branch or pull request is fetched from the git host. Ignored for zip uploads",
|
|
7713
|
+
"required": false,
|
|
7714
|
+
"in": "query",
|
|
7715
|
+
"type": "string"
|
|
7716
|
+
},
|
|
7717
|
+
{
|
|
7718
|
+
"name": "draft",
|
|
7719
|
+
"description": "Whether to create a draft deploy, which uses the deploy-preview context and is never published; review_id builds are always drafts",
|
|
7720
|
+
"required": false,
|
|
7721
|
+
"in": "query",
|
|
7722
|
+
"type": "boolean"
|
|
7723
|
+
},
|
|
7610
7724
|
{
|
|
7611
7725
|
"name": "image",
|
|
7612
7726
|
"description": "The build image tag to use for the build",
|
|
@@ -7614,6 +7728,13 @@
|
|
|
7614
7728
|
"in": "query",
|
|
7615
7729
|
"type": "string"
|
|
7616
7730
|
},
|
|
7731
|
+
{
|
|
7732
|
+
"name": "review_id",
|
|
7733
|
+
"description": "The merge/pull request ID to build; triggers a deploy preview. Ignored for zip uploads",
|
|
7734
|
+
"required": false,
|
|
7735
|
+
"in": "query",
|
|
7736
|
+
"type": "integer"
|
|
7737
|
+
},
|
|
7617
7738
|
{
|
|
7618
7739
|
"name": "template_id",
|
|
7619
7740
|
"description": "The build template to use for the build",
|
|
@@ -7706,6 +7827,7 @@
|
|
|
7706
7827
|
],
|
|
7707
7828
|
"get": {
|
|
7708
7829
|
"operationId": "listSiteDeployedBranches",
|
|
7830
|
+
"summary": "List a site's deployed branches",
|
|
7709
7831
|
"tags": [
|
|
7710
7832
|
"deployedBranch"
|
|
7711
7833
|
],
|
|
@@ -7772,6 +7894,7 @@
|
|
|
7772
7894
|
],
|
|
7773
7895
|
"put": {
|
|
7774
7896
|
"operationId": "unlinkSiteRepo",
|
|
7897
|
+
"summary": "Unlink a site's repository",
|
|
7775
7898
|
"tags": [
|
|
7776
7899
|
"site"
|
|
7777
7900
|
],
|
|
@@ -8141,6 +8264,7 @@
|
|
|
8141
8264
|
],
|
|
8142
8265
|
"put": {
|
|
8143
8266
|
"operationId": "enableSite",
|
|
8267
|
+
"summary": "Enable a site",
|
|
8144
8268
|
"tags": [
|
|
8145
8269
|
"site"
|
|
8146
8270
|
],
|
|
@@ -8201,6 +8325,7 @@
|
|
|
8201
8325
|
],
|
|
8202
8326
|
"put": {
|
|
8203
8327
|
"operationId": "disableSite",
|
|
8328
|
+
"summary": "Disable a site",
|
|
8204
8329
|
"tags": [
|
|
8205
8330
|
"site"
|
|
8206
8331
|
],
|
|
@@ -8251,6 +8376,7 @@
|
|
|
8251
8376
|
],
|
|
8252
8377
|
"get": {
|
|
8253
8378
|
"operationId": "getSiteBuild",
|
|
8379
|
+
"summary": "Get a build",
|
|
8254
8380
|
"tags": [
|
|
8255
8381
|
"build"
|
|
8256
8382
|
],
|
|
@@ -8341,6 +8467,7 @@
|
|
|
8341
8467
|
],
|
|
8342
8468
|
"post": {
|
|
8343
8469
|
"operationId": "updateSiteBuildLog",
|
|
8470
|
+
"summary": "Add a message to a build log",
|
|
8344
8471
|
"tags": [
|
|
8345
8472
|
"buildLogMsg"
|
|
8346
8473
|
],
|
|
@@ -8399,6 +8526,7 @@
|
|
|
8399
8526
|
],
|
|
8400
8527
|
"post": {
|
|
8401
8528
|
"operationId": "notifyBuildStart",
|
|
8529
|
+
"summary": "Mark a build as started",
|
|
8402
8530
|
"tags": [
|
|
8403
8531
|
"build"
|
|
8404
8532
|
],
|
|
@@ -8439,6 +8567,8 @@
|
|
|
8439
8567
|
],
|
|
8440
8568
|
"get": {
|
|
8441
8569
|
"operationId": "getAccountBuildStatus",
|
|
8570
|
+
"summary": "Get a team's build status",
|
|
8571
|
+
"description": "Returns the team's counts of active, concurrency-pending, and enqueued builds, and its build minutes usage.",
|
|
8442
8572
|
"tags": [
|
|
8443
8573
|
"build"
|
|
8444
8574
|
],
|
|
@@ -8531,6 +8661,7 @@
|
|
|
8531
8661
|
],
|
|
8532
8662
|
"get": {
|
|
8533
8663
|
"operationId": "getDNSForSite",
|
|
8664
|
+
"summary": "Get a site's DNS configuration",
|
|
8534
8665
|
"tags": [
|
|
8535
8666
|
"dnsZone"
|
|
8536
8667
|
],
|
|
@@ -8668,6 +8799,8 @@
|
|
|
8668
8799
|
},
|
|
8669
8800
|
"put": {
|
|
8670
8801
|
"operationId": "configureDNSForSite",
|
|
8802
|
+
"summary": "Configure a site's DNS",
|
|
8803
|
+
"description": "Creates any missing DNS zones and records for the site's custom domain and domain aliases. This usually runs automatically when the custom domain is set.",
|
|
8671
8804
|
"tags": [
|
|
8672
8805
|
"dnsZone"
|
|
8673
8806
|
],
|
|
@@ -8815,6 +8948,8 @@
|
|
|
8815
8948
|
],
|
|
8816
8949
|
"put": {
|
|
8817
8950
|
"operationId": "rollbackSiteDeploy",
|
|
8951
|
+
"summary": "Roll back a site's production deploy",
|
|
8952
|
+
"description": "Rolls back the production deploy to the deploy referenced by its `rollback_id`. Does nothing if the current production deploy has no `rollback_id`.",
|
|
8818
8953
|
"tags": [
|
|
8819
8954
|
"deploy"
|
|
8820
8955
|
],
|
|
@@ -8847,6 +8982,7 @@
|
|
|
8847
8982
|
"/deploys/{deploy_id}": {
|
|
8848
8983
|
"get": {
|
|
8849
8984
|
"operationId": "getDeploy",
|
|
8985
|
+
"summary": "Get a deploy",
|
|
8850
8986
|
"tags": [
|
|
8851
8987
|
"deploy"
|
|
8852
8988
|
],
|
|
@@ -9036,6 +9172,8 @@
|
|
|
9036
9172
|
},
|
|
9037
9173
|
"delete": {
|
|
9038
9174
|
"operationId": "deleteDeploy",
|
|
9175
|
+
"summary": "Delete a deploy",
|
|
9176
|
+
"description": "Marks a deploy for deletion.",
|
|
9039
9177
|
"tags": [
|
|
9040
9178
|
"deploy"
|
|
9041
9179
|
],
|
|
@@ -9076,6 +9214,7 @@
|
|
|
9076
9214
|
"/deploys/{deploy_id}/validations_report": {
|
|
9077
9215
|
"patch": {
|
|
9078
9216
|
"operationId": "updateDeployValidations",
|
|
9217
|
+
"summary": "Update a deploy's validations report",
|
|
9079
9218
|
"tags": [
|
|
9080
9219
|
"deploy"
|
|
9081
9220
|
],
|
|
@@ -9144,6 +9283,8 @@
|
|
|
9144
9283
|
"/deploys/{deploy_id}/lock": {
|
|
9145
9284
|
"post": {
|
|
9146
9285
|
"operationId": "lockDeploy",
|
|
9286
|
+
"summary": "Lock a deploy",
|
|
9287
|
+
"description": "Locks a deploy so that subsequent deploys are built but not published. If the deploy is not the site's published deploy, locking publishes it first. When publishing is gated, the publish and lock are queued and the API responds with 202 Accepted and the deploy; poll `getDeploy` to follow it.",
|
|
9147
9288
|
"tags": [
|
|
9148
9289
|
"deploy"
|
|
9149
9290
|
],
|
|
@@ -9335,6 +9476,7 @@
|
|
|
9335
9476
|
"/deploys/{deploy_id}/unlock": {
|
|
9336
9477
|
"post": {
|
|
9337
9478
|
"operationId": "unlockDeploy",
|
|
9479
|
+
"summary": "Unlock a deploy",
|
|
9338
9480
|
"tags": [
|
|
9339
9481
|
"deploy"
|
|
9340
9482
|
],
|
|
@@ -9526,6 +9668,7 @@
|
|
|
9526
9668
|
"/deploys/{deploy_id}/files/{path}": {
|
|
9527
9669
|
"put": {
|
|
9528
9670
|
"operationId": "uploadDeployFile",
|
|
9671
|
+
"summary": "Upload a deploy file",
|
|
9529
9672
|
"tags": [
|
|
9530
9673
|
"file"
|
|
9531
9674
|
],
|
|
@@ -9610,6 +9753,7 @@
|
|
|
9610
9753
|
"/deploys/{deploy_id}/functions/{name}": {
|
|
9611
9754
|
"put": {
|
|
9612
9755
|
"operationId": "uploadDeployFunction",
|
|
9756
|
+
"summary": "Upload a deploy function",
|
|
9613
9757
|
"tags": [
|
|
9614
9758
|
"function"
|
|
9615
9759
|
],
|
|
@@ -9710,6 +9854,7 @@
|
|
|
9710
9854
|
"/deploys/{deploy_id}/server/{code_sha}": {
|
|
9711
9855
|
"put": {
|
|
9712
9856
|
"operationId": "uploadDeployServer",
|
|
9857
|
+
"summary": "Upload a deploy's Netlify Server bundle",
|
|
9713
9858
|
"tags": [
|
|
9714
9859
|
"deploy"
|
|
9715
9860
|
],
|
|
@@ -9779,6 +9924,7 @@
|
|
|
9779
9924
|
"/deploys/{deploy_id}/edge_functions/{code_sha}": {
|
|
9780
9925
|
"put": {
|
|
9781
9926
|
"operationId": "uploadDeployEdgeFunction",
|
|
9927
|
+
"summary": "Upload a deploy's edge functions bundle",
|
|
9782
9928
|
"tags": [
|
|
9783
9929
|
"edgeFunction"
|
|
9784
9930
|
],
|
|
@@ -9843,6 +9989,7 @@
|
|
|
9843
9989
|
"put": {
|
|
9844
9990
|
"x-internal": true,
|
|
9845
9991
|
"operationId": "updatePlugin",
|
|
9992
|
+
"summary": "Update a site's build plugin",
|
|
9846
9993
|
"tags": [
|
|
9847
9994
|
"x-internal"
|
|
9848
9995
|
],
|
|
@@ -9914,6 +10061,7 @@
|
|
|
9914
10061
|
"get": {
|
|
9915
10062
|
"x-internal": true,
|
|
9916
10063
|
"operationId": "getLatestPluginRuns",
|
|
10064
|
+
"summary": "List a site's latest build plugin runs",
|
|
9917
10065
|
"tags": [
|
|
9918
10066
|
"x-internal"
|
|
9919
10067
|
],
|
|
@@ -10011,6 +10159,7 @@
|
|
|
10011
10159
|
"post": {
|
|
10012
10160
|
"x-internal": true,
|
|
10013
10161
|
"operationId": "createPluginRun",
|
|
10162
|
+
"summary": "Create a build plugin run",
|
|
10014
10163
|
"tags": [
|
|
10015
10164
|
"x-internal"
|
|
10016
10165
|
],
|
|
@@ -10120,6 +10269,7 @@
|
|
|
10120
10269
|
"/forms/{form_id}/submissions": {
|
|
10121
10270
|
"get": {
|
|
10122
10271
|
"operationId": "listFormSubmissions",
|
|
10272
|
+
"summary": "List a form's submissions",
|
|
10123
10273
|
"tags": [
|
|
10124
10274
|
"submission"
|
|
10125
10275
|
],
|
|
@@ -10220,6 +10370,8 @@
|
|
|
10220
10370
|
"/hooks": {
|
|
10221
10371
|
"get": {
|
|
10222
10372
|
"operationId": "listHooksBySiteId",
|
|
10373
|
+
"summary": "List a site's outgoing hooks",
|
|
10374
|
+
"description": "Returns the outgoing hooks for a site. Pass `form_id` or `event` to filter the results.",
|
|
10223
10375
|
"tags": [
|
|
10224
10376
|
"hook"
|
|
10225
10377
|
],
|
|
@@ -10229,6 +10381,18 @@
|
|
|
10229
10381
|
"in": "query",
|
|
10230
10382
|
"type": "string",
|
|
10231
10383
|
"required": true
|
|
10384
|
+
},
|
|
10385
|
+
{
|
|
10386
|
+
"name": "form_id",
|
|
10387
|
+
"in": "query",
|
|
10388
|
+
"type": "string",
|
|
10389
|
+
"description": "Only return hooks attached to this form."
|
|
10390
|
+
},
|
|
10391
|
+
{
|
|
10392
|
+
"name": "event",
|
|
10393
|
+
"in": "query",
|
|
10394
|
+
"type": "string",
|
|
10395
|
+
"description": "Only return hooks for this event name."
|
|
10232
10396
|
}
|
|
10233
10397
|
],
|
|
10234
10398
|
"responses": {
|
|
@@ -10292,6 +10456,7 @@
|
|
|
10292
10456
|
},
|
|
10293
10457
|
"post": {
|
|
10294
10458
|
"operationId": "createHookBySiteId",
|
|
10459
|
+
"summary": "Create an outgoing hook",
|
|
10295
10460
|
"tags": [
|
|
10296
10461
|
"hook"
|
|
10297
10462
|
],
|
|
@@ -10410,6 +10575,7 @@
|
|
|
10410
10575
|
],
|
|
10411
10576
|
"get": {
|
|
10412
10577
|
"operationId": "getHook",
|
|
10578
|
+
"summary": "Get an outgoing hook",
|
|
10413
10579
|
"tags": [
|
|
10414
10580
|
"hook"
|
|
10415
10581
|
],
|
|
@@ -10471,6 +10637,7 @@
|
|
|
10471
10637
|
},
|
|
10472
10638
|
"put": {
|
|
10473
10639
|
"operationId": "updateHook",
|
|
10640
|
+
"summary": "Update an outgoing hook",
|
|
10474
10641
|
"tags": [
|
|
10475
10642
|
"hook"
|
|
10476
10643
|
],
|
|
@@ -10570,6 +10737,7 @@
|
|
|
10570
10737
|
},
|
|
10571
10738
|
"delete": {
|
|
10572
10739
|
"operationId": "deleteHook",
|
|
10740
|
+
"summary": "Delete an outgoing hook",
|
|
10573
10741
|
"tags": [
|
|
10574
10742
|
"hook"
|
|
10575
10743
|
],
|
|
@@ -10591,6 +10759,8 @@
|
|
|
10591
10759
|
],
|
|
10592
10760
|
"post": {
|
|
10593
10761
|
"operationId": "enableHook",
|
|
10762
|
+
"summary": "Re-enable an outgoing hook",
|
|
10763
|
+
"description": "Re-enables an outgoing hook that was disabled after repeated delivery errors.",
|
|
10594
10764
|
"tags": [
|
|
10595
10765
|
"hook"
|
|
10596
10766
|
],
|
|
@@ -10654,9 +10824,19 @@
|
|
|
10654
10824
|
"/hooks/types": {
|
|
10655
10825
|
"get": {
|
|
10656
10826
|
"operationId": "listHookTypes",
|
|
10827
|
+
"summary": "List outgoing hook types",
|
|
10828
|
+
"description": "Returns the available outgoing hook types. When `site_id` is given, returns only the types available to that site.",
|
|
10657
10829
|
"tags": [
|
|
10658
10830
|
"hookType"
|
|
10659
10831
|
],
|
|
10832
|
+
"parameters": [
|
|
10833
|
+
{
|
|
10834
|
+
"name": "site_id",
|
|
10835
|
+
"in": "query",
|
|
10836
|
+
"type": "string",
|
|
10837
|
+
"description": "Only return the hook types available to this site."
|
|
10838
|
+
}
|
|
10839
|
+
],
|
|
10660
10840
|
"responses": {
|
|
10661
10841
|
"200": {
|
|
10662
10842
|
"description": "OK",
|
|
@@ -10709,6 +10889,7 @@
|
|
|
10709
10889
|
"/oauth/tickets": {
|
|
10710
10890
|
"post": {
|
|
10711
10891
|
"operationId": "createTicket",
|
|
10892
|
+
"summary": "Create an OAuth ticket",
|
|
10712
10893
|
"tags": [
|
|
10713
10894
|
"ticket"
|
|
10714
10895
|
],
|
|
@@ -10817,6 +10998,7 @@
|
|
|
10817
10998
|
"/oauth/tickets/{ticket_id}": {
|
|
10818
10999
|
"get": {
|
|
10819
11000
|
"operationId": "showTicket",
|
|
11001
|
+
"summary": "Get an OAuth ticket",
|
|
10820
11002
|
"tags": [
|
|
10821
11003
|
"ticket"
|
|
10822
11004
|
],
|
|
@@ -10875,6 +11057,7 @@
|
|
|
10875
11057
|
"/oauth/tickets/{ticket_id}/exchange": {
|
|
10876
11058
|
"post": {
|
|
10877
11059
|
"operationId": "exchangeTicket",
|
|
11060
|
+
"summary": "Exchange an OAuth ticket for an access token",
|
|
10878
11061
|
"tags": [
|
|
10879
11062
|
"accessToken"
|
|
10880
11063
|
],
|
|
@@ -10936,6 +11119,7 @@
|
|
|
10936
11119
|
"/deploy_keys": {
|
|
10937
11120
|
"get": {
|
|
10938
11121
|
"operationId": "listDeployKeys",
|
|
11122
|
+
"summary": "List deploy keys",
|
|
10939
11123
|
"tags": [
|
|
10940
11124
|
"deployKey"
|
|
10941
11125
|
],
|
|
@@ -10984,6 +11168,7 @@
|
|
|
10984
11168
|
},
|
|
10985
11169
|
"post": {
|
|
10986
11170
|
"operationId": "createDeployKey",
|
|
11171
|
+
"summary": "Create a deploy key",
|
|
10987
11172
|
"tags": [
|
|
10988
11173
|
"deployKey"
|
|
10989
11174
|
],
|
|
@@ -11042,6 +11227,7 @@
|
|
|
11042
11227
|
],
|
|
11043
11228
|
"get": {
|
|
11044
11229
|
"operationId": "getDeployKey",
|
|
11230
|
+
"summary": "Get a deploy key",
|
|
11045
11231
|
"tags": [
|
|
11046
11232
|
"deployKey"
|
|
11047
11233
|
],
|
|
@@ -11087,6 +11273,7 @@
|
|
|
11087
11273
|
},
|
|
11088
11274
|
"delete": {
|
|
11089
11275
|
"operationId": "deleteDeployKey",
|
|
11276
|
+
"summary": "Delete a deploy key",
|
|
11090
11277
|
"tags": [
|
|
11091
11278
|
"deployKey"
|
|
11092
11279
|
],
|
|
@@ -11119,6 +11306,7 @@
|
|
|
11119
11306
|
"/{account_slug}/sites": {
|
|
11120
11307
|
"post": {
|
|
11121
11308
|
"operationId": "createSiteInTeam",
|
|
11309
|
+
"summary": "Create a site in a team",
|
|
11122
11310
|
"tags": [
|
|
11123
11311
|
"site"
|
|
11124
11312
|
],
|
|
@@ -11925,6 +12113,7 @@
|
|
|
11925
12113
|
},
|
|
11926
12114
|
"get": {
|
|
11927
12115
|
"operationId": "listSitesForAccount",
|
|
12116
|
+
"summary": "List a team's sites",
|
|
11928
12117
|
"tags": [
|
|
11929
12118
|
"site"
|
|
11930
12119
|
],
|
|
@@ -12340,6 +12529,7 @@
|
|
|
12340
12529
|
],
|
|
12341
12530
|
"get": {
|
|
12342
12531
|
"operationId": "listMembersForAccount",
|
|
12532
|
+
"summary": "List a team's members",
|
|
12343
12533
|
"tags": [
|
|
12344
12534
|
"member"
|
|
12345
12535
|
],
|
|
@@ -12393,6 +12583,7 @@
|
|
|
12393
12583
|
},
|
|
12394
12584
|
"post": {
|
|
12395
12585
|
"operationId": "addMemberToAccount",
|
|
12586
|
+
"summary": "Add a member to a team",
|
|
12396
12587
|
"tags": [
|
|
12397
12588
|
"member"
|
|
12398
12589
|
],
|
|
@@ -12489,6 +12680,7 @@
|
|
|
12489
12680
|
],
|
|
12490
12681
|
"get": {
|
|
12491
12682
|
"operationId": "getAccountMember",
|
|
12683
|
+
"summary": "Get a team member",
|
|
12492
12684
|
"tags": [
|
|
12493
12685
|
"member"
|
|
12494
12686
|
],
|
|
@@ -12539,6 +12731,7 @@
|
|
|
12539
12731
|
},
|
|
12540
12732
|
"put": {
|
|
12541
12733
|
"operationId": "updateAccountMember",
|
|
12734
|
+
"summary": "Update a team member",
|
|
12542
12735
|
"tags": [
|
|
12543
12736
|
"member"
|
|
12544
12737
|
],
|
|
@@ -12627,6 +12820,7 @@
|
|
|
12627
12820
|
},
|
|
12628
12821
|
"delete": {
|
|
12629
12822
|
"operationId": "removeAccountMember",
|
|
12823
|
+
"summary": "Remove a team member",
|
|
12630
12824
|
"tags": [
|
|
12631
12825
|
"member"
|
|
12632
12826
|
],
|
|
@@ -12659,6 +12853,7 @@
|
|
|
12659
12853
|
"/billing/payment_methods": {
|
|
12660
12854
|
"get": {
|
|
12661
12855
|
"operationId": "listPaymentMethodsForUser",
|
|
12856
|
+
"summary": "List payment methods",
|
|
12662
12857
|
"tags": [
|
|
12663
12858
|
"paymentMethod"
|
|
12664
12859
|
],
|
|
@@ -12733,6 +12928,7 @@
|
|
|
12733
12928
|
"/accounts/types": {
|
|
12734
12929
|
"get": {
|
|
12735
12930
|
"operationId": "listAccountTypesForUser",
|
|
12931
|
+
"summary": "List plans available for new teams",
|
|
12736
12932
|
"tags": [
|
|
12737
12933
|
"accountType"
|
|
12738
12934
|
],
|
|
@@ -12797,6 +12993,7 @@
|
|
|
12797
12993
|
"/accounts": {
|
|
12798
12994
|
"get": {
|
|
12799
12995
|
"operationId": "listAccountsForUser",
|
|
12996
|
+
"summary": "List the current user's teams",
|
|
12800
12997
|
"tags": [
|
|
12801
12998
|
"accountMembership"
|
|
12802
12999
|
],
|
|
@@ -12923,6 +13120,7 @@
|
|
|
12923
13120
|
},
|
|
12924
13121
|
"post": {
|
|
12925
13122
|
"operationId": "createAccount",
|
|
13123
|
+
"summary": "Create a team",
|
|
12926
13124
|
"tags": [
|
|
12927
13125
|
"accountMembership"
|
|
12928
13126
|
],
|
|
@@ -13083,6 +13281,7 @@
|
|
|
13083
13281
|
],
|
|
13084
13282
|
"get": {
|
|
13085
13283
|
"operationId": "getAccount",
|
|
13284
|
+
"summary": "Get a team",
|
|
13086
13285
|
"tags": [
|
|
13087
13286
|
"accountMembership"
|
|
13088
13287
|
],
|
|
@@ -13198,6 +13397,7 @@
|
|
|
13198
13397
|
},
|
|
13199
13398
|
"put": {
|
|
13200
13399
|
"operationId": "updateAccount",
|
|
13400
|
+
"summary": "Update a team",
|
|
13201
13401
|
"tags": [
|
|
13202
13402
|
"accountMembership"
|
|
13203
13403
|
],
|
|
@@ -13345,6 +13545,7 @@
|
|
|
13345
13545
|
},
|
|
13346
13546
|
"delete": {
|
|
13347
13547
|
"operationId": "cancelAccount",
|
|
13548
|
+
"summary": "Cancel a team",
|
|
13348
13549
|
"tags": [
|
|
13349
13550
|
"accountMembership"
|
|
13350
13551
|
],
|
|
@@ -13385,6 +13586,7 @@
|
|
|
13385
13586
|
],
|
|
13386
13587
|
"get": {
|
|
13387
13588
|
"operationId": "listAccountAuditEvents",
|
|
13589
|
+
"summary": "List a team's audit log events",
|
|
13388
13590
|
"tags": [
|
|
13389
13591
|
"auditLog"
|
|
13390
13592
|
],
|
|
@@ -13484,6 +13686,7 @@
|
|
|
13484
13686
|
"/agent_runners": {
|
|
13485
13687
|
"get": {
|
|
13486
13688
|
"operationId": "listAgentRunners",
|
|
13689
|
+
"summary": "List a site's agent runs",
|
|
13487
13690
|
"tags": [
|
|
13488
13691
|
"agentRunner"
|
|
13489
13692
|
],
|
|
@@ -13706,6 +13909,7 @@
|
|
|
13706
13909
|
},
|
|
13707
13910
|
"post": {
|
|
13708
13911
|
"operationId": "createAgentRunner",
|
|
13912
|
+
"summary": "Start an agent run",
|
|
13709
13913
|
"tags": [
|
|
13710
13914
|
"agentRunner"
|
|
13711
13915
|
],
|
|
@@ -13925,6 +14129,7 @@
|
|
|
13925
14129
|
],
|
|
13926
14130
|
"post": {
|
|
13927
14131
|
"operationId": "createSiteAgentRunner",
|
|
14132
|
+
"summary": "Start an agent run on a site",
|
|
13928
14133
|
"tags": [
|
|
13929
14134
|
"agentRunner"
|
|
13930
14135
|
],
|
|
@@ -14286,6 +14491,8 @@
|
|
|
14286
14491
|
"post": {
|
|
14287
14492
|
"x-internal": true,
|
|
14288
14493
|
"operationId": "createAgentRunnerUploadUrl",
|
|
14494
|
+
"summary": "Create an upload URL for agent run files",
|
|
14495
|
+
"description": "Returns a presigned URL for uploading a file that agent run sessions can use, and the file's storage key.",
|
|
14289
14496
|
"tags": [
|
|
14290
14497
|
"agentRunner"
|
|
14291
14498
|
],
|
|
@@ -14311,7 +14518,24 @@
|
|
|
14311
14518
|
],
|
|
14312
14519
|
"responses": {
|
|
14313
14520
|
"200": {
|
|
14314
|
-
"description": "OK"
|
|
14521
|
+
"description": "OK",
|
|
14522
|
+
"schema": {
|
|
14523
|
+
"type": "object",
|
|
14524
|
+
"required": [
|
|
14525
|
+
"upload_url",
|
|
14526
|
+
"file_key"
|
|
14527
|
+
],
|
|
14528
|
+
"properties": {
|
|
14529
|
+
"upload_url": {
|
|
14530
|
+
"type": "string",
|
|
14531
|
+
"description": "Presigned URL to upload the file to with a PUT request. Expires after one hour."
|
|
14532
|
+
},
|
|
14533
|
+
"file_key": {
|
|
14534
|
+
"type": "string",
|
|
14535
|
+
"description": "Storage key of the uploaded file."
|
|
14536
|
+
}
|
|
14537
|
+
}
|
|
14538
|
+
}
|
|
14315
14539
|
},
|
|
14316
14540
|
"400": {
|
|
14317
14541
|
"description": "Bad Request"
|
|
@@ -14352,6 +14576,7 @@
|
|
|
14352
14576
|
],
|
|
14353
14577
|
"get": {
|
|
14354
14578
|
"operationId": "getAgentRunner",
|
|
14579
|
+
"summary": "Get an agent run",
|
|
14355
14580
|
"tags": [
|
|
14356
14581
|
"agentRunner"
|
|
14357
14582
|
],
|
|
@@ -14503,6 +14728,7 @@
|
|
|
14503
14728
|
},
|
|
14504
14729
|
"patch": {
|
|
14505
14730
|
"operationId": "updateAgentRunner",
|
|
14731
|
+
"summary": "Update an agent run",
|
|
14506
14732
|
"tags": [
|
|
14507
14733
|
"agentRunner"
|
|
14508
14734
|
],
|
|
@@ -14654,13 +14880,14 @@
|
|
|
14654
14880
|
},
|
|
14655
14881
|
"delete": {
|
|
14656
14882
|
"operationId": "deleteAgentRunner",
|
|
14883
|
+
"summary": "Stop an agent run (alias)",
|
|
14657
14884
|
"tags": [
|
|
14658
14885
|
"hiddenAgentRunner"
|
|
14659
14886
|
],
|
|
14660
14887
|
"description": "Same as `POST /agent_runners/{agent_runner_id}/stop`. Doesn't delete the run.",
|
|
14661
14888
|
"responses": {
|
|
14662
14889
|
"202": {
|
|
14663
|
-
"description": "Accepted"
|
|
14890
|
+
"description": "Accepted. Same behavior as `stopAgentRunner`: the response has no body, the run's active sessions are set to `cancelled` before it returns, and the sandbox shuts down in the background. To confirm, poll `getAgentRunnerSession` (`GET /agent_runners/{agent_runner_id}/sessions/{agent_runner_session_id}`) and check that `state` is `cancelled`."
|
|
14664
14891
|
},
|
|
14665
14892
|
"default": {
|
|
14666
14893
|
"description": "error",
|
|
@@ -14695,13 +14922,14 @@
|
|
|
14695
14922
|
],
|
|
14696
14923
|
"post": {
|
|
14697
14924
|
"operationId": "stopAgentRunner",
|
|
14925
|
+
"summary": "Stop an agent run",
|
|
14698
14926
|
"tags": [
|
|
14699
14927
|
"agentRunner"
|
|
14700
14928
|
],
|
|
14701
14929
|
"description": "Stops the run's active session. Stopping happens in the background.",
|
|
14702
14930
|
"responses": {
|
|
14703
14931
|
"202": {
|
|
14704
|
-
"description": "Accepted"
|
|
14932
|
+
"description": "Accepted. The response has no body. The run's active sessions are set to `cancelled` before this returns, and the sandbox shuts down in the background. To confirm, poll `getAgentRunnerSession` (`GET /agent_runners/{agent_runner_id}/sessions/{agent_runner_session_id}`) and check that `state` is `cancelled`."
|
|
14705
14933
|
},
|
|
14706
14934
|
"default": {
|
|
14707
14935
|
"description": "error",
|
|
@@ -14736,6 +14964,7 @@
|
|
|
14736
14964
|
],
|
|
14737
14965
|
"get": {
|
|
14738
14966
|
"operationId": "getAgentRunnerDiff",
|
|
14967
|
+
"summary": "Get an agent run's diff",
|
|
14739
14968
|
"tags": [
|
|
14740
14969
|
"agentRunner"
|
|
14741
14970
|
],
|
|
@@ -14808,12 +15037,13 @@
|
|
|
14808
15037
|
],
|
|
14809
15038
|
"post": {
|
|
14810
15039
|
"operationId": "archiveAgentRunner",
|
|
15040
|
+
"summary": "Archive an agent run",
|
|
14811
15041
|
"tags": [
|
|
14812
15042
|
"agentRunner"
|
|
14813
15043
|
],
|
|
14814
15044
|
"responses": {
|
|
14815
15045
|
"202": {
|
|
14816
|
-
"description": "Accepted"
|
|
15046
|
+
"description": "Accepted. The response has no body. The archive is applied before this returns: `getAgentRunner` (`GET /agent_runners/{agent_runner_id}`) reports `state` as `archived`."
|
|
14817
15047
|
},
|
|
14818
15048
|
"404": {
|
|
14819
15049
|
"description": "Not Found"
|
|
@@ -14855,12 +15085,135 @@
|
|
|
14855
15085
|
"post": {
|
|
14856
15086
|
"x-internal": true,
|
|
14857
15087
|
"operationId": "agentRunnerPullRequest",
|
|
15088
|
+
"summary": "Open a pull request from an agent run",
|
|
15089
|
+
"description": "Queues a pull request for the run's diff (`result_diff`). The pull request is created in the background, so `pr_url` is usually not set yet in the response: `pr_is_being_created` is `true` until it finishes. Poll `getAgentRunner` until `pr_url` or `pr_error` is set. Returns 409 if a pull request already exists or is being created, and 422 if the run has no diff, no branch, no GitHub repository or installation, or needs a git sync.",
|
|
14858
15090
|
"tags": [
|
|
14859
15091
|
"agentRunner"
|
|
14860
15092
|
],
|
|
14861
15093
|
"responses": {
|
|
14862
15094
|
"200": {
|
|
14863
|
-
"description": "OK"
|
|
15095
|
+
"description": "OK",
|
|
15096
|
+
"schema": {
|
|
15097
|
+
"type": "object",
|
|
15098
|
+
"properties": {
|
|
15099
|
+
"id": {
|
|
15100
|
+
"type": "string"
|
|
15101
|
+
},
|
|
15102
|
+
"site_id": {
|
|
15103
|
+
"type": "string"
|
|
15104
|
+
},
|
|
15105
|
+
"parent_agent_runner_id": {
|
|
15106
|
+
"type": "string"
|
|
15107
|
+
},
|
|
15108
|
+
"state": {
|
|
15109
|
+
"type": "string",
|
|
15110
|
+
"description": "One of `new`, `running`, `await_input`, `interrupted`, `error`, `done`, `cancelled` or `archived`."
|
|
15111
|
+
},
|
|
15112
|
+
"created_at": {
|
|
15113
|
+
"type": "string",
|
|
15114
|
+
"format": "dateTime"
|
|
15115
|
+
},
|
|
15116
|
+
"updated_at": {
|
|
15117
|
+
"type": "string",
|
|
15118
|
+
"format": "dateTime"
|
|
15119
|
+
},
|
|
15120
|
+
"done_at": {
|
|
15121
|
+
"type": "string",
|
|
15122
|
+
"format": "dateTime"
|
|
15123
|
+
},
|
|
15124
|
+
"title": {
|
|
15125
|
+
"type": "string"
|
|
15126
|
+
},
|
|
15127
|
+
"branch": {
|
|
15128
|
+
"type": "string"
|
|
15129
|
+
},
|
|
15130
|
+
"result_branch": {
|
|
15131
|
+
"type": "string"
|
|
15132
|
+
},
|
|
15133
|
+
"pr_url": {
|
|
15134
|
+
"type": "string"
|
|
15135
|
+
},
|
|
15136
|
+
"pr_branch": {
|
|
15137
|
+
"type": "string"
|
|
15138
|
+
},
|
|
15139
|
+
"pr_state": {
|
|
15140
|
+
"type": "string",
|
|
15141
|
+
"description": "One of `open`, `draft`, `merged` or `closed`."
|
|
15142
|
+
},
|
|
15143
|
+
"pr_number": {
|
|
15144
|
+
"type": "integer"
|
|
15145
|
+
},
|
|
15146
|
+
"pr_is_being_created": {
|
|
15147
|
+
"type": "boolean"
|
|
15148
|
+
},
|
|
15149
|
+
"pr_error": {
|
|
15150
|
+
"type": "string"
|
|
15151
|
+
},
|
|
15152
|
+
"current_task": {
|
|
15153
|
+
"type": "string",
|
|
15154
|
+
"description": "What the agent is working on in the active session."
|
|
15155
|
+
},
|
|
15156
|
+
"result_diff": {
|
|
15157
|
+
"type": "string"
|
|
15158
|
+
},
|
|
15159
|
+
"sha": {
|
|
15160
|
+
"type": "string"
|
|
15161
|
+
},
|
|
15162
|
+
"merge_commit_sha": {
|
|
15163
|
+
"type": "string"
|
|
15164
|
+
},
|
|
15165
|
+
"merge_commit_error": {
|
|
15166
|
+
"type": "string"
|
|
15167
|
+
},
|
|
15168
|
+
"merge_commit_is_being_created": {
|
|
15169
|
+
"type": "boolean"
|
|
15170
|
+
},
|
|
15171
|
+
"base_deploy_id": {
|
|
15172
|
+
"type": "string"
|
|
15173
|
+
},
|
|
15174
|
+
"attached_file_keys": {
|
|
15175
|
+
"type": "array",
|
|
15176
|
+
"items": {
|
|
15177
|
+
"type": "string"
|
|
15178
|
+
}
|
|
15179
|
+
},
|
|
15180
|
+
"active_session_created_at": {
|
|
15181
|
+
"type": "string",
|
|
15182
|
+
"format": "dateTime"
|
|
15183
|
+
},
|
|
15184
|
+
"has_result_diff": {
|
|
15185
|
+
"type": "boolean",
|
|
15186
|
+
"description": "Whether the run has changes, available from `GET /agent_runners/{agent_runner_id}/diff`."
|
|
15187
|
+
},
|
|
15188
|
+
"latest_session_deploy_id": {
|
|
15189
|
+
"type": "string"
|
|
15190
|
+
},
|
|
15191
|
+
"latest_session_deploy_url": {
|
|
15192
|
+
"type": "string"
|
|
15193
|
+
},
|
|
15194
|
+
"preview_state": {
|
|
15195
|
+
"type": "string",
|
|
15196
|
+
"description": "State of the deploy building the latest preview. Null until that deploy exists; `ready` once the preview is live."
|
|
15197
|
+
},
|
|
15198
|
+
"user": {
|
|
15199
|
+
"type": "object",
|
|
15200
|
+
"properties": {
|
|
15201
|
+
"id": {
|
|
15202
|
+
"type": "string"
|
|
15203
|
+
},
|
|
15204
|
+
"full_name": {
|
|
15205
|
+
"type": "string"
|
|
15206
|
+
},
|
|
15207
|
+
"email": {
|
|
15208
|
+
"type": "string"
|
|
15209
|
+
},
|
|
15210
|
+
"avatar_url": {
|
|
15211
|
+
"type": "string"
|
|
15212
|
+
}
|
|
15213
|
+
}
|
|
15214
|
+
}
|
|
15215
|
+
}
|
|
15216
|
+
}
|
|
14864
15217
|
},
|
|
14865
15218
|
"400": {
|
|
14866
15219
|
"description": "Bad Request"
|
|
@@ -14905,6 +15258,8 @@
|
|
|
14905
15258
|
"post": {
|
|
14906
15259
|
"x-internal": true,
|
|
14907
15260
|
"operationId": "agentRunnerCommitToBranch",
|
|
15261
|
+
"summary": "Commit an agent run's changes to a branch",
|
|
15262
|
+
"description": "Queues a commit of the run's diff to `target_branch`. The commit is made in the background: `merge_commit_is_being_created` is `true` until it finishes. Poll `getAgentRunner` until `merge_commit_sha` or `merge_commit_error` is set.",
|
|
14908
15263
|
"tags": [
|
|
14909
15264
|
"agentRunner"
|
|
14910
15265
|
],
|
|
@@ -14918,7 +15273,128 @@
|
|
|
14918
15273
|
],
|
|
14919
15274
|
"responses": {
|
|
14920
15275
|
"200": {
|
|
14921
|
-
"description": "OK"
|
|
15276
|
+
"description": "OK",
|
|
15277
|
+
"schema": {
|
|
15278
|
+
"type": "object",
|
|
15279
|
+
"properties": {
|
|
15280
|
+
"id": {
|
|
15281
|
+
"type": "string"
|
|
15282
|
+
},
|
|
15283
|
+
"site_id": {
|
|
15284
|
+
"type": "string"
|
|
15285
|
+
},
|
|
15286
|
+
"parent_agent_runner_id": {
|
|
15287
|
+
"type": "string"
|
|
15288
|
+
},
|
|
15289
|
+
"state": {
|
|
15290
|
+
"type": "string",
|
|
15291
|
+
"description": "One of `new`, `running`, `await_input`, `interrupted`, `error`, `done`, `cancelled` or `archived`."
|
|
15292
|
+
},
|
|
15293
|
+
"created_at": {
|
|
15294
|
+
"type": "string",
|
|
15295
|
+
"format": "dateTime"
|
|
15296
|
+
},
|
|
15297
|
+
"updated_at": {
|
|
15298
|
+
"type": "string",
|
|
15299
|
+
"format": "dateTime"
|
|
15300
|
+
},
|
|
15301
|
+
"done_at": {
|
|
15302
|
+
"type": "string",
|
|
15303
|
+
"format": "dateTime"
|
|
15304
|
+
},
|
|
15305
|
+
"title": {
|
|
15306
|
+
"type": "string"
|
|
15307
|
+
},
|
|
15308
|
+
"branch": {
|
|
15309
|
+
"type": "string"
|
|
15310
|
+
},
|
|
15311
|
+
"result_branch": {
|
|
15312
|
+
"type": "string"
|
|
15313
|
+
},
|
|
15314
|
+
"pr_url": {
|
|
15315
|
+
"type": "string"
|
|
15316
|
+
},
|
|
15317
|
+
"pr_branch": {
|
|
15318
|
+
"type": "string"
|
|
15319
|
+
},
|
|
15320
|
+
"pr_state": {
|
|
15321
|
+
"type": "string",
|
|
15322
|
+
"description": "One of `open`, `draft`, `merged` or `closed`."
|
|
15323
|
+
},
|
|
15324
|
+
"pr_number": {
|
|
15325
|
+
"type": "integer"
|
|
15326
|
+
},
|
|
15327
|
+
"pr_is_being_created": {
|
|
15328
|
+
"type": "boolean"
|
|
15329
|
+
},
|
|
15330
|
+
"pr_error": {
|
|
15331
|
+
"type": "string"
|
|
15332
|
+
},
|
|
15333
|
+
"current_task": {
|
|
15334
|
+
"type": "string",
|
|
15335
|
+
"description": "What the agent is working on in the active session."
|
|
15336
|
+
},
|
|
15337
|
+
"result_diff": {
|
|
15338
|
+
"type": "string"
|
|
15339
|
+
},
|
|
15340
|
+
"sha": {
|
|
15341
|
+
"type": "string"
|
|
15342
|
+
},
|
|
15343
|
+
"merge_commit_sha": {
|
|
15344
|
+
"type": "string"
|
|
15345
|
+
},
|
|
15346
|
+
"merge_commit_error": {
|
|
15347
|
+
"type": "string"
|
|
15348
|
+
},
|
|
15349
|
+
"merge_commit_is_being_created": {
|
|
15350
|
+
"type": "boolean"
|
|
15351
|
+
},
|
|
15352
|
+
"base_deploy_id": {
|
|
15353
|
+
"type": "string"
|
|
15354
|
+
},
|
|
15355
|
+
"attached_file_keys": {
|
|
15356
|
+
"type": "array",
|
|
15357
|
+
"items": {
|
|
15358
|
+
"type": "string"
|
|
15359
|
+
}
|
|
15360
|
+
},
|
|
15361
|
+
"active_session_created_at": {
|
|
15362
|
+
"type": "string",
|
|
15363
|
+
"format": "dateTime"
|
|
15364
|
+
},
|
|
15365
|
+
"has_result_diff": {
|
|
15366
|
+
"type": "boolean",
|
|
15367
|
+
"description": "Whether the run has changes, available from `GET /agent_runners/{agent_runner_id}/diff`."
|
|
15368
|
+
},
|
|
15369
|
+
"latest_session_deploy_id": {
|
|
15370
|
+
"type": "string"
|
|
15371
|
+
},
|
|
15372
|
+
"latest_session_deploy_url": {
|
|
15373
|
+
"type": "string"
|
|
15374
|
+
},
|
|
15375
|
+
"preview_state": {
|
|
15376
|
+
"type": "string",
|
|
15377
|
+
"description": "State of the deploy building the latest preview. Null until that deploy exists; `ready` once the preview is live."
|
|
15378
|
+
},
|
|
15379
|
+
"user": {
|
|
15380
|
+
"type": "object",
|
|
15381
|
+
"properties": {
|
|
15382
|
+
"id": {
|
|
15383
|
+
"type": "string"
|
|
15384
|
+
},
|
|
15385
|
+
"full_name": {
|
|
15386
|
+
"type": "string"
|
|
15387
|
+
},
|
|
15388
|
+
"email": {
|
|
15389
|
+
"type": "string"
|
|
15390
|
+
},
|
|
15391
|
+
"avatar_url": {
|
|
15392
|
+
"type": "string"
|
|
15393
|
+
}
|
|
15394
|
+
}
|
|
15395
|
+
}
|
|
15396
|
+
}
|
|
15397
|
+
}
|
|
14922
15398
|
},
|
|
14923
15399
|
"400": {
|
|
14924
15400
|
"description": "Bad Request"
|
|
@@ -14962,6 +15438,7 @@
|
|
|
14962
15438
|
],
|
|
14963
15439
|
"get": {
|
|
14964
15440
|
"operationId": "listAgentRunnerSessions",
|
|
15441
|
+
"summary": "List an agent run's sessions",
|
|
14965
15442
|
"tags": [
|
|
14966
15443
|
"agentRunnerSession"
|
|
14967
15444
|
],
|
|
@@ -15202,6 +15679,7 @@
|
|
|
15202
15679
|
},
|
|
15203
15680
|
"post": {
|
|
15204
15681
|
"operationId": "createAgentRunnerSession",
|
|
15682
|
+
"summary": "Start a follow-up agent run session",
|
|
15205
15683
|
"tags": [
|
|
15206
15684
|
"agentRunnerSession"
|
|
15207
15685
|
],
|
|
@@ -15656,6 +16134,7 @@
|
|
|
15656
16134
|
],
|
|
15657
16135
|
"get": {
|
|
15658
16136
|
"operationId": "getAgentRunnerSession",
|
|
16137
|
+
"summary": "Get an agent run session",
|
|
15659
16138
|
"tags": [
|
|
15660
16139
|
"agentRunnerSession"
|
|
15661
16140
|
],
|
|
@@ -15850,6 +16329,7 @@
|
|
|
15850
16329
|
},
|
|
15851
16330
|
"patch": {
|
|
15852
16331
|
"operationId": "updateAgentRunnerSession",
|
|
16332
|
+
"summary": "Update an agent run session",
|
|
15853
16333
|
"tags": [
|
|
15854
16334
|
"agentRunnerSession"
|
|
15855
16335
|
],
|
|
@@ -16051,13 +16531,14 @@
|
|
|
16051
16531
|
},
|
|
16052
16532
|
"delete": {
|
|
16053
16533
|
"operationId": "deleteAgentRunnerSession",
|
|
16534
|
+
"summary": "Stop an agent run session (alias)",
|
|
16054
16535
|
"tags": [
|
|
16055
16536
|
"hiddenAgentRunner"
|
|
16056
16537
|
],
|
|
16057
16538
|
"description": "Same as `POST /agent_runners/{agent_runner_id}/sessions/{agent_runner_session_id}/stop`. Doesn't delete the session.",
|
|
16058
16539
|
"responses": {
|
|
16059
16540
|
"202": {
|
|
16060
|
-
"description": "Accepted"
|
|
16541
|
+
"description": "Accepted. Same behavior as `stopAgentRunnerSession`: the response has no body, the session is set to `cancelled` before it returns, and the sandbox shuts down in the background. To confirm, poll `getAgentRunnerSession` (`GET /agent_runners/{agent_runner_id}/sessions/{agent_runner_session_id}`) and check that `state` is `cancelled`."
|
|
16061
16542
|
},
|
|
16062
16543
|
"default": {
|
|
16063
16544
|
"description": "error",
|
|
@@ -16098,13 +16579,14 @@
|
|
|
16098
16579
|
],
|
|
16099
16580
|
"post": {
|
|
16100
16581
|
"operationId": "stopAgentRunnerSession",
|
|
16582
|
+
"summary": "Stop an agent run session",
|
|
16101
16583
|
"tags": [
|
|
16102
16584
|
"agentRunnerSession"
|
|
16103
16585
|
],
|
|
16104
16586
|
"description": "Stops the session. Stopping happens in the background.",
|
|
16105
16587
|
"responses": {
|
|
16106
16588
|
"202": {
|
|
16107
|
-
"description": "Accepted"
|
|
16589
|
+
"description": "Accepted. The response has no body. The session is set to `cancelled` before this returns, and the sandbox shuts down in the background. To confirm, poll `getAgentRunnerSession` (`GET /agent_runners/{agent_runner_id}/sessions/{agent_runner_session_id}`) and check that `state` is `cancelled`."
|
|
16108
16590
|
},
|
|
16109
16591
|
"default": {
|
|
16110
16592
|
"description": "error",
|
|
@@ -16145,6 +16627,7 @@
|
|
|
16145
16627
|
],
|
|
16146
16628
|
"post": {
|
|
16147
16629
|
"operationId": "answerAgentRunnerSession",
|
|
16630
|
+
"summary": "Answer an agent run session's pending interaction",
|
|
16148
16631
|
"tags": [
|
|
16149
16632
|
"agentRunnerSession"
|
|
16150
16633
|
],
|
|
@@ -16475,6 +16958,7 @@
|
|
|
16475
16958
|
],
|
|
16476
16959
|
"get": {
|
|
16477
16960
|
"operationId": "listFormSubmission",
|
|
16961
|
+
"summary": "Get a form submission",
|
|
16478
16962
|
"tags": [
|
|
16479
16963
|
"submission"
|
|
16480
16964
|
],
|
|
@@ -16572,6 +17056,7 @@
|
|
|
16572
17056
|
},
|
|
16573
17057
|
"delete": {
|
|
16574
17058
|
"operationId": "deleteSubmission",
|
|
17059
|
+
"summary": "Delete a form submission",
|
|
16575
17060
|
"tags": [
|
|
16576
17061
|
"submission"
|
|
16577
17062
|
],
|
|
@@ -16612,6 +17097,7 @@
|
|
|
16612
17097
|
],
|
|
16613
17098
|
"get": {
|
|
16614
17099
|
"operationId": "listServiceInstancesForSite",
|
|
17100
|
+
"summary": "List a site's add-on instances",
|
|
16615
17101
|
"tags": [
|
|
16616
17102
|
"serviceInstance"
|
|
16617
17103
|
],
|
|
@@ -16707,6 +17193,7 @@
|
|
|
16707
17193
|
],
|
|
16708
17194
|
"post": {
|
|
16709
17195
|
"operationId": "createServiceInstance",
|
|
17196
|
+
"summary": "Create an add-on instance",
|
|
16710
17197
|
"tags": [
|
|
16711
17198
|
"serviceInstance"
|
|
16712
17199
|
],
|
|
@@ -16818,6 +17305,7 @@
|
|
|
16818
17305
|
],
|
|
16819
17306
|
"get": {
|
|
16820
17307
|
"operationId": "showServiceInstance",
|
|
17308
|
+
"summary": "Get an add-on instance",
|
|
16821
17309
|
"tags": [
|
|
16822
17310
|
"serviceInstance"
|
|
16823
17311
|
],
|
|
@@ -16894,6 +17382,7 @@
|
|
|
16894
17382
|
},
|
|
16895
17383
|
"put": {
|
|
16896
17384
|
"operationId": "updateServiceInstance",
|
|
17385
|
+
"summary": "Update an add-on instance",
|
|
16897
17386
|
"tags": [
|
|
16898
17387
|
"serviceInstance"
|
|
16899
17388
|
],
|
|
@@ -16937,6 +17426,7 @@
|
|
|
16937
17426
|
},
|
|
16938
17427
|
"delete": {
|
|
16939
17428
|
"operationId": "deleteServiceInstance",
|
|
17429
|
+
"summary": "Delete an add-on instance",
|
|
16940
17430
|
"tags": [
|
|
16941
17431
|
"serviceInstance"
|
|
16942
17432
|
],
|
|
@@ -16976,6 +17466,7 @@
|
|
|
16976
17466
|
],
|
|
16977
17467
|
"get": {
|
|
16978
17468
|
"operationId": "getServices",
|
|
17469
|
+
"summary": "List add-on services",
|
|
16979
17470
|
"tags": [
|
|
16980
17471
|
"service"
|
|
16981
17472
|
],
|
|
@@ -17074,6 +17565,7 @@
|
|
|
17074
17565
|
],
|
|
17075
17566
|
"get": {
|
|
17076
17567
|
"operationId": "showService",
|
|
17568
|
+
"summary": "Get an add-on service",
|
|
17077
17569
|
"tags": [
|
|
17078
17570
|
"service"
|
|
17079
17571
|
],
|
|
@@ -17169,6 +17661,7 @@
|
|
|
17169
17661
|
],
|
|
17170
17662
|
"get": {
|
|
17171
17663
|
"operationId": "showServiceManifest",
|
|
17664
|
+
"summary": "Get an add-on service's manifest",
|
|
17172
17665
|
"tags": [
|
|
17173
17666
|
"service"
|
|
17174
17667
|
],
|
|
@@ -17204,6 +17697,7 @@
|
|
|
17204
17697
|
"/user": {
|
|
17205
17698
|
"get": {
|
|
17206
17699
|
"operationId": "getCurrentUser",
|
|
17700
|
+
"summary": "Get the current user",
|
|
17207
17701
|
"tags": [
|
|
17208
17702
|
"user"
|
|
17209
17703
|
],
|
|
@@ -17293,6 +17787,7 @@
|
|
|
17293
17787
|
],
|
|
17294
17788
|
"post": {
|
|
17295
17789
|
"operationId": "createSplitTest",
|
|
17790
|
+
"summary": "Create a split test",
|
|
17296
17791
|
"tags": [
|
|
17297
17792
|
"splitTest"
|
|
17298
17793
|
],
|
|
@@ -17379,6 +17874,7 @@
|
|
|
17379
17874
|
},
|
|
17380
17875
|
"get": {
|
|
17381
17876
|
"operationId": "getSplitTests",
|
|
17877
|
+
"summary": "List a site's split tests",
|
|
17382
17878
|
"tags": [
|
|
17383
17879
|
"splitTest"
|
|
17384
17880
|
],
|
|
@@ -17466,6 +17962,7 @@
|
|
|
17466
17962
|
],
|
|
17467
17963
|
"put": {
|
|
17468
17964
|
"operationId": "updateSplitTest",
|
|
17965
|
+
"summary": "Update a split test",
|
|
17469
17966
|
"tags": [
|
|
17470
17967
|
"splitTest"
|
|
17471
17968
|
],
|
|
@@ -17552,6 +18049,7 @@
|
|
|
17552
18049
|
},
|
|
17553
18050
|
"get": {
|
|
17554
18051
|
"operationId": "getSplitTest",
|
|
18052
|
+
"summary": "Get a split test",
|
|
17555
18053
|
"tags": [
|
|
17556
18054
|
"splitTest"
|
|
17557
18055
|
],
|
|
@@ -17636,6 +18134,7 @@
|
|
|
17636
18134
|
],
|
|
17637
18135
|
"post": {
|
|
17638
18136
|
"operationId": "enableSplitTest",
|
|
18137
|
+
"summary": "Publish a split test",
|
|
17639
18138
|
"tags": [
|
|
17640
18139
|
"splitTest"
|
|
17641
18140
|
],
|
|
@@ -17682,6 +18181,7 @@
|
|
|
17682
18181
|
],
|
|
17683
18182
|
"post": {
|
|
17684
18183
|
"operationId": "disableSplitTest",
|
|
18184
|
+
"summary": "Unpublish a split test",
|
|
17685
18185
|
"tags": [
|
|
17686
18186
|
"splitTest"
|
|
17687
18187
|
],
|
|
@@ -17714,6 +18214,7 @@
|
|
|
17714
18214
|
"/dns_zones": {
|
|
17715
18215
|
"post": {
|
|
17716
18216
|
"operationId": "createDnsZone",
|
|
18217
|
+
"summary": "Create a DNS zone",
|
|
17717
18218
|
"tags": [
|
|
17718
18219
|
"dnsZone"
|
|
17719
18220
|
],
|
|
@@ -17872,6 +18373,8 @@
|
|
|
17872
18373
|
},
|
|
17873
18374
|
"get": {
|
|
17874
18375
|
"operationId": "getDnsZones",
|
|
18376
|
+
"summary": "List DNS zones",
|
|
18377
|
+
"description": "Returns the DNS zones for the team given by `account_slug`, or all DNS zones the current user can access.",
|
|
17875
18378
|
"tags": [
|
|
17876
18379
|
"dnsZone"
|
|
17877
18380
|
],
|
|
@@ -18027,6 +18530,7 @@
|
|
|
18027
18530
|
],
|
|
18028
18531
|
"get": {
|
|
18029
18532
|
"operationId": "getDnsZone",
|
|
18533
|
+
"summary": "Get a DNS zone",
|
|
18030
18534
|
"tags": [
|
|
18031
18535
|
"dnsZone"
|
|
18032
18536
|
],
|
|
@@ -18161,6 +18665,7 @@
|
|
|
18161
18665
|
},
|
|
18162
18666
|
"delete": {
|
|
18163
18667
|
"operationId": "deleteDnsZone",
|
|
18668
|
+
"summary": "Delete a DNS zone",
|
|
18164
18669
|
"tags": [
|
|
18165
18670
|
"dnsZone"
|
|
18166
18671
|
],
|
|
@@ -18222,6 +18727,7 @@
|
|
|
18222
18727
|
],
|
|
18223
18728
|
"put": {
|
|
18224
18729
|
"operationId": "transferDnsZone",
|
|
18730
|
+
"summary": "Transfer a DNS zone to another team",
|
|
18225
18731
|
"tags": [
|
|
18226
18732
|
"dnsZone"
|
|
18227
18733
|
],
|
|
@@ -18366,6 +18872,7 @@
|
|
|
18366
18872
|
],
|
|
18367
18873
|
"get": {
|
|
18368
18874
|
"operationId": "getDnsRecords",
|
|
18875
|
+
"summary": "List a DNS zone's records",
|
|
18369
18876
|
"tags": [
|
|
18370
18877
|
"dnsZone"
|
|
18371
18878
|
],
|
|
@@ -18439,6 +18946,7 @@
|
|
|
18439
18946
|
},
|
|
18440
18947
|
"post": {
|
|
18441
18948
|
"operationId": "createDnsRecord",
|
|
18949
|
+
"summary": "Create a DNS record",
|
|
18442
18950
|
"tags": [
|
|
18443
18951
|
"dnsZone"
|
|
18444
18952
|
],
|
|
@@ -18572,6 +19080,7 @@
|
|
|
18572
19080
|
],
|
|
18573
19081
|
"get": {
|
|
18574
19082
|
"operationId": "getIndividualDnsRecord",
|
|
19083
|
+
"summary": "Get a DNS record",
|
|
18575
19084
|
"tags": [
|
|
18576
19085
|
"dnsZone"
|
|
18577
19086
|
],
|
|
@@ -18642,6 +19151,7 @@
|
|
|
18642
19151
|
},
|
|
18643
19152
|
"delete": {
|
|
18644
19153
|
"operationId": "deleteDnsRecord",
|
|
19154
|
+
"summary": "Delete a DNS record",
|
|
18645
19155
|
"tags": [
|
|
18646
19156
|
"dnsZone"
|
|
18647
19157
|
],
|
|
@@ -18682,6 +19192,7 @@
|
|
|
18682
19192
|
],
|
|
18683
19193
|
"get": {
|
|
18684
19194
|
"operationId": "listSiteDevServers",
|
|
19195
|
+
"summary": "List a site's dev servers",
|
|
18685
19196
|
"tags": [
|
|
18686
19197
|
"devServer"
|
|
18687
19198
|
],
|
|
@@ -18778,6 +19289,7 @@
|
|
|
18778
19289
|
},
|
|
18779
19290
|
"post": {
|
|
18780
19291
|
"operationId": "createSiteDevServer",
|
|
19292
|
+
"summary": "Start a dev server",
|
|
18781
19293
|
"tags": [
|
|
18782
19294
|
"devServer"
|
|
18783
19295
|
],
|
|
@@ -18865,6 +19377,8 @@
|
|
|
18865
19377
|
},
|
|
18866
19378
|
"delete": {
|
|
18867
19379
|
"operationId": "deleteSiteDevServers",
|
|
19380
|
+
"summary": "Stop a branch's dev servers",
|
|
19381
|
+
"description": "Stops all dev servers for a branch. Stopping happens in the background.",
|
|
18868
19382
|
"tags": [
|
|
18869
19383
|
"devServer"
|
|
18870
19384
|
],
|
|
@@ -18877,7 +19391,7 @@
|
|
|
18877
19391
|
],
|
|
18878
19392
|
"responses": {
|
|
18879
19393
|
"202": {
|
|
18880
|
-
"description": "
|
|
19394
|
+
"description": "Accepted. The response has no body. The branch's active dev servers are set to `stopping` before this returns and shut down in the background. Poll `getSiteDevServer` (`GET /sites/{site_id}/dev_servers/{dev_server_id}`) or `listSiteDevServers` (`GET /sites/{site_id}/dev_servers`) until `state` is `done` (or `error`)."
|
|
18881
19395
|
},
|
|
18882
19396
|
"default": {
|
|
18883
19397
|
"description": "error",
|
|
@@ -18918,6 +19432,7 @@
|
|
|
18918
19432
|
],
|
|
18919
19433
|
"get": {
|
|
18920
19434
|
"operationId": "getSiteDevServer",
|
|
19435
|
+
"summary": "Get a dev server",
|
|
18921
19436
|
"tags": [
|
|
18922
19437
|
"devServer"
|
|
18923
19438
|
],
|
|
@@ -18993,12 +19508,60 @@
|
|
|
18993
19508
|
"post": {
|
|
18994
19509
|
"x-internal": true,
|
|
18995
19510
|
"operationId": "markDevServerActivity",
|
|
19511
|
+
"summary": "Record dev server activity",
|
|
18996
19512
|
"tags": [
|
|
18997
19513
|
"devServer"
|
|
18998
19514
|
],
|
|
18999
19515
|
"responses": {
|
|
19000
19516
|
"200": {
|
|
19001
|
-
"description": "OK"
|
|
19517
|
+
"description": "OK",
|
|
19518
|
+
"schema": {
|
|
19519
|
+
"type": "object",
|
|
19520
|
+
"properties": {
|
|
19521
|
+
"id": {
|
|
19522
|
+
"type": "string"
|
|
19523
|
+
},
|
|
19524
|
+
"site_id": {
|
|
19525
|
+
"type": "string"
|
|
19526
|
+
},
|
|
19527
|
+
"branch": {
|
|
19528
|
+
"type": "string"
|
|
19529
|
+
},
|
|
19530
|
+
"url": {
|
|
19531
|
+
"type": "string"
|
|
19532
|
+
},
|
|
19533
|
+
"state": {
|
|
19534
|
+
"type": "string"
|
|
19535
|
+
},
|
|
19536
|
+
"created_at": {
|
|
19537
|
+
"type": "string",
|
|
19538
|
+
"format": "dateTime"
|
|
19539
|
+
},
|
|
19540
|
+
"updated_at": {
|
|
19541
|
+
"type": "string",
|
|
19542
|
+
"format": "dateTime"
|
|
19543
|
+
},
|
|
19544
|
+
"starting_at": {
|
|
19545
|
+
"type": "string",
|
|
19546
|
+
"format": "dateTime"
|
|
19547
|
+
},
|
|
19548
|
+
"error_at": {
|
|
19549
|
+
"type": "string",
|
|
19550
|
+
"format": "dateTime"
|
|
19551
|
+
},
|
|
19552
|
+
"live_at": {
|
|
19553
|
+
"type": "string",
|
|
19554
|
+
"format": "dateTime"
|
|
19555
|
+
},
|
|
19556
|
+
"done_at": {
|
|
19557
|
+
"type": "string",
|
|
19558
|
+
"format": "dateTime"
|
|
19559
|
+
},
|
|
19560
|
+
"title": {
|
|
19561
|
+
"type": "string"
|
|
19562
|
+
}
|
|
19563
|
+
}
|
|
19564
|
+
}
|
|
19002
19565
|
}
|
|
19003
19566
|
}
|
|
19004
19567
|
}
|
|
@@ -19020,6 +19583,7 @@
|
|
|
19020
19583
|
],
|
|
19021
19584
|
"post": {
|
|
19022
19585
|
"operationId": "updateDevServerState",
|
|
19586
|
+
"summary": "Update a dev server's state",
|
|
19023
19587
|
"tags": [
|
|
19024
19588
|
"devServer"
|
|
19025
19589
|
],
|
|
@@ -19121,6 +19685,7 @@
|
|
|
19121
19685
|
],
|
|
19122
19686
|
"get": {
|
|
19123
19687
|
"operationId": "listSiteDevServerHooks",
|
|
19688
|
+
"summary": "List a site's dev server hooks",
|
|
19124
19689
|
"tags": [
|
|
19125
19690
|
"devServerHook"
|
|
19126
19691
|
],
|
|
@@ -19185,6 +19750,7 @@
|
|
|
19185
19750
|
},
|
|
19186
19751
|
"post": {
|
|
19187
19752
|
"operationId": "createSiteDevServerHook",
|
|
19753
|
+
"summary": "Create a dev server hook",
|
|
19188
19754
|
"tags": [
|
|
19189
19755
|
"devServerHook"
|
|
19190
19756
|
],
|
|
@@ -19290,6 +19856,7 @@
|
|
|
19290
19856
|
],
|
|
19291
19857
|
"get": {
|
|
19292
19858
|
"operationId": "getSiteDevServerHook",
|
|
19859
|
+
"summary": "Get a dev server hook",
|
|
19293
19860
|
"tags": [
|
|
19294
19861
|
"devServerHook"
|
|
19295
19862
|
],
|
|
@@ -19351,6 +19918,7 @@
|
|
|
19351
19918
|
},
|
|
19352
19919
|
"put": {
|
|
19353
19920
|
"operationId": "updateSiteDevServerHook",
|
|
19921
|
+
"summary": "Update a dev server hook",
|
|
19354
19922
|
"tags": [
|
|
19355
19923
|
"devServerHook"
|
|
19356
19924
|
],
|
|
@@ -19409,6 +19977,7 @@
|
|
|
19409
19977
|
},
|
|
19410
19978
|
"delete": {
|
|
19411
19979
|
"operationId": "deleteSiteDevServerHook",
|
|
19980
|
+
"summary": "Delete a dev server hook",
|
|
19412
19981
|
"tags": [
|
|
19413
19982
|
"devServerHook"
|
|
19414
19983
|
],
|
|
@@ -19450,6 +20019,7 @@
|
|
|
19450
20019
|
"get": {
|
|
19451
20020
|
"x-internal": true,
|
|
19452
20021
|
"operationId": "listSiteAgentRunnerHooks",
|
|
20022
|
+
"summary": "List a site's agent runner hooks",
|
|
19453
20023
|
"tags": [
|
|
19454
20024
|
"agentRunnerHook"
|
|
19455
20025
|
],
|
|
@@ -19517,6 +20087,7 @@
|
|
|
19517
20087
|
"post": {
|
|
19518
20088
|
"x-internal": true,
|
|
19519
20089
|
"operationId": "createSiteAgentRunnerHook",
|
|
20090
|
+
"summary": "Create an agent runner hook",
|
|
19520
20091
|
"tags": [
|
|
19521
20092
|
"agentRunnerHook"
|
|
19522
20093
|
],
|
|
@@ -19635,6 +20206,7 @@
|
|
|
19635
20206
|
"get": {
|
|
19636
20207
|
"x-internal": true,
|
|
19637
20208
|
"operationId": "getSiteAgentRunnerHook",
|
|
20209
|
+
"summary": "Get an agent runner hook",
|
|
19638
20210
|
"tags": [
|
|
19639
20211
|
"agentRunnerHook"
|
|
19640
20212
|
],
|
|
@@ -19699,6 +20271,7 @@
|
|
|
19699
20271
|
"put": {
|
|
19700
20272
|
"x-internal": true,
|
|
19701
20273
|
"operationId": "updateSiteAgentRunnerHook",
|
|
20274
|
+
"summary": "Update an agent runner hook",
|
|
19702
20275
|
"tags": [
|
|
19703
20276
|
"agentRunnerHook"
|
|
19704
20277
|
],
|
|
@@ -19757,6 +20330,7 @@
|
|
|
19757
20330
|
"delete": {
|
|
19758
20331
|
"x-internal": true,
|
|
19759
20332
|
"operationId": "deleteSiteAgentRunnerHook",
|
|
20333
|
+
"summary": "Delete an agent runner hook",
|
|
19760
20334
|
"tags": [
|
|
19761
20335
|
"agentRunnerHook"
|
|
19762
20336
|
],
|
|
@@ -19789,6 +20363,7 @@
|
|
|
19789
20363
|
"/ai-gateway/providers": {
|
|
19790
20364
|
"get": {
|
|
19791
20365
|
"operationId": "getAIGatewayProviders",
|
|
20366
|
+
"summary": "List AI Gateway providers and models",
|
|
19792
20367
|
"tags": [
|
|
19793
20368
|
"aiGateway"
|
|
19794
20369
|
],
|
|
@@ -19855,6 +20430,7 @@
|
|
|
19855
20430
|
],
|
|
19856
20431
|
"get": {
|
|
19857
20432
|
"operationId": "getAIGatewayToken",
|
|
20433
|
+
"summary": "Get a site's AI Gateway token",
|
|
19858
20434
|
"tags": [
|
|
19859
20435
|
"aiGateway"
|
|
19860
20436
|
],
|
|
@@ -19918,6 +20494,7 @@
|
|
|
19918
20494
|
],
|
|
19919
20495
|
"get": {
|
|
19920
20496
|
"operationId": "getAccountAIGatewayToken",
|
|
20497
|
+
"summary": "Get a team's AI Gateway token",
|
|
19921
20498
|
"tags": [
|
|
19922
20499
|
"aiGateway"
|
|
19923
20500
|
],
|
|
@@ -19980,6 +20557,7 @@
|
|
|
19980
20557
|
],
|
|
19981
20558
|
"post": {
|
|
19982
20559
|
"operationId": "createSiteDatabase",
|
|
20560
|
+
"summary": "Create a site database",
|
|
19983
20561
|
"tags": [
|
|
19984
20562
|
"database"
|
|
19985
20563
|
],
|
|
@@ -20053,6 +20631,7 @@
|
|
|
20053
20631
|
},
|
|
20054
20632
|
"get": {
|
|
20055
20633
|
"operationId": "getSiteDatabase",
|
|
20634
|
+
"summary": "Get a site database",
|
|
20056
20635
|
"tags": [
|
|
20057
20636
|
"database"
|
|
20058
20637
|
],
|
|
@@ -20106,6 +20685,7 @@
|
|
|
20106
20685
|
},
|
|
20107
20686
|
"delete": {
|
|
20108
20687
|
"operationId": "deleteSiteDatabase",
|
|
20688
|
+
"summary": "Delete a site database",
|
|
20109
20689
|
"tags": [
|
|
20110
20690
|
"database"
|
|
20111
20691
|
],
|
|
@@ -20147,6 +20727,7 @@
|
|
|
20147
20727
|
],
|
|
20148
20728
|
"post": {
|
|
20149
20729
|
"operationId": "createSiteDatabaseBranch",
|
|
20730
|
+
"summary": "Create a database branch",
|
|
20150
20731
|
"tags": [
|
|
20151
20732
|
"database"
|
|
20152
20733
|
],
|
|
@@ -20253,6 +20834,7 @@
|
|
|
20253
20834
|
],
|
|
20254
20835
|
"get": {
|
|
20255
20836
|
"operationId": "listSiteDatabaseBranches",
|
|
20837
|
+
"summary": "List database branches",
|
|
20256
20838
|
"tags": [
|
|
20257
20839
|
"database"
|
|
20258
20840
|
],
|
|
@@ -20399,6 +20981,7 @@
|
|
|
20399
20981
|
],
|
|
20400
20982
|
"get": {
|
|
20401
20983
|
"operationId": "getSiteDatabaseBranch",
|
|
20984
|
+
"summary": "Get a database branch",
|
|
20402
20985
|
"tags": [
|
|
20403
20986
|
"database"
|
|
20404
20987
|
],
|
|
@@ -20460,6 +21043,7 @@
|
|
|
20460
21043
|
},
|
|
20461
21044
|
"delete": {
|
|
20462
21045
|
"operationId": "deleteSiteDatabaseBranch",
|
|
21046
|
+
"summary": "Delete a database branch",
|
|
20463
21047
|
"tags": [
|
|
20464
21048
|
"database"
|
|
20465
21049
|
],
|
|
@@ -20508,6 +21092,7 @@
|
|
|
20508
21092
|
],
|
|
20509
21093
|
"post": {
|
|
20510
21094
|
"operationId": "resetSiteDatabaseBranch",
|
|
21095
|
+
"summary": "Reset a database branch",
|
|
20511
21096
|
"tags": [
|
|
20512
21097
|
"database"
|
|
20513
21098
|
],
|
|
@@ -20616,6 +21201,7 @@
|
|
|
20616
21201
|
],
|
|
20617
21202
|
"put": {
|
|
20618
21203
|
"operationId": "setSiteDatabaseBranchComputeSettings",
|
|
21204
|
+
"summary": "Set a database branch's compute settings",
|
|
20619
21205
|
"tags": [
|
|
20620
21206
|
"database"
|
|
20621
21207
|
],
|
|
@@ -20720,6 +21306,7 @@
|
|
|
20720
21306
|
],
|
|
20721
21307
|
"put": {
|
|
20722
21308
|
"operationId": "setSiteDatabaseComputeSettings",
|
|
21309
|
+
"summary": "Set database compute settings",
|
|
20723
21310
|
"tags": [
|
|
20724
21311
|
"database"
|
|
20725
21312
|
],
|
|
@@ -20814,6 +21401,7 @@
|
|
|
20814
21401
|
},
|
|
20815
21402
|
"get": {
|
|
20816
21403
|
"operationId": "getSiteDatabaseComputeSettings",
|
|
21404
|
+
"summary": "Get database compute settings",
|
|
20817
21405
|
"tags": [
|
|
20818
21406
|
"database"
|
|
20819
21407
|
],
|
|
@@ -20869,6 +21457,7 @@
|
|
|
20869
21457
|
},
|
|
20870
21458
|
"delete": {
|
|
20871
21459
|
"operationId": "clearSiteDatabaseComputeSettings",
|
|
21460
|
+
"summary": "Reset database compute settings to defaults",
|
|
20872
21461
|
"tags": [
|
|
20873
21462
|
"database"
|
|
20874
21463
|
],
|
|
@@ -20913,6 +21502,7 @@
|
|
|
20913
21502
|
],
|
|
20914
21503
|
"get": {
|
|
20915
21504
|
"operationId": "listSiteDatabaseMigrations",
|
|
21505
|
+
"summary": "List database migrations",
|
|
20916
21506
|
"tags": [
|
|
20917
21507
|
"database"
|
|
20918
21508
|
],
|
|
@@ -21008,6 +21598,7 @@
|
|
|
21008
21598
|
],
|
|
21009
21599
|
"get": {
|
|
21010
21600
|
"operationId": "getSiteDatabaseMigration",
|
|
21601
|
+
"summary": "Get a database migration",
|
|
21011
21602
|
"tags": [
|
|
21012
21603
|
"database"
|
|
21013
21604
|
],
|
|
@@ -21093,6 +21684,7 @@
|
|
|
21093
21684
|
],
|
|
21094
21685
|
"post": {
|
|
21095
21686
|
"operationId": "runSiteDatabaseMigrations",
|
|
21687
|
+
"summary": "Run database migrations for a deploy",
|
|
21096
21688
|
"tags": [
|
|
21097
21689
|
"database"
|
|
21098
21690
|
],
|
|
@@ -21159,6 +21751,7 @@
|
|
|
21159
21751
|
],
|
|
21160
21752
|
"post": {
|
|
21161
21753
|
"operationId": "createSiteDatabaseSnapshot",
|
|
21754
|
+
"summary": "Create a database snapshot",
|
|
21162
21755
|
"tags": [
|
|
21163
21756
|
"database"
|
|
21164
21757
|
],
|
|
@@ -21286,6 +21879,7 @@
|
|
|
21286
21879
|
],
|
|
21287
21880
|
"get": {
|
|
21288
21881
|
"operationId": "listSiteDatabaseSnapshots",
|
|
21882
|
+
"summary": "List database snapshots",
|
|
21289
21883
|
"tags": [
|
|
21290
21884
|
"database"
|
|
21291
21885
|
],
|
|
@@ -21392,6 +21986,7 @@
|
|
|
21392
21986
|
],
|
|
21393
21987
|
"delete": {
|
|
21394
21988
|
"operationId": "deleteSiteDatabaseSnapshot",
|
|
21989
|
+
"summary": "Delete a database snapshot",
|
|
21395
21990
|
"tags": [
|
|
21396
21991
|
"database"
|
|
21397
21992
|
],
|
|
@@ -21440,6 +22035,7 @@
|
|
|
21440
22035
|
],
|
|
21441
22036
|
"post": {
|
|
21442
22037
|
"operationId": "restoreSiteDatabaseSnapshot",
|
|
22038
|
+
"summary": "Restore a database snapshot",
|
|
21443
22039
|
"tags": [
|
|
21444
22040
|
"database"
|
|
21445
22041
|
],
|
|
@@ -23799,6 +24395,26 @@
|
|
|
23799
24395
|
"runtime_version": {
|
|
23800
24396
|
"type": "string",
|
|
23801
24397
|
"description": "The runtime version the server was built for, such as `nodejs24.x`. A\ndefault version is used when absent.\n"
|
|
24398
|
+
},
|
|
24399
|
+
"scale": {
|
|
24400
|
+
"type": "object",
|
|
24401
|
+
"description": "How many instances of the server run.",
|
|
24402
|
+
"properties": {
|
|
24403
|
+
"min": {
|
|
24404
|
+
"type": "integer",
|
|
24405
|
+
"format": "int64",
|
|
24406
|
+
"minimum": 0,
|
|
24407
|
+
"x-nullable": true,
|
|
24408
|
+
"description": "The minimum number of instances the server keeps running. Defaults to 0\nwhen absent.\n"
|
|
24409
|
+
},
|
|
24410
|
+
"max": {
|
|
24411
|
+
"type": "integer",
|
|
24412
|
+
"format": "int64",
|
|
24413
|
+
"minimum": 1,
|
|
24414
|
+
"x-nullable": true,
|
|
24415
|
+
"description": "The maximum number of instances the server scales to. Defaults to the\nhighest the account's plan allows when absent.\n"
|
|
24416
|
+
}
|
|
24417
|
+
}
|
|
23802
24418
|
}
|
|
23803
24419
|
}
|
|
23804
24420
|
},
|