@netlify/open-api 2.62.0 → 2.63.1

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/swagger.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "swagger": "2.0",
3
3
  "info": {
4
- "version": "2.62.0",
4
+ "version": "2.63.1",
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"
@@ -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
  ],
@@ -7727,6 +7827,7 @@
7727
7827
  ],
7728
7828
  "get": {
7729
7829
  "operationId": "listSiteDeployedBranches",
7830
+ "summary": "List a site's deployed branches",
7730
7831
  "tags": [
7731
7832
  "deployedBranch"
7732
7833
  ],
@@ -7793,6 +7894,7 @@
7793
7894
  ],
7794
7895
  "put": {
7795
7896
  "operationId": "unlinkSiteRepo",
7897
+ "summary": "Unlink a site's repository",
7796
7898
  "tags": [
7797
7899
  "site"
7798
7900
  ],
@@ -8162,6 +8264,7 @@
8162
8264
  ],
8163
8265
  "put": {
8164
8266
  "operationId": "enableSite",
8267
+ "summary": "Enable a site",
8165
8268
  "tags": [
8166
8269
  "site"
8167
8270
  ],
@@ -8222,6 +8325,7 @@
8222
8325
  ],
8223
8326
  "put": {
8224
8327
  "operationId": "disableSite",
8328
+ "summary": "Disable a site",
8225
8329
  "tags": [
8226
8330
  "site"
8227
8331
  ],
@@ -8272,6 +8376,7 @@
8272
8376
  ],
8273
8377
  "get": {
8274
8378
  "operationId": "getSiteBuild",
8379
+ "summary": "Get a build",
8275
8380
  "tags": [
8276
8381
  "build"
8277
8382
  ],
@@ -8362,6 +8467,7 @@
8362
8467
  ],
8363
8468
  "post": {
8364
8469
  "operationId": "updateSiteBuildLog",
8470
+ "summary": "Add a message to a build log",
8365
8471
  "tags": [
8366
8472
  "buildLogMsg"
8367
8473
  ],
@@ -8420,6 +8526,7 @@
8420
8526
  ],
8421
8527
  "post": {
8422
8528
  "operationId": "notifyBuildStart",
8529
+ "summary": "Mark a build as started",
8423
8530
  "tags": [
8424
8531
  "build"
8425
8532
  ],
@@ -8460,6 +8567,8 @@
8460
8567
  ],
8461
8568
  "get": {
8462
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.",
8463
8572
  "tags": [
8464
8573
  "build"
8465
8574
  ],
@@ -8552,6 +8661,7 @@
8552
8661
  ],
8553
8662
  "get": {
8554
8663
  "operationId": "getDNSForSite",
8664
+ "summary": "Get a site's DNS configuration",
8555
8665
  "tags": [
8556
8666
  "dnsZone"
8557
8667
  ],
@@ -8689,6 +8799,8 @@
8689
8799
  },
8690
8800
  "put": {
8691
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.",
8692
8804
  "tags": [
8693
8805
  "dnsZone"
8694
8806
  ],
@@ -8836,6 +8948,8 @@
8836
8948
  ],
8837
8949
  "put": {
8838
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`.",
8839
8953
  "tags": [
8840
8954
  "deploy"
8841
8955
  ],
@@ -8868,6 +8982,7 @@
8868
8982
  "/deploys/{deploy_id}": {
8869
8983
  "get": {
8870
8984
  "operationId": "getDeploy",
8985
+ "summary": "Get a deploy",
8871
8986
  "tags": [
8872
8987
  "deploy"
8873
8988
  ],
@@ -9057,6 +9172,8 @@
9057
9172
  },
9058
9173
  "delete": {
9059
9174
  "operationId": "deleteDeploy",
9175
+ "summary": "Delete a deploy",
9176
+ "description": "Marks a deploy for deletion.",
9060
9177
  "tags": [
9061
9178
  "deploy"
9062
9179
  ],
@@ -9097,6 +9214,7 @@
9097
9214
  "/deploys/{deploy_id}/validations_report": {
9098
9215
  "patch": {
9099
9216
  "operationId": "updateDeployValidations",
9217
+ "summary": "Update a deploy's validations report",
9100
9218
  "tags": [
9101
9219
  "deploy"
9102
9220
  ],
@@ -9165,6 +9283,8 @@
9165
9283
  "/deploys/{deploy_id}/lock": {
9166
9284
  "post": {
9167
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.",
9168
9288
  "tags": [
9169
9289
  "deploy"
9170
9290
  ],
@@ -9356,6 +9476,7 @@
9356
9476
  "/deploys/{deploy_id}/unlock": {
9357
9477
  "post": {
9358
9478
  "operationId": "unlockDeploy",
9479
+ "summary": "Unlock a deploy",
9359
9480
  "tags": [
9360
9481
  "deploy"
9361
9482
  ],
@@ -9547,6 +9668,7 @@
9547
9668
  "/deploys/{deploy_id}/files/{path}": {
9548
9669
  "put": {
9549
9670
  "operationId": "uploadDeployFile",
9671
+ "summary": "Upload a deploy file",
9550
9672
  "tags": [
9551
9673
  "file"
9552
9674
  ],
@@ -9631,6 +9753,7 @@
9631
9753
  "/deploys/{deploy_id}/functions/{name}": {
9632
9754
  "put": {
9633
9755
  "operationId": "uploadDeployFunction",
9756
+ "summary": "Upload a deploy function",
9634
9757
  "tags": [
9635
9758
  "function"
9636
9759
  ],
@@ -9731,6 +9854,7 @@
9731
9854
  "/deploys/{deploy_id}/server/{code_sha}": {
9732
9855
  "put": {
9733
9856
  "operationId": "uploadDeployServer",
9857
+ "summary": "Upload a deploy's Netlify Server bundle",
9734
9858
  "tags": [
9735
9859
  "deploy"
9736
9860
  ],
@@ -9800,6 +9924,7 @@
9800
9924
  "/deploys/{deploy_id}/edge_functions/{code_sha}": {
9801
9925
  "put": {
9802
9926
  "operationId": "uploadDeployEdgeFunction",
9927
+ "summary": "Upload a deploy's edge functions bundle",
9803
9928
  "tags": [
9804
9929
  "edgeFunction"
9805
9930
  ],
@@ -9864,6 +9989,7 @@
9864
9989
  "put": {
9865
9990
  "x-internal": true,
9866
9991
  "operationId": "updatePlugin",
9992
+ "summary": "Update a site's build plugin",
9867
9993
  "tags": [
9868
9994
  "x-internal"
9869
9995
  ],
@@ -9935,6 +10061,7 @@
9935
10061
  "get": {
9936
10062
  "x-internal": true,
9937
10063
  "operationId": "getLatestPluginRuns",
10064
+ "summary": "List a site's latest build plugin runs",
9938
10065
  "tags": [
9939
10066
  "x-internal"
9940
10067
  ],
@@ -10032,6 +10159,7 @@
10032
10159
  "post": {
10033
10160
  "x-internal": true,
10034
10161
  "operationId": "createPluginRun",
10162
+ "summary": "Create a build plugin run",
10035
10163
  "tags": [
10036
10164
  "x-internal"
10037
10165
  ],
@@ -10141,6 +10269,7 @@
10141
10269
  "/forms/{form_id}/submissions": {
10142
10270
  "get": {
10143
10271
  "operationId": "listFormSubmissions",
10272
+ "summary": "List a form's submissions",
10144
10273
  "tags": [
10145
10274
  "submission"
10146
10275
  ],
@@ -10241,6 +10370,8 @@
10241
10370
  "/hooks": {
10242
10371
  "get": {
10243
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.",
10244
10375
  "tags": [
10245
10376
  "hook"
10246
10377
  ],
@@ -10250,6 +10381,18 @@
10250
10381
  "in": "query",
10251
10382
  "type": "string",
10252
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."
10253
10396
  }
10254
10397
  ],
10255
10398
  "responses": {
@@ -10313,6 +10456,7 @@
10313
10456
  },
10314
10457
  "post": {
10315
10458
  "operationId": "createHookBySiteId",
10459
+ "summary": "Create an outgoing hook",
10316
10460
  "tags": [
10317
10461
  "hook"
10318
10462
  ],
@@ -10431,6 +10575,7 @@
10431
10575
  ],
10432
10576
  "get": {
10433
10577
  "operationId": "getHook",
10578
+ "summary": "Get an outgoing hook",
10434
10579
  "tags": [
10435
10580
  "hook"
10436
10581
  ],
@@ -10492,6 +10637,7 @@
10492
10637
  },
10493
10638
  "put": {
10494
10639
  "operationId": "updateHook",
10640
+ "summary": "Update an outgoing hook",
10495
10641
  "tags": [
10496
10642
  "hook"
10497
10643
  ],
@@ -10591,6 +10737,7 @@
10591
10737
  },
10592
10738
  "delete": {
10593
10739
  "operationId": "deleteHook",
10740
+ "summary": "Delete an outgoing hook",
10594
10741
  "tags": [
10595
10742
  "hook"
10596
10743
  ],
@@ -10612,6 +10759,8 @@
10612
10759
  ],
10613
10760
  "post": {
10614
10761
  "operationId": "enableHook",
10762
+ "summary": "Re-enable an outgoing hook",
10763
+ "description": "Re-enables an outgoing hook that was disabled after repeated delivery errors.",
10615
10764
  "tags": [
10616
10765
  "hook"
10617
10766
  ],
@@ -10675,9 +10824,19 @@
10675
10824
  "/hooks/types": {
10676
10825
  "get": {
10677
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.",
10678
10829
  "tags": [
10679
10830
  "hookType"
10680
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
+ ],
10681
10840
  "responses": {
10682
10841
  "200": {
10683
10842
  "description": "OK",
@@ -10730,6 +10889,7 @@
10730
10889
  "/oauth/tickets": {
10731
10890
  "post": {
10732
10891
  "operationId": "createTicket",
10892
+ "summary": "Create an OAuth ticket",
10733
10893
  "tags": [
10734
10894
  "ticket"
10735
10895
  ],
@@ -10838,6 +10998,7 @@
10838
10998
  "/oauth/tickets/{ticket_id}": {
10839
10999
  "get": {
10840
11000
  "operationId": "showTicket",
11001
+ "summary": "Get an OAuth ticket",
10841
11002
  "tags": [
10842
11003
  "ticket"
10843
11004
  ],
@@ -10896,6 +11057,7 @@
10896
11057
  "/oauth/tickets/{ticket_id}/exchange": {
10897
11058
  "post": {
10898
11059
  "operationId": "exchangeTicket",
11060
+ "summary": "Exchange an OAuth ticket for an access token",
10899
11061
  "tags": [
10900
11062
  "accessToken"
10901
11063
  ],
@@ -10957,6 +11119,7 @@
10957
11119
  "/deploy_keys": {
10958
11120
  "get": {
10959
11121
  "operationId": "listDeployKeys",
11122
+ "summary": "List deploy keys",
10960
11123
  "tags": [
10961
11124
  "deployKey"
10962
11125
  ],
@@ -11005,6 +11168,7 @@
11005
11168
  },
11006
11169
  "post": {
11007
11170
  "operationId": "createDeployKey",
11171
+ "summary": "Create a deploy key",
11008
11172
  "tags": [
11009
11173
  "deployKey"
11010
11174
  ],
@@ -11063,6 +11227,7 @@
11063
11227
  ],
11064
11228
  "get": {
11065
11229
  "operationId": "getDeployKey",
11230
+ "summary": "Get a deploy key",
11066
11231
  "tags": [
11067
11232
  "deployKey"
11068
11233
  ],
@@ -11108,6 +11273,7 @@
11108
11273
  },
11109
11274
  "delete": {
11110
11275
  "operationId": "deleteDeployKey",
11276
+ "summary": "Delete a deploy key",
11111
11277
  "tags": [
11112
11278
  "deployKey"
11113
11279
  ],
@@ -11140,6 +11306,7 @@
11140
11306
  "/{account_slug}/sites": {
11141
11307
  "post": {
11142
11308
  "operationId": "createSiteInTeam",
11309
+ "summary": "Create a site in a team",
11143
11310
  "tags": [
11144
11311
  "site"
11145
11312
  ],
@@ -11946,6 +12113,7 @@
11946
12113
  },
11947
12114
  "get": {
11948
12115
  "operationId": "listSitesForAccount",
12116
+ "summary": "List a team's sites",
11949
12117
  "tags": [
11950
12118
  "site"
11951
12119
  ],
@@ -12361,6 +12529,7 @@
12361
12529
  ],
12362
12530
  "get": {
12363
12531
  "operationId": "listMembersForAccount",
12532
+ "summary": "List a team's members",
12364
12533
  "tags": [
12365
12534
  "member"
12366
12535
  ],
@@ -12414,6 +12583,7 @@
12414
12583
  },
12415
12584
  "post": {
12416
12585
  "operationId": "addMemberToAccount",
12586
+ "summary": "Add a member to a team",
12417
12587
  "tags": [
12418
12588
  "member"
12419
12589
  ],
@@ -12510,6 +12680,7 @@
12510
12680
  ],
12511
12681
  "get": {
12512
12682
  "operationId": "getAccountMember",
12683
+ "summary": "Get a team member",
12513
12684
  "tags": [
12514
12685
  "member"
12515
12686
  ],
@@ -12560,6 +12731,7 @@
12560
12731
  },
12561
12732
  "put": {
12562
12733
  "operationId": "updateAccountMember",
12734
+ "summary": "Update a team member",
12563
12735
  "tags": [
12564
12736
  "member"
12565
12737
  ],
@@ -12648,6 +12820,7 @@
12648
12820
  },
12649
12821
  "delete": {
12650
12822
  "operationId": "removeAccountMember",
12823
+ "summary": "Remove a team member",
12651
12824
  "tags": [
12652
12825
  "member"
12653
12826
  ],
@@ -12680,6 +12853,7 @@
12680
12853
  "/billing/payment_methods": {
12681
12854
  "get": {
12682
12855
  "operationId": "listPaymentMethodsForUser",
12856
+ "summary": "List payment methods",
12683
12857
  "tags": [
12684
12858
  "paymentMethod"
12685
12859
  ],
@@ -12754,6 +12928,7 @@
12754
12928
  "/accounts/types": {
12755
12929
  "get": {
12756
12930
  "operationId": "listAccountTypesForUser",
12931
+ "summary": "List plans available for new teams",
12757
12932
  "tags": [
12758
12933
  "accountType"
12759
12934
  ],
@@ -12818,6 +12993,7 @@
12818
12993
  "/accounts": {
12819
12994
  "get": {
12820
12995
  "operationId": "listAccountsForUser",
12996
+ "summary": "List the current user's teams",
12821
12997
  "tags": [
12822
12998
  "accountMembership"
12823
12999
  ],
@@ -12944,6 +13120,7 @@
12944
13120
  },
12945
13121
  "post": {
12946
13122
  "operationId": "createAccount",
13123
+ "summary": "Create a team",
12947
13124
  "tags": [
12948
13125
  "accountMembership"
12949
13126
  ],
@@ -13104,6 +13281,7 @@
13104
13281
  ],
13105
13282
  "get": {
13106
13283
  "operationId": "getAccount",
13284
+ "summary": "Get a team",
13107
13285
  "tags": [
13108
13286
  "accountMembership"
13109
13287
  ],
@@ -13219,6 +13397,7 @@
13219
13397
  },
13220
13398
  "put": {
13221
13399
  "operationId": "updateAccount",
13400
+ "summary": "Update a team",
13222
13401
  "tags": [
13223
13402
  "accountMembership"
13224
13403
  ],
@@ -13366,6 +13545,7 @@
13366
13545
  },
13367
13546
  "delete": {
13368
13547
  "operationId": "cancelAccount",
13548
+ "summary": "Cancel a team",
13369
13549
  "tags": [
13370
13550
  "accountMembership"
13371
13551
  ],
@@ -13406,6 +13586,7 @@
13406
13586
  ],
13407
13587
  "get": {
13408
13588
  "operationId": "listAccountAuditEvents",
13589
+ "summary": "List a team's audit log events",
13409
13590
  "tags": [
13410
13591
  "auditLog"
13411
13592
  ],
@@ -13505,6 +13686,7 @@
13505
13686
  "/agent_runners": {
13506
13687
  "get": {
13507
13688
  "operationId": "listAgentRunners",
13689
+ "summary": "List a site's agent runs",
13508
13690
  "tags": [
13509
13691
  "agentRunner"
13510
13692
  ],
@@ -13727,6 +13909,7 @@
13727
13909
  },
13728
13910
  "post": {
13729
13911
  "operationId": "createAgentRunner",
13912
+ "summary": "Start an agent run",
13730
13913
  "tags": [
13731
13914
  "agentRunner"
13732
13915
  ],
@@ -13946,6 +14129,7 @@
13946
14129
  ],
13947
14130
  "post": {
13948
14131
  "operationId": "createSiteAgentRunner",
14132
+ "summary": "Start an agent run on a site",
13949
14133
  "tags": [
13950
14134
  "agentRunner"
13951
14135
  ],
@@ -14307,6 +14491,8 @@
14307
14491
  "post": {
14308
14492
  "x-internal": true,
14309
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.",
14310
14496
  "tags": [
14311
14497
  "agentRunner"
14312
14498
  ],
@@ -14332,7 +14518,24 @@
14332
14518
  ],
14333
14519
  "responses": {
14334
14520
  "200": {
14335
- "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
+ }
14336
14539
  },
14337
14540
  "400": {
14338
14541
  "description": "Bad Request"
@@ -14373,6 +14576,7 @@
14373
14576
  ],
14374
14577
  "get": {
14375
14578
  "operationId": "getAgentRunner",
14579
+ "summary": "Get an agent run",
14376
14580
  "tags": [
14377
14581
  "agentRunner"
14378
14582
  ],
@@ -14524,6 +14728,7 @@
14524
14728
  },
14525
14729
  "patch": {
14526
14730
  "operationId": "updateAgentRunner",
14731
+ "summary": "Update an agent run",
14527
14732
  "tags": [
14528
14733
  "agentRunner"
14529
14734
  ],
@@ -14675,6 +14880,7 @@
14675
14880
  },
14676
14881
  "delete": {
14677
14882
  "operationId": "deleteAgentRunner",
14883
+ "summary": "Stop an agent run (alias)",
14678
14884
  "tags": [
14679
14885
  "hiddenAgentRunner"
14680
14886
  ],
@@ -14716,6 +14922,7 @@
14716
14922
  ],
14717
14923
  "post": {
14718
14924
  "operationId": "stopAgentRunner",
14925
+ "summary": "Stop an agent run",
14719
14926
  "tags": [
14720
14927
  "agentRunner"
14721
14928
  ],
@@ -14757,6 +14964,7 @@
14757
14964
  ],
14758
14965
  "get": {
14759
14966
  "operationId": "getAgentRunnerDiff",
14967
+ "summary": "Get an agent run's diff",
14760
14968
  "tags": [
14761
14969
  "agentRunner"
14762
14970
  ],
@@ -14829,6 +15037,7 @@
14829
15037
  ],
14830
15038
  "post": {
14831
15039
  "operationId": "archiveAgentRunner",
15040
+ "summary": "Archive an agent run",
14832
15041
  "tags": [
14833
15042
  "agentRunner"
14834
15043
  ],
@@ -14876,12 +15085,135 @@
14876
15085
  "post": {
14877
15086
  "x-internal": true,
14878
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.",
14879
15090
  "tags": [
14880
15091
  "agentRunner"
14881
15092
  ],
14882
15093
  "responses": {
14883
15094
  "200": {
14884
- "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
+ }
14885
15217
  },
14886
15218
  "400": {
14887
15219
  "description": "Bad Request"
@@ -14926,6 +15258,8 @@
14926
15258
  "post": {
14927
15259
  "x-internal": true,
14928
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.",
14929
15263
  "tags": [
14930
15264
  "agentRunner"
14931
15265
  ],
@@ -14939,7 +15273,128 @@
14939
15273
  ],
14940
15274
  "responses": {
14941
15275
  "200": {
14942
- "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
+ }
14943
15398
  },
14944
15399
  "400": {
14945
15400
  "description": "Bad Request"
@@ -14983,6 +15438,7 @@
14983
15438
  ],
14984
15439
  "get": {
14985
15440
  "operationId": "listAgentRunnerSessions",
15441
+ "summary": "List an agent run's sessions",
14986
15442
  "tags": [
14987
15443
  "agentRunnerSession"
14988
15444
  ],
@@ -15223,6 +15679,7 @@
15223
15679
  },
15224
15680
  "post": {
15225
15681
  "operationId": "createAgentRunnerSession",
15682
+ "summary": "Start a follow-up agent run session",
15226
15683
  "tags": [
15227
15684
  "agentRunnerSession"
15228
15685
  ],
@@ -15677,6 +16134,7 @@
15677
16134
  ],
15678
16135
  "get": {
15679
16136
  "operationId": "getAgentRunnerSession",
16137
+ "summary": "Get an agent run session",
15680
16138
  "tags": [
15681
16139
  "agentRunnerSession"
15682
16140
  ],
@@ -15871,6 +16329,7 @@
15871
16329
  },
15872
16330
  "patch": {
15873
16331
  "operationId": "updateAgentRunnerSession",
16332
+ "summary": "Update an agent run session",
15874
16333
  "tags": [
15875
16334
  "agentRunnerSession"
15876
16335
  ],
@@ -16072,6 +16531,7 @@
16072
16531
  },
16073
16532
  "delete": {
16074
16533
  "operationId": "deleteAgentRunnerSession",
16534
+ "summary": "Stop an agent run session (alias)",
16075
16535
  "tags": [
16076
16536
  "hiddenAgentRunner"
16077
16537
  ],
@@ -16119,6 +16579,7 @@
16119
16579
  ],
16120
16580
  "post": {
16121
16581
  "operationId": "stopAgentRunnerSession",
16582
+ "summary": "Stop an agent run session",
16122
16583
  "tags": [
16123
16584
  "agentRunnerSession"
16124
16585
  ],
@@ -16166,6 +16627,7 @@
16166
16627
  ],
16167
16628
  "post": {
16168
16629
  "operationId": "answerAgentRunnerSession",
16630
+ "summary": "Answer an agent run session's pending interaction",
16169
16631
  "tags": [
16170
16632
  "agentRunnerSession"
16171
16633
  ],
@@ -16496,6 +16958,7 @@
16496
16958
  ],
16497
16959
  "get": {
16498
16960
  "operationId": "listFormSubmission",
16961
+ "summary": "Get a form submission",
16499
16962
  "tags": [
16500
16963
  "submission"
16501
16964
  ],
@@ -16593,6 +17056,7 @@
16593
17056
  },
16594
17057
  "delete": {
16595
17058
  "operationId": "deleteSubmission",
17059
+ "summary": "Delete a form submission",
16596
17060
  "tags": [
16597
17061
  "submission"
16598
17062
  ],
@@ -16633,6 +17097,7 @@
16633
17097
  ],
16634
17098
  "get": {
16635
17099
  "operationId": "listServiceInstancesForSite",
17100
+ "summary": "List a site's add-on instances",
16636
17101
  "tags": [
16637
17102
  "serviceInstance"
16638
17103
  ],
@@ -16728,6 +17193,7 @@
16728
17193
  ],
16729
17194
  "post": {
16730
17195
  "operationId": "createServiceInstance",
17196
+ "summary": "Create an add-on instance",
16731
17197
  "tags": [
16732
17198
  "serviceInstance"
16733
17199
  ],
@@ -16839,6 +17305,7 @@
16839
17305
  ],
16840
17306
  "get": {
16841
17307
  "operationId": "showServiceInstance",
17308
+ "summary": "Get an add-on instance",
16842
17309
  "tags": [
16843
17310
  "serviceInstance"
16844
17311
  ],
@@ -16863,23 +17330,220 @@
16863
17330
  "service_slug": {
16864
17331
  "type": "string"
16865
17332
  },
16866
- "service_path": {
16867
- "type": "string"
17333
+ "service_path": {
17334
+ "type": "string"
17335
+ },
17336
+ "service_name": {
17337
+ "type": "string"
17338
+ },
17339
+ "env": {
17340
+ "type": "object"
17341
+ },
17342
+ "snippets": {
17343
+ "type": "array",
17344
+ "items": {
17345
+ "type": "object"
17346
+ }
17347
+ },
17348
+ "auth_url": {
17349
+ "type": "string"
17350
+ },
17351
+ "created_at": {
17352
+ "type": "string",
17353
+ "format": "dateTime"
17354
+ },
17355
+ "updated_at": {
17356
+ "type": "string",
17357
+ "format": "dateTime"
17358
+ }
17359
+ }
17360
+ }
17361
+ },
17362
+ "default": {
17363
+ "description": "error",
17364
+ "schema": {
17365
+ "type": "object",
17366
+ "required": [
17367
+ "message"
17368
+ ],
17369
+ "properties": {
17370
+ "code": {
17371
+ "type": "integer",
17372
+ "format": "int64"
17373
+ },
17374
+ "message": {
17375
+ "type": "string",
17376
+ "x-nullable": false
17377
+ }
17378
+ }
17379
+ }
17380
+ }
17381
+ }
17382
+ },
17383
+ "put": {
17384
+ "operationId": "updateServiceInstance",
17385
+ "summary": "Update an add-on instance",
17386
+ "tags": [
17387
+ "serviceInstance"
17388
+ ],
17389
+ "consumes": [
17390
+ "application/json"
17391
+ ],
17392
+ "parameters": [
17393
+ {
17394
+ "name": "config",
17395
+ "in": "body",
17396
+ "required": true,
17397
+ "schema": {
17398
+ "type": "object"
17399
+ }
17400
+ }
17401
+ ],
17402
+ "responses": {
17403
+ "204": {
17404
+ "description": "No Content"
17405
+ },
17406
+ "default": {
17407
+ "description": "error",
17408
+ "schema": {
17409
+ "type": "object",
17410
+ "required": [
17411
+ "message"
17412
+ ],
17413
+ "properties": {
17414
+ "code": {
17415
+ "type": "integer",
17416
+ "format": "int64"
17417
+ },
17418
+ "message": {
17419
+ "type": "string",
17420
+ "x-nullable": false
17421
+ }
17422
+ }
17423
+ }
17424
+ }
17425
+ }
17426
+ },
17427
+ "delete": {
17428
+ "operationId": "deleteServiceInstance",
17429
+ "summary": "Delete an add-on instance",
17430
+ "tags": [
17431
+ "serviceInstance"
17432
+ ],
17433
+ "responses": {
17434
+ "204": {
17435
+ "description": "Deleted"
17436
+ },
17437
+ "default": {
17438
+ "description": "error",
17439
+ "schema": {
17440
+ "type": "object",
17441
+ "required": [
17442
+ "message"
17443
+ ],
17444
+ "properties": {
17445
+ "code": {
17446
+ "type": "integer",
17447
+ "format": "int64"
17448
+ },
17449
+ "message": {
17450
+ "type": "string",
17451
+ "x-nullable": false
17452
+ }
17453
+ }
17454
+ }
17455
+ }
17456
+ }
17457
+ }
17458
+ },
17459
+ "/sites/{site_id}/identity/{identity_id}/users/{user_id}": {
17460
+ "parameters": [
17461
+ {
17462
+ "name": "site_id",
17463
+ "type": "string",
17464
+ "in": "path",
17465
+ "required": true
17466
+ },
17467
+ {
17468
+ "name": "identity_id",
17469
+ "type": "string",
17470
+ "in": "path",
17471
+ "required": true,
17472
+ "description": "The site's Identity instance ID, returned as `identity_instance_id` by `getSite`."
17473
+ },
17474
+ {
17475
+ "name": "user_id",
17476
+ "type": "string",
17477
+ "in": "path",
17478
+ "required": true,
17479
+ "description": "The Identity user's UUID."
17480
+ }
17481
+ ],
17482
+ "get": {
17483
+ "operationId": "getIdentityUser",
17484
+ "summary": "Get an Identity user",
17485
+ "description": "Returns one Identity user by ID. Agent runner tokens receive only the user's ID, email, confirmation, invitation, sign-in, password-reset and email-change timestamps, and the `provider` and `roles` fields of `app_metadata`.",
17486
+ "tags": [
17487
+ "identityUser"
17488
+ ],
17489
+ "responses": {
17490
+ "200": {
17491
+ "description": "OK",
17492
+ "schema": {
17493
+ "type": "object",
17494
+ "properties": {
17495
+ "id": {
17496
+ "type": "string"
17497
+ },
17498
+ "email": {
17499
+ "type": "string"
17500
+ },
17501
+ "aud": {
17502
+ "type": "string"
17503
+ },
17504
+ "role": {
17505
+ "type": "string"
17506
+ },
17507
+ "confirmed_at": {
17508
+ "type": "string",
17509
+ "format": "dateTime"
17510
+ },
17511
+ "invited_at": {
17512
+ "type": "string",
17513
+ "format": "dateTime"
17514
+ },
17515
+ "confirmation_sent_at": {
17516
+ "type": "string",
17517
+ "format": "dateTime"
17518
+ },
17519
+ "recovery_sent_at": {
17520
+ "type": "string",
17521
+ "format": "dateTime"
16868
17522
  },
16869
- "service_name": {
16870
- "type": "string"
17523
+ "email_change_sent_at": {
17524
+ "type": "string",
17525
+ "format": "dateTime"
16871
17526
  },
16872
- "env": {
16873
- "type": "object"
17527
+ "last_sign_in_at": {
17528
+ "type": "string",
17529
+ "format": "dateTime"
16874
17530
  },
16875
- "snippets": {
16876
- "type": "array",
16877
- "items": {
16878
- "type": "object"
17531
+ "app_metadata": {
17532
+ "type": "object",
17533
+ "properties": {
17534
+ "provider": {
17535
+ "type": "string"
17536
+ },
17537
+ "roles": {
17538
+ "type": "array",
17539
+ "items": {
17540
+ "type": "string"
17541
+ }
17542
+ }
16879
17543
  }
16880
17544
  },
16881
- "auth_url": {
16882
- "type": "string"
17545
+ "user_metadata": {
17546
+ "type": "object"
16883
17547
  },
16884
17548
  "created_at": {
16885
17549
  "type": "string",
@@ -16912,58 +17576,121 @@
16912
17576
  }
16913
17577
  }
16914
17578
  }
16915
- },
16916
- "put": {
16917
- "operationId": "updateServiceInstance",
17579
+ }
17580
+ },
17581
+ "/sites/{site_id}/identity/{identity_id}/users/lookup": {
17582
+ "parameters": [
17583
+ {
17584
+ "name": "site_id",
17585
+ "type": "string",
17586
+ "in": "path",
17587
+ "required": true
17588
+ },
17589
+ {
17590
+ "name": "identity_id",
17591
+ "type": "string",
17592
+ "in": "path",
17593
+ "required": true,
17594
+ "description": "The site's Identity instance ID, returned as `identity_instance_id` by `getSite`."
17595
+ }
17596
+ ],
17597
+ "post": {
17598
+ "operationId": "lookupIdentityUser",
17599
+ "summary": "Look up an Identity user by email",
17600
+ "description": "Returns the one Identity user with this exact email. Matching ignores case and trailing spaces. Partial matches and pagination are not supported, and an unknown email returns 404. Agent runner tokens receive the same restricted fields as `getIdentityUser`.",
16918
17601
  "tags": [
16919
- "serviceInstance"
17602
+ "identityUser"
16920
17603
  ],
16921
17604
  "consumes": [
16922
17605
  "application/json"
16923
17606
  ],
16924
17607
  "parameters": [
16925
17608
  {
16926
- "name": "config",
17609
+ "name": "body",
16927
17610
  "in": "body",
16928
17611
  "required": true,
16929
17612
  "schema": {
16930
- "type": "object"
17613
+ "type": "object",
17614
+ "required": [
17615
+ "email"
17616
+ ],
17617
+ "properties": {
17618
+ "email": {
17619
+ "type": "string"
17620
+ }
17621
+ }
16931
17622
  }
16932
17623
  }
16933
17624
  ],
16934
17625
  "responses": {
16935
- "204": {
16936
- "description": "No Content"
16937
- },
16938
- "default": {
16939
- "description": "error",
17626
+ "200": {
17627
+ "description": "OK",
16940
17628
  "schema": {
16941
17629
  "type": "object",
16942
- "required": [
16943
- "message"
16944
- ],
16945
17630
  "properties": {
16946
- "code": {
16947
- "type": "integer",
16948
- "format": "int64"
17631
+ "id": {
17632
+ "type": "string"
16949
17633
  },
16950
- "message": {
17634
+ "email": {
17635
+ "type": "string"
17636
+ },
17637
+ "aud": {
17638
+ "type": "string"
17639
+ },
17640
+ "role": {
17641
+ "type": "string"
17642
+ },
17643
+ "confirmed_at": {
16951
17644
  "type": "string",
16952
- "x-nullable": false
17645
+ "format": "dateTime"
17646
+ },
17647
+ "invited_at": {
17648
+ "type": "string",
17649
+ "format": "dateTime"
17650
+ },
17651
+ "confirmation_sent_at": {
17652
+ "type": "string",
17653
+ "format": "dateTime"
17654
+ },
17655
+ "recovery_sent_at": {
17656
+ "type": "string",
17657
+ "format": "dateTime"
17658
+ },
17659
+ "email_change_sent_at": {
17660
+ "type": "string",
17661
+ "format": "dateTime"
17662
+ },
17663
+ "last_sign_in_at": {
17664
+ "type": "string",
17665
+ "format": "dateTime"
17666
+ },
17667
+ "app_metadata": {
17668
+ "type": "object",
17669
+ "properties": {
17670
+ "provider": {
17671
+ "type": "string"
17672
+ },
17673
+ "roles": {
17674
+ "type": "array",
17675
+ "items": {
17676
+ "type": "string"
17677
+ }
17678
+ }
17679
+ }
17680
+ },
17681
+ "user_metadata": {
17682
+ "type": "object"
17683
+ },
17684
+ "created_at": {
17685
+ "type": "string",
17686
+ "format": "dateTime"
17687
+ },
17688
+ "updated_at": {
17689
+ "type": "string",
17690
+ "format": "dateTime"
16953
17691
  }
16954
17692
  }
16955
17693
  }
16956
- }
16957
- }
16958
- },
16959
- "delete": {
16960
- "operationId": "deleteServiceInstance",
16961
- "tags": [
16962
- "serviceInstance"
16963
- ],
16964
- "responses": {
16965
- "204": {
16966
- "description": "Deleted"
16967
17694
  },
16968
17695
  "default": {
16969
17696
  "description": "error",
@@ -16997,6 +17724,7 @@
16997
17724
  ],
16998
17725
  "get": {
16999
17726
  "operationId": "getServices",
17727
+ "summary": "List add-on services",
17000
17728
  "tags": [
17001
17729
  "service"
17002
17730
  ],
@@ -17095,6 +17823,7 @@
17095
17823
  ],
17096
17824
  "get": {
17097
17825
  "operationId": "showService",
17826
+ "summary": "Get an add-on service",
17098
17827
  "tags": [
17099
17828
  "service"
17100
17829
  ],
@@ -17190,6 +17919,7 @@
17190
17919
  ],
17191
17920
  "get": {
17192
17921
  "operationId": "showServiceManifest",
17922
+ "summary": "Get an add-on service's manifest",
17193
17923
  "tags": [
17194
17924
  "service"
17195
17925
  ],
@@ -17225,6 +17955,7 @@
17225
17955
  "/user": {
17226
17956
  "get": {
17227
17957
  "operationId": "getCurrentUser",
17958
+ "summary": "Get the current user",
17228
17959
  "tags": [
17229
17960
  "user"
17230
17961
  ],
@@ -17314,6 +18045,7 @@
17314
18045
  ],
17315
18046
  "post": {
17316
18047
  "operationId": "createSplitTest",
18048
+ "summary": "Create a split test",
17317
18049
  "tags": [
17318
18050
  "splitTest"
17319
18051
  ],
@@ -17400,6 +18132,7 @@
17400
18132
  },
17401
18133
  "get": {
17402
18134
  "operationId": "getSplitTests",
18135
+ "summary": "List a site's split tests",
17403
18136
  "tags": [
17404
18137
  "splitTest"
17405
18138
  ],
@@ -17487,6 +18220,7 @@
17487
18220
  ],
17488
18221
  "put": {
17489
18222
  "operationId": "updateSplitTest",
18223
+ "summary": "Update a split test",
17490
18224
  "tags": [
17491
18225
  "splitTest"
17492
18226
  ],
@@ -17573,6 +18307,7 @@
17573
18307
  },
17574
18308
  "get": {
17575
18309
  "operationId": "getSplitTest",
18310
+ "summary": "Get a split test",
17576
18311
  "tags": [
17577
18312
  "splitTest"
17578
18313
  ],
@@ -17657,6 +18392,7 @@
17657
18392
  ],
17658
18393
  "post": {
17659
18394
  "operationId": "enableSplitTest",
18395
+ "summary": "Publish a split test",
17660
18396
  "tags": [
17661
18397
  "splitTest"
17662
18398
  ],
@@ -17703,6 +18439,7 @@
17703
18439
  ],
17704
18440
  "post": {
17705
18441
  "operationId": "disableSplitTest",
18442
+ "summary": "Unpublish a split test",
17706
18443
  "tags": [
17707
18444
  "splitTest"
17708
18445
  ],
@@ -17735,6 +18472,7 @@
17735
18472
  "/dns_zones": {
17736
18473
  "post": {
17737
18474
  "operationId": "createDnsZone",
18475
+ "summary": "Create a DNS zone",
17738
18476
  "tags": [
17739
18477
  "dnsZone"
17740
18478
  ],
@@ -17893,6 +18631,8 @@
17893
18631
  },
17894
18632
  "get": {
17895
18633
  "operationId": "getDnsZones",
18634
+ "summary": "List DNS zones",
18635
+ "description": "Returns the DNS zones for the team given by `account_slug`, or all DNS zones the current user can access.",
17896
18636
  "tags": [
17897
18637
  "dnsZone"
17898
18638
  ],
@@ -18048,6 +18788,7 @@
18048
18788
  ],
18049
18789
  "get": {
18050
18790
  "operationId": "getDnsZone",
18791
+ "summary": "Get a DNS zone",
18051
18792
  "tags": [
18052
18793
  "dnsZone"
18053
18794
  ],
@@ -18182,6 +18923,7 @@
18182
18923
  },
18183
18924
  "delete": {
18184
18925
  "operationId": "deleteDnsZone",
18926
+ "summary": "Delete a DNS zone",
18185
18927
  "tags": [
18186
18928
  "dnsZone"
18187
18929
  ],
@@ -18243,6 +18985,7 @@
18243
18985
  ],
18244
18986
  "put": {
18245
18987
  "operationId": "transferDnsZone",
18988
+ "summary": "Transfer a DNS zone to another team",
18246
18989
  "tags": [
18247
18990
  "dnsZone"
18248
18991
  ],
@@ -18387,6 +19130,7 @@
18387
19130
  ],
18388
19131
  "get": {
18389
19132
  "operationId": "getDnsRecords",
19133
+ "summary": "List a DNS zone's records",
18390
19134
  "tags": [
18391
19135
  "dnsZone"
18392
19136
  ],
@@ -18460,6 +19204,7 @@
18460
19204
  },
18461
19205
  "post": {
18462
19206
  "operationId": "createDnsRecord",
19207
+ "summary": "Create a DNS record",
18463
19208
  "tags": [
18464
19209
  "dnsZone"
18465
19210
  ],
@@ -18593,6 +19338,7 @@
18593
19338
  ],
18594
19339
  "get": {
18595
19340
  "operationId": "getIndividualDnsRecord",
19341
+ "summary": "Get a DNS record",
18596
19342
  "tags": [
18597
19343
  "dnsZone"
18598
19344
  ],
@@ -18663,6 +19409,7 @@
18663
19409
  },
18664
19410
  "delete": {
18665
19411
  "operationId": "deleteDnsRecord",
19412
+ "summary": "Delete a DNS record",
18666
19413
  "tags": [
18667
19414
  "dnsZone"
18668
19415
  ],
@@ -18703,6 +19450,7 @@
18703
19450
  ],
18704
19451
  "get": {
18705
19452
  "operationId": "listSiteDevServers",
19453
+ "summary": "List a site's dev servers",
18706
19454
  "tags": [
18707
19455
  "devServer"
18708
19456
  ],
@@ -18799,6 +19547,7 @@
18799
19547
  },
18800
19548
  "post": {
18801
19549
  "operationId": "createSiteDevServer",
19550
+ "summary": "Start a dev server",
18802
19551
  "tags": [
18803
19552
  "devServer"
18804
19553
  ],
@@ -18886,6 +19635,8 @@
18886
19635
  },
18887
19636
  "delete": {
18888
19637
  "operationId": "deleteSiteDevServers",
19638
+ "summary": "Stop a branch's dev servers",
19639
+ "description": "Stops all dev servers for a branch. Stopping happens in the background.",
18889
19640
  "tags": [
18890
19641
  "devServer"
18891
19642
  ],
@@ -18939,6 +19690,7 @@
18939
19690
  ],
18940
19691
  "get": {
18941
19692
  "operationId": "getSiteDevServer",
19693
+ "summary": "Get a dev server",
18942
19694
  "tags": [
18943
19695
  "devServer"
18944
19696
  ],
@@ -19014,12 +19766,60 @@
19014
19766
  "post": {
19015
19767
  "x-internal": true,
19016
19768
  "operationId": "markDevServerActivity",
19769
+ "summary": "Record dev server activity",
19017
19770
  "tags": [
19018
19771
  "devServer"
19019
19772
  ],
19020
19773
  "responses": {
19021
19774
  "200": {
19022
- "description": "OK"
19775
+ "description": "OK",
19776
+ "schema": {
19777
+ "type": "object",
19778
+ "properties": {
19779
+ "id": {
19780
+ "type": "string"
19781
+ },
19782
+ "site_id": {
19783
+ "type": "string"
19784
+ },
19785
+ "branch": {
19786
+ "type": "string"
19787
+ },
19788
+ "url": {
19789
+ "type": "string"
19790
+ },
19791
+ "state": {
19792
+ "type": "string"
19793
+ },
19794
+ "created_at": {
19795
+ "type": "string",
19796
+ "format": "dateTime"
19797
+ },
19798
+ "updated_at": {
19799
+ "type": "string",
19800
+ "format": "dateTime"
19801
+ },
19802
+ "starting_at": {
19803
+ "type": "string",
19804
+ "format": "dateTime"
19805
+ },
19806
+ "error_at": {
19807
+ "type": "string",
19808
+ "format": "dateTime"
19809
+ },
19810
+ "live_at": {
19811
+ "type": "string",
19812
+ "format": "dateTime"
19813
+ },
19814
+ "done_at": {
19815
+ "type": "string",
19816
+ "format": "dateTime"
19817
+ },
19818
+ "title": {
19819
+ "type": "string"
19820
+ }
19821
+ }
19822
+ }
19023
19823
  }
19024
19824
  }
19025
19825
  }
@@ -19041,6 +19841,7 @@
19041
19841
  ],
19042
19842
  "post": {
19043
19843
  "operationId": "updateDevServerState",
19844
+ "summary": "Update a dev server's state",
19044
19845
  "tags": [
19045
19846
  "devServer"
19046
19847
  ],
@@ -19142,6 +19943,7 @@
19142
19943
  ],
19143
19944
  "get": {
19144
19945
  "operationId": "listSiteDevServerHooks",
19946
+ "summary": "List a site's dev server hooks",
19145
19947
  "tags": [
19146
19948
  "devServerHook"
19147
19949
  ],
@@ -19206,6 +20008,7 @@
19206
20008
  },
19207
20009
  "post": {
19208
20010
  "operationId": "createSiteDevServerHook",
20011
+ "summary": "Create a dev server hook",
19209
20012
  "tags": [
19210
20013
  "devServerHook"
19211
20014
  ],
@@ -19311,6 +20114,7 @@
19311
20114
  ],
19312
20115
  "get": {
19313
20116
  "operationId": "getSiteDevServerHook",
20117
+ "summary": "Get a dev server hook",
19314
20118
  "tags": [
19315
20119
  "devServerHook"
19316
20120
  ],
@@ -19372,6 +20176,7 @@
19372
20176
  },
19373
20177
  "put": {
19374
20178
  "operationId": "updateSiteDevServerHook",
20179
+ "summary": "Update a dev server hook",
19375
20180
  "tags": [
19376
20181
  "devServerHook"
19377
20182
  ],
@@ -19430,6 +20235,7 @@
19430
20235
  },
19431
20236
  "delete": {
19432
20237
  "operationId": "deleteSiteDevServerHook",
20238
+ "summary": "Delete a dev server hook",
19433
20239
  "tags": [
19434
20240
  "devServerHook"
19435
20241
  ],
@@ -19471,6 +20277,7 @@
19471
20277
  "get": {
19472
20278
  "x-internal": true,
19473
20279
  "operationId": "listSiteAgentRunnerHooks",
20280
+ "summary": "List a site's agent runner hooks",
19474
20281
  "tags": [
19475
20282
  "agentRunnerHook"
19476
20283
  ],
@@ -19538,6 +20345,7 @@
19538
20345
  "post": {
19539
20346
  "x-internal": true,
19540
20347
  "operationId": "createSiteAgentRunnerHook",
20348
+ "summary": "Create an agent runner hook",
19541
20349
  "tags": [
19542
20350
  "agentRunnerHook"
19543
20351
  ],
@@ -19656,6 +20464,7 @@
19656
20464
  "get": {
19657
20465
  "x-internal": true,
19658
20466
  "operationId": "getSiteAgentRunnerHook",
20467
+ "summary": "Get an agent runner hook",
19659
20468
  "tags": [
19660
20469
  "agentRunnerHook"
19661
20470
  ],
@@ -19720,6 +20529,7 @@
19720
20529
  "put": {
19721
20530
  "x-internal": true,
19722
20531
  "operationId": "updateSiteAgentRunnerHook",
20532
+ "summary": "Update an agent runner hook",
19723
20533
  "tags": [
19724
20534
  "agentRunnerHook"
19725
20535
  ],
@@ -19778,6 +20588,7 @@
19778
20588
  "delete": {
19779
20589
  "x-internal": true,
19780
20590
  "operationId": "deleteSiteAgentRunnerHook",
20591
+ "summary": "Delete an agent runner hook",
19781
20592
  "tags": [
19782
20593
  "agentRunnerHook"
19783
20594
  ],
@@ -19810,6 +20621,7 @@
19810
20621
  "/ai-gateway/providers": {
19811
20622
  "get": {
19812
20623
  "operationId": "getAIGatewayProviders",
20624
+ "summary": "List AI Gateway providers and models",
19813
20625
  "tags": [
19814
20626
  "aiGateway"
19815
20627
  ],
@@ -19876,6 +20688,7 @@
19876
20688
  ],
19877
20689
  "get": {
19878
20690
  "operationId": "getAIGatewayToken",
20691
+ "summary": "Get a site's AI Gateway token",
19879
20692
  "tags": [
19880
20693
  "aiGateway"
19881
20694
  ],
@@ -19939,6 +20752,7 @@
19939
20752
  ],
19940
20753
  "get": {
19941
20754
  "operationId": "getAccountAIGatewayToken",
20755
+ "summary": "Get a team's AI Gateway token",
19942
20756
  "tags": [
19943
20757
  "aiGateway"
19944
20758
  ],
@@ -20001,6 +20815,7 @@
20001
20815
  ],
20002
20816
  "post": {
20003
20817
  "operationId": "createSiteDatabase",
20818
+ "summary": "Create a site database",
20004
20819
  "tags": [
20005
20820
  "database"
20006
20821
  ],
@@ -20074,6 +20889,7 @@
20074
20889
  },
20075
20890
  "get": {
20076
20891
  "operationId": "getSiteDatabase",
20892
+ "summary": "Get a site database",
20077
20893
  "tags": [
20078
20894
  "database"
20079
20895
  ],
@@ -20127,6 +20943,7 @@
20127
20943
  },
20128
20944
  "delete": {
20129
20945
  "operationId": "deleteSiteDatabase",
20946
+ "summary": "Delete a site database",
20130
20947
  "tags": [
20131
20948
  "database"
20132
20949
  ],
@@ -20168,6 +20985,7 @@
20168
20985
  ],
20169
20986
  "post": {
20170
20987
  "operationId": "createSiteDatabaseBranch",
20988
+ "summary": "Create a database branch",
20171
20989
  "tags": [
20172
20990
  "database"
20173
20991
  ],
@@ -20274,6 +21092,7 @@
20274
21092
  ],
20275
21093
  "get": {
20276
21094
  "operationId": "listSiteDatabaseBranches",
21095
+ "summary": "List database branches",
20277
21096
  "tags": [
20278
21097
  "database"
20279
21098
  ],
@@ -20420,6 +21239,7 @@
20420
21239
  ],
20421
21240
  "get": {
20422
21241
  "operationId": "getSiteDatabaseBranch",
21242
+ "summary": "Get a database branch",
20423
21243
  "tags": [
20424
21244
  "database"
20425
21245
  ],
@@ -20481,6 +21301,7 @@
20481
21301
  },
20482
21302
  "delete": {
20483
21303
  "operationId": "deleteSiteDatabaseBranch",
21304
+ "summary": "Delete a database branch",
20484
21305
  "tags": [
20485
21306
  "database"
20486
21307
  ],
@@ -20529,6 +21350,7 @@
20529
21350
  ],
20530
21351
  "post": {
20531
21352
  "operationId": "resetSiteDatabaseBranch",
21353
+ "summary": "Reset a database branch",
20532
21354
  "tags": [
20533
21355
  "database"
20534
21356
  ],
@@ -20637,6 +21459,7 @@
20637
21459
  ],
20638
21460
  "put": {
20639
21461
  "operationId": "setSiteDatabaseBranchComputeSettings",
21462
+ "summary": "Set a database branch's compute settings",
20640
21463
  "tags": [
20641
21464
  "database"
20642
21465
  ],
@@ -20741,6 +21564,7 @@
20741
21564
  ],
20742
21565
  "put": {
20743
21566
  "operationId": "setSiteDatabaseComputeSettings",
21567
+ "summary": "Set database compute settings",
20744
21568
  "tags": [
20745
21569
  "database"
20746
21570
  ],
@@ -20835,6 +21659,7 @@
20835
21659
  },
20836
21660
  "get": {
20837
21661
  "operationId": "getSiteDatabaseComputeSettings",
21662
+ "summary": "Get database compute settings",
20838
21663
  "tags": [
20839
21664
  "database"
20840
21665
  ],
@@ -20890,6 +21715,7 @@
20890
21715
  },
20891
21716
  "delete": {
20892
21717
  "operationId": "clearSiteDatabaseComputeSettings",
21718
+ "summary": "Reset database compute settings to defaults",
20893
21719
  "tags": [
20894
21720
  "database"
20895
21721
  ],
@@ -20934,6 +21760,7 @@
20934
21760
  ],
20935
21761
  "get": {
20936
21762
  "operationId": "listSiteDatabaseMigrations",
21763
+ "summary": "List database migrations",
20937
21764
  "tags": [
20938
21765
  "database"
20939
21766
  ],
@@ -21029,6 +21856,7 @@
21029
21856
  ],
21030
21857
  "get": {
21031
21858
  "operationId": "getSiteDatabaseMigration",
21859
+ "summary": "Get a database migration",
21032
21860
  "tags": [
21033
21861
  "database"
21034
21862
  ],
@@ -21114,6 +21942,7 @@
21114
21942
  ],
21115
21943
  "post": {
21116
21944
  "operationId": "runSiteDatabaseMigrations",
21945
+ "summary": "Run database migrations for a deploy",
21117
21946
  "tags": [
21118
21947
  "database"
21119
21948
  ],
@@ -21180,6 +22009,7 @@
21180
22009
  ],
21181
22010
  "post": {
21182
22011
  "operationId": "createSiteDatabaseSnapshot",
22012
+ "summary": "Create a database snapshot",
21183
22013
  "tags": [
21184
22014
  "database"
21185
22015
  ],
@@ -21307,6 +22137,7 @@
21307
22137
  ],
21308
22138
  "get": {
21309
22139
  "operationId": "listSiteDatabaseSnapshots",
22140
+ "summary": "List database snapshots",
21310
22141
  "tags": [
21311
22142
  "database"
21312
22143
  ],
@@ -21413,6 +22244,7 @@
21413
22244
  ],
21414
22245
  "delete": {
21415
22246
  "operationId": "deleteSiteDatabaseSnapshot",
22247
+ "summary": "Delete a database snapshot",
21416
22248
  "tags": [
21417
22249
  "database"
21418
22250
  ],
@@ -21461,6 +22293,7 @@
21461
22293
  ],
21462
22294
  "post": {
21463
22295
  "operationId": "restoreSiteDatabaseSnapshot",
22296
+ "summary": "Restore a database snapshot",
21464
22297
  "tags": [
21465
22298
  "database"
21466
22299
  ],
@@ -23396,6 +24229,72 @@
23396
24229
  }
23397
24230
  }
23398
24231
  },
24232
+ "identityUser": {
24233
+ "type": "object",
24234
+ "properties": {
24235
+ "id": {
24236
+ "type": "string"
24237
+ },
24238
+ "email": {
24239
+ "type": "string"
24240
+ },
24241
+ "aud": {
24242
+ "type": "string"
24243
+ },
24244
+ "role": {
24245
+ "type": "string"
24246
+ },
24247
+ "confirmed_at": {
24248
+ "type": "string",
24249
+ "format": "dateTime"
24250
+ },
24251
+ "invited_at": {
24252
+ "type": "string",
24253
+ "format": "dateTime"
24254
+ },
24255
+ "confirmation_sent_at": {
24256
+ "type": "string",
24257
+ "format": "dateTime"
24258
+ },
24259
+ "recovery_sent_at": {
24260
+ "type": "string",
24261
+ "format": "dateTime"
24262
+ },
24263
+ "email_change_sent_at": {
24264
+ "type": "string",
24265
+ "format": "dateTime"
24266
+ },
24267
+ "last_sign_in_at": {
24268
+ "type": "string",
24269
+ "format": "dateTime"
24270
+ },
24271
+ "app_metadata": {
24272
+ "type": "object",
24273
+ "properties": {
24274
+ "provider": {
24275
+ "type": "string"
24276
+ },
24277
+ "roles": {
24278
+ "type": "array",
24279
+ "items": {
24280
+ "type": "string"
24281
+ }
24282
+ }
24283
+ }
24284
+ },
24285
+ "user_metadata": {
24286
+ "type": "object"
24287
+ },
24288
+ "created_at": {
24289
+ "type": "string",
24290
+ "format": "dateTime"
24291
+ },
24292
+ "updated_at": {
24293
+ "type": "string",
24294
+ "format": "dateTime"
24295
+ }
24296
+ }
24297
+ },
23399
24298
  "hookType": {
23400
24299
  "type": "object",
23401
24300
  "properties": {
@@ -23820,6 +24719,26 @@
23820
24719
  "runtime_version": {
23821
24720
  "type": "string",
23822
24721
  "description": "The runtime version the server was built for, such as `nodejs24.x`. A\ndefault version is used when absent.\n"
24722
+ },
24723
+ "scale": {
24724
+ "type": "object",
24725
+ "description": "How many instances of the server run.",
24726
+ "properties": {
24727
+ "min": {
24728
+ "type": "integer",
24729
+ "format": "int64",
24730
+ "minimum": 0,
24731
+ "x-nullable": true,
24732
+ "description": "The minimum number of instances the server keeps running. Defaults to 0\nwhen absent.\n"
24733
+ },
24734
+ "max": {
24735
+ "type": "integer",
24736
+ "format": "int64",
24737
+ "minimum": 1,
24738
+ "x-nullable": true,
24739
+ "description": "The maximum number of instances the server scales to. Defaults to the\nhighest the account's plan allows when absent.\n"
24740
+ }
24741
+ }
23823
24742
  }
23824
24743
  }
23825
24744
  },
@@ -26360,6 +27279,12 @@
26360
27279
  "serviceInstance"
26361
27280
  ]
26362
27281
  },
27282
+ {
27283
+ "name": "Identity",
27284
+ "tags": [
27285
+ "identityUser"
27286
+ ]
27287
+ },
26363
27288
  {
26364
27289
  "name": "Functions",
26365
27290
  "tags": [
@@ -26498,6 +27423,10 @@
26498
27423
  "name": "serviceInstance",
26499
27424
  "x-displayName": "Service instance"
26500
27425
  },
27426
+ {
27427
+ "name": "identityUser",
27428
+ "x-displayName": "Identity user"
27429
+ },
26501
27430
  {
26502
27431
  "name": "function",
26503
27432
  "x-displayName": "Function"