@netlify/open-api 2.62.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 +225 -40
- package/dist/swagger.json +600 -5
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -58,7 +58,11 @@ export interface paths {
|
|
|
58
58
|
post: operations["provisionSiteTLSCertificate"];
|
|
59
59
|
};
|
|
60
60
|
"/sites/{site_id}/ssl/certificates": {
|
|
61
|
-
/**
|
|
61
|
+
/**
|
|
62
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/sniCertificate/operation/getAllCertificates | `getAllCertificates`}
|
|
63
|
+
*
|
|
64
|
+
* Returns details about the certificates associated with a domain. The site must be using the domain.
|
|
65
|
+
*/
|
|
62
66
|
get: operations["getAllCertificates"];
|
|
63
67
|
};
|
|
64
68
|
"/accounts/{account_id}/env": {
|
|
@@ -126,7 +130,11 @@ export interface paths {
|
|
|
126
130
|
get: operations["listSiteForms"];
|
|
127
131
|
};
|
|
128
132
|
"/sites/{site_id}/forms/{form_id}": {
|
|
129
|
-
/**
|
|
133
|
+
/**
|
|
134
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/form/operation/deleteSiteForm | `deleteSiteForm`}
|
|
135
|
+
*
|
|
136
|
+
* Deletes a form and all of its submissions.
|
|
137
|
+
*/
|
|
130
138
|
delete: operations["deleteSiteForm"];
|
|
131
139
|
};
|
|
132
140
|
"/sites/{site_id}/submissions": {
|
|
@@ -138,9 +146,17 @@ export interface paths {
|
|
|
138
146
|
get: operations["listSiteFiles"];
|
|
139
147
|
};
|
|
140
148
|
"/sites/{site_id}/assets": {
|
|
141
|
-
/**
|
|
149
|
+
/**
|
|
150
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/asset/operation/listSiteAssets | `listSiteAssets`}
|
|
151
|
+
*
|
|
152
|
+
* _This endpoint is only available to certain sites._
|
|
153
|
+
*/
|
|
142
154
|
get: operations["listSiteAssets"];
|
|
143
|
-
/**
|
|
155
|
+
/**
|
|
156
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/asset/operation/createSiteAsset | `createSiteAsset`}
|
|
157
|
+
*
|
|
158
|
+
* _This endpoint is only available to certain sites._
|
|
159
|
+
*/
|
|
144
160
|
post: operations["createSiteAsset"];
|
|
145
161
|
parameters: {
|
|
146
162
|
path: {
|
|
@@ -149,11 +165,23 @@ export interface paths {
|
|
|
149
165
|
};
|
|
150
166
|
};
|
|
151
167
|
"/sites/{site_id}/assets/{asset_id}": {
|
|
152
|
-
/**
|
|
168
|
+
/**
|
|
169
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/asset/operation/getSiteAssetInfo | `getSiteAssetInfo`}
|
|
170
|
+
*
|
|
171
|
+
* _This endpoint is only available to certain sites._
|
|
172
|
+
*/
|
|
153
173
|
get: operations["getSiteAssetInfo"];
|
|
154
|
-
/**
|
|
174
|
+
/**
|
|
175
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/asset/operation/updateSiteAsset | `updateSiteAsset`}
|
|
176
|
+
*
|
|
177
|
+
* _This endpoint is only available to certain sites._
|
|
178
|
+
*/
|
|
155
179
|
put: operations["updateSiteAsset"];
|
|
156
|
-
/**
|
|
180
|
+
/**
|
|
181
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/asset/operation/deleteSiteAsset | `deleteSiteAsset`}
|
|
182
|
+
*
|
|
183
|
+
* _This endpoint is only available to certain sites._
|
|
184
|
+
*/
|
|
157
185
|
delete: operations["deleteSiteAsset"];
|
|
158
186
|
parameters: {
|
|
159
187
|
path: {
|
|
@@ -163,7 +191,11 @@ export interface paths {
|
|
|
163
191
|
};
|
|
164
192
|
};
|
|
165
193
|
"/sites/{site_id}/assets/{asset_id}/public_signature": {
|
|
166
|
-
/**
|
|
194
|
+
/**
|
|
195
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/assetPublicSignature/operation/getSiteAssetPublicSignature | `getSiteAssetPublicSignature`}
|
|
196
|
+
*
|
|
197
|
+
* 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._
|
|
198
|
+
*/
|
|
167
199
|
get: operations["getSiteAssetPublicSignature"];
|
|
168
200
|
parameters: {
|
|
169
201
|
path: {
|
|
@@ -283,7 +315,11 @@ export interface paths {
|
|
|
283
315
|
get: operations["getSiteDeploy"];
|
|
284
316
|
/** API Reference: {@link https://open-api.netlify.com/#tag/deploy/operation/updateSiteDeploy | `updateSiteDeploy`} */
|
|
285
317
|
put: operations["updateSiteDeploy"];
|
|
286
|
-
/**
|
|
318
|
+
/**
|
|
319
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/deploy/operation/deleteSiteDeploy | `deleteSiteDeploy`}
|
|
320
|
+
*
|
|
321
|
+
* Marks a deploy for deletion.
|
|
322
|
+
*/
|
|
287
323
|
delete: operations["deleteSiteDeploy"];
|
|
288
324
|
};
|
|
289
325
|
"/deploys/{deploy_id}/cancel": {
|
|
@@ -291,7 +327,11 @@ export interface paths {
|
|
|
291
327
|
post: operations["cancelSiteDeploy"];
|
|
292
328
|
};
|
|
293
329
|
"/sites/{site_id}/deploys/{deploy_id}/restore": {
|
|
294
|
-
/**
|
|
330
|
+
/**
|
|
331
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/deploy/operation/restoreSiteDeploy | `restoreSiteDeploy`}
|
|
332
|
+
*
|
|
333
|
+
* Publishes a previous deploy of the site.
|
|
334
|
+
*/
|
|
295
335
|
post: operations["restoreSiteDeploy"];
|
|
296
336
|
};
|
|
297
337
|
"/sites/{site_id}/builds": {
|
|
@@ -399,7 +439,11 @@ export interface paths {
|
|
|
399
439
|
};
|
|
400
440
|
};
|
|
401
441
|
"/{account_id}/builds/status": {
|
|
402
|
-
/**
|
|
442
|
+
/**
|
|
443
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/build/operation/getAccountBuildStatus | `getAccountBuildStatus`}
|
|
444
|
+
*
|
|
445
|
+
* Returns the team's counts of active, concurrency-pending, and enqueued builds, and its build minutes usage.
|
|
446
|
+
*/
|
|
403
447
|
get: operations["getAccountBuildStatus"];
|
|
404
448
|
parameters: {
|
|
405
449
|
path: {
|
|
@@ -410,7 +454,11 @@ export interface paths {
|
|
|
410
454
|
"/sites/{site_id}/dns": {
|
|
411
455
|
/** API Reference: {@link https://open-api.netlify.com/#tag/dnsZone/operation/getDNSForSite | `getDNSForSite`} */
|
|
412
456
|
get: operations["getDNSForSite"];
|
|
413
|
-
/**
|
|
457
|
+
/**
|
|
458
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/dnsZone/operation/configureDNSForSite | `configureDNSForSite`}
|
|
459
|
+
*
|
|
460
|
+
* 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.
|
|
461
|
+
*/
|
|
414
462
|
put: operations["configureDNSForSite"];
|
|
415
463
|
parameters: {
|
|
416
464
|
path: {
|
|
@@ -419,7 +467,11 @@ export interface paths {
|
|
|
419
467
|
};
|
|
420
468
|
};
|
|
421
469
|
"/sites/{site_id}/rollback": {
|
|
422
|
-
/**
|
|
470
|
+
/**
|
|
471
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/deploy/operation/rollbackSiteDeploy | `rollbackSiteDeploy`}
|
|
472
|
+
*
|
|
473
|
+
* Rolls back the production deploy to the deploy referenced by its `rollback_id`. Does nothing if the current production deploy has no `rollback_id`.
|
|
474
|
+
*/
|
|
423
475
|
put: operations["rollbackSiteDeploy"];
|
|
424
476
|
parameters: {
|
|
425
477
|
path: {
|
|
@@ -430,11 +482,19 @@ export interface paths {
|
|
|
430
482
|
"/deploys/{deploy_id}": {
|
|
431
483
|
/** API Reference: {@link https://open-api.netlify.com/#tag/deploy/operation/getDeploy | `getDeploy`} */
|
|
432
484
|
get: operations["getDeploy"];
|
|
433
|
-
/**
|
|
485
|
+
/**
|
|
486
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/deploy/operation/deleteDeploy | `deleteDeploy`}
|
|
487
|
+
*
|
|
488
|
+
* Marks a deploy for deletion.
|
|
489
|
+
*/
|
|
434
490
|
delete: operations["deleteDeploy"];
|
|
435
491
|
};
|
|
436
492
|
"/deploys/{deploy_id}/lock": {
|
|
437
|
-
/**
|
|
493
|
+
/**
|
|
494
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/deploy/operation/lockDeploy | `lockDeploy`}
|
|
495
|
+
*
|
|
496
|
+
* 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.
|
|
497
|
+
*/
|
|
438
498
|
post: operations["lockDeploy"];
|
|
439
499
|
};
|
|
440
500
|
"/deploys/{deploy_id}/unlock": {
|
|
@@ -467,7 +527,11 @@ export interface paths {
|
|
|
467
527
|
get: operations["listFormSubmissions"];
|
|
468
528
|
};
|
|
469
529
|
"/hooks": {
|
|
470
|
-
/**
|
|
530
|
+
/**
|
|
531
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/hook/operation/listHooksBySiteId | `listHooksBySiteId`}
|
|
532
|
+
*
|
|
533
|
+
* Returns the outgoing hooks for a site. Pass `form_id` or `event` to filter the results.
|
|
534
|
+
*/
|
|
471
535
|
get: operations["listHooksBySiteId"];
|
|
472
536
|
/** API Reference: {@link https://open-api.netlify.com/#tag/hook/operation/createHookBySiteId | `createHookBySiteId`} */
|
|
473
537
|
post: operations["createHookBySiteId"];
|
|
@@ -486,7 +550,11 @@ export interface paths {
|
|
|
486
550
|
};
|
|
487
551
|
};
|
|
488
552
|
"/hooks/{hook_id}/enable": {
|
|
489
|
-
/**
|
|
553
|
+
/**
|
|
554
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/hook/operation/enableHook | `enableHook`}
|
|
555
|
+
*
|
|
556
|
+
* Re-enables an outgoing hook that was disabled after repeated delivery errors.
|
|
557
|
+
*/
|
|
490
558
|
post: operations["enableHook"];
|
|
491
559
|
parameters: {
|
|
492
560
|
path: {
|
|
@@ -495,7 +563,11 @@ export interface paths {
|
|
|
495
563
|
};
|
|
496
564
|
};
|
|
497
565
|
"/hooks/types": {
|
|
498
|
-
/**
|
|
566
|
+
/**
|
|
567
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/hookType/operation/listHookTypes | `listHookTypes`}
|
|
568
|
+
*
|
|
569
|
+
* Returns the available outgoing hook types. When `site_id` is given, returns only the types available to that site.
|
|
570
|
+
*/
|
|
499
571
|
get: operations["listHookTypes"];
|
|
500
572
|
};
|
|
501
573
|
"/oauth/tickets": {
|
|
@@ -873,7 +945,11 @@ export interface paths {
|
|
|
873
945
|
};
|
|
874
946
|
};
|
|
875
947
|
"/dns_zones": {
|
|
876
|
-
/**
|
|
948
|
+
/**
|
|
949
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/dnsZone/operation/getDnsZones | `getDnsZones`}
|
|
950
|
+
*
|
|
951
|
+
* Returns the DNS zones for the team given by `account_slug`, or all DNS zones the current user can access.
|
|
952
|
+
*/
|
|
877
953
|
get: operations["getDnsZones"];
|
|
878
954
|
/** API Reference: {@link https://open-api.netlify.com/#tag/dnsZone/operation/createDnsZone | `createDnsZone`} */
|
|
879
955
|
post: operations["createDnsZone"];
|
|
@@ -934,7 +1010,11 @@ export interface paths {
|
|
|
934
1010
|
get: operations["listSiteDevServers"];
|
|
935
1011
|
/** API Reference: {@link https://open-api.netlify.com/#tag/devServer/operation/createSiteDevServer | `createSiteDevServer`} */
|
|
936
1012
|
post: operations["createSiteDevServer"];
|
|
937
|
-
/**
|
|
1013
|
+
/**
|
|
1014
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/devServer/operation/deleteSiteDevServers | `deleteSiteDevServers`}
|
|
1015
|
+
*
|
|
1016
|
+
* Stops all dev servers for a branch. Stopping happens in the background.
|
|
1017
|
+
*/
|
|
938
1018
|
delete: operations["deleteSiteDevServers"];
|
|
939
1019
|
parameters: {
|
|
940
1020
|
path: {
|
|
@@ -1878,6 +1958,21 @@ export interface components {
|
|
|
1878
1958
|
* default version is used when absent.
|
|
1879
1959
|
*/
|
|
1880
1960
|
runtime_version?: string;
|
|
1961
|
+
/** @description How many instances of the server run. */
|
|
1962
|
+
scale?: {
|
|
1963
|
+
/**
|
|
1964
|
+
* Format: int64
|
|
1965
|
+
* @description The minimum number of instances the server keeps running. Defaults to 0
|
|
1966
|
+
* when absent.
|
|
1967
|
+
*/
|
|
1968
|
+
min?: number | null;
|
|
1969
|
+
/**
|
|
1970
|
+
* Format: int64
|
|
1971
|
+
* @description The maximum number of instances the server scales to. Defaults to the
|
|
1972
|
+
* highest the account's plan allows when absent.
|
|
1973
|
+
*/
|
|
1974
|
+
max?: number | null;
|
|
1975
|
+
};
|
|
1881
1976
|
};
|
|
1882
1977
|
function_schedules?: components["schemas"]["functionSchedule"][];
|
|
1883
1978
|
functions_config?: {
|
|
@@ -2758,7 +2853,11 @@ export interface operations {
|
|
|
2758
2853
|
default: components["responses"]["error"];
|
|
2759
2854
|
};
|
|
2760
2855
|
};
|
|
2761
|
-
/**
|
|
2856
|
+
/**
|
|
2857
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/sniCertificate/operation/getAllCertificates | `getAllCertificates`}
|
|
2858
|
+
*
|
|
2859
|
+
* Returns details about the certificates associated with a domain. The site must be using the domain.
|
|
2860
|
+
*/
|
|
2762
2861
|
getAllCertificates: {
|
|
2763
2862
|
parameters: {
|
|
2764
2863
|
path: {
|
|
@@ -3096,7 +3195,11 @@ export interface operations {
|
|
|
3096
3195
|
default: components["responses"]["error"];
|
|
3097
3196
|
};
|
|
3098
3197
|
};
|
|
3099
|
-
/**
|
|
3198
|
+
/**
|
|
3199
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/form/operation/deleteSiteForm | `deleteSiteForm`}
|
|
3200
|
+
*
|
|
3201
|
+
* Deletes a form and all of its submissions.
|
|
3202
|
+
*/
|
|
3100
3203
|
deleteSiteForm: {
|
|
3101
3204
|
parameters: {
|
|
3102
3205
|
path: {
|
|
@@ -3148,7 +3251,11 @@ export interface operations {
|
|
|
3148
3251
|
default: components["responses"]["error"];
|
|
3149
3252
|
};
|
|
3150
3253
|
};
|
|
3151
|
-
/**
|
|
3254
|
+
/**
|
|
3255
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/asset/operation/listSiteAssets | `listSiteAssets`}
|
|
3256
|
+
*
|
|
3257
|
+
* _This endpoint is only available to certain sites._
|
|
3258
|
+
*/
|
|
3152
3259
|
listSiteAssets: {
|
|
3153
3260
|
parameters: {
|
|
3154
3261
|
path: {
|
|
@@ -3165,7 +3272,11 @@ export interface operations {
|
|
|
3165
3272
|
default: components["responses"]["error"];
|
|
3166
3273
|
};
|
|
3167
3274
|
};
|
|
3168
|
-
/**
|
|
3275
|
+
/**
|
|
3276
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/asset/operation/createSiteAsset | `createSiteAsset`}
|
|
3277
|
+
*
|
|
3278
|
+
* _This endpoint is only available to certain sites._
|
|
3279
|
+
*/
|
|
3169
3280
|
createSiteAsset: {
|
|
3170
3281
|
parameters: {
|
|
3171
3282
|
path: {
|
|
@@ -3188,7 +3299,11 @@ export interface operations {
|
|
|
3188
3299
|
default: components["responses"]["error"];
|
|
3189
3300
|
};
|
|
3190
3301
|
};
|
|
3191
|
-
/**
|
|
3302
|
+
/**
|
|
3303
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/asset/operation/getSiteAssetInfo | `getSiteAssetInfo`}
|
|
3304
|
+
*
|
|
3305
|
+
* _This endpoint is only available to certain sites._
|
|
3306
|
+
*/
|
|
3192
3307
|
getSiteAssetInfo: {
|
|
3193
3308
|
parameters: {
|
|
3194
3309
|
path: {
|
|
@@ -3206,7 +3321,11 @@ export interface operations {
|
|
|
3206
3321
|
default: components["responses"]["error"];
|
|
3207
3322
|
};
|
|
3208
3323
|
};
|
|
3209
|
-
/**
|
|
3324
|
+
/**
|
|
3325
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/asset/operation/updateSiteAsset | `updateSiteAsset`}
|
|
3326
|
+
*
|
|
3327
|
+
* _This endpoint is only available to certain sites._
|
|
3328
|
+
*/
|
|
3210
3329
|
updateSiteAsset: {
|
|
3211
3330
|
parameters: {
|
|
3212
3331
|
path: {
|
|
@@ -3227,7 +3346,11 @@ export interface operations {
|
|
|
3227
3346
|
default: components["responses"]["error"];
|
|
3228
3347
|
};
|
|
3229
3348
|
};
|
|
3230
|
-
/**
|
|
3349
|
+
/**
|
|
3350
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/asset/operation/deleteSiteAsset | `deleteSiteAsset`}
|
|
3351
|
+
*
|
|
3352
|
+
* _This endpoint is only available to certain sites._
|
|
3353
|
+
*/
|
|
3231
3354
|
deleteSiteAsset: {
|
|
3232
3355
|
parameters: {
|
|
3233
3356
|
path: {
|
|
@@ -3241,7 +3364,11 @@ export interface operations {
|
|
|
3241
3364
|
default: components["responses"]["error"];
|
|
3242
3365
|
};
|
|
3243
3366
|
};
|
|
3244
|
-
/**
|
|
3367
|
+
/**
|
|
3368
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/assetPublicSignature/operation/getSiteAssetPublicSignature | `getSiteAssetPublicSignature`}
|
|
3369
|
+
*
|
|
3370
|
+
* 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._
|
|
3371
|
+
*/
|
|
3245
3372
|
getSiteAssetPublicSignature: {
|
|
3246
3373
|
parameters: {
|
|
3247
3374
|
path: {
|
|
@@ -3618,7 +3745,11 @@ export interface operations {
|
|
|
3618
3745
|
};
|
|
3619
3746
|
requestBody: components["requestBodies"]["deployFiles"];
|
|
3620
3747
|
};
|
|
3621
|
-
/**
|
|
3748
|
+
/**
|
|
3749
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/deploy/operation/deleteSiteDeploy | `deleteSiteDeploy`}
|
|
3750
|
+
*
|
|
3751
|
+
* Marks a deploy for deletion.
|
|
3752
|
+
*/
|
|
3622
3753
|
deleteSiteDeploy: {
|
|
3623
3754
|
parameters: {
|
|
3624
3755
|
path: {
|
|
@@ -3649,7 +3780,11 @@ export interface operations {
|
|
|
3649
3780
|
default: components["responses"]["error"];
|
|
3650
3781
|
};
|
|
3651
3782
|
};
|
|
3652
|
-
/**
|
|
3783
|
+
/**
|
|
3784
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/deploy/operation/restoreSiteDeploy | `restoreSiteDeploy`}
|
|
3785
|
+
*
|
|
3786
|
+
* Publishes a previous deploy of the site.
|
|
3787
|
+
*/
|
|
3653
3788
|
restoreSiteDeploy: {
|
|
3654
3789
|
parameters: {
|
|
3655
3790
|
path: {
|
|
@@ -3886,7 +4021,11 @@ export interface operations {
|
|
|
3886
4021
|
default: components["responses"]["error"];
|
|
3887
4022
|
};
|
|
3888
4023
|
};
|
|
3889
|
-
/**
|
|
4024
|
+
/**
|
|
4025
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/build/operation/getAccountBuildStatus | `getAccountBuildStatus`}
|
|
4026
|
+
*
|
|
4027
|
+
* Returns the team's counts of active, concurrency-pending, and enqueued builds, and its build minutes usage.
|
|
4028
|
+
*/
|
|
3890
4029
|
getAccountBuildStatus: {
|
|
3891
4030
|
parameters: {
|
|
3892
4031
|
path: {
|
|
@@ -3920,7 +4059,11 @@ export interface operations {
|
|
|
3920
4059
|
default: components["responses"]["error"];
|
|
3921
4060
|
};
|
|
3922
4061
|
};
|
|
3923
|
-
/**
|
|
4062
|
+
/**
|
|
4063
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/dnsZone/operation/configureDNSForSite | `configureDNSForSite`}
|
|
4064
|
+
*
|
|
4065
|
+
* 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.
|
|
4066
|
+
*/
|
|
3924
4067
|
configureDNSForSite: {
|
|
3925
4068
|
parameters: {
|
|
3926
4069
|
path: {
|
|
@@ -3937,7 +4080,11 @@ export interface operations {
|
|
|
3937
4080
|
default: components["responses"]["error"];
|
|
3938
4081
|
};
|
|
3939
4082
|
};
|
|
3940
|
-
/**
|
|
4083
|
+
/**
|
|
4084
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/deploy/operation/rollbackSiteDeploy | `rollbackSiteDeploy`}
|
|
4085
|
+
*
|
|
4086
|
+
* Rolls back the production deploy to the deploy referenced by its `rollback_id`. Does nothing if the current production deploy has no `rollback_id`.
|
|
4087
|
+
*/
|
|
3941
4088
|
rollbackSiteDeploy: {
|
|
3942
4089
|
parameters: {
|
|
3943
4090
|
path: {
|
|
@@ -3967,7 +4114,11 @@ export interface operations {
|
|
|
3967
4114
|
default: components["responses"]["error"];
|
|
3968
4115
|
};
|
|
3969
4116
|
};
|
|
3970
|
-
/**
|
|
4117
|
+
/**
|
|
4118
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/deploy/operation/deleteDeploy | `deleteDeploy`}
|
|
4119
|
+
*
|
|
4120
|
+
* Marks a deploy for deletion.
|
|
4121
|
+
*/
|
|
3971
4122
|
deleteDeploy: {
|
|
3972
4123
|
parameters: {
|
|
3973
4124
|
path: {
|
|
@@ -3980,7 +4131,11 @@ export interface operations {
|
|
|
3980
4131
|
default: components["responses"]["error"];
|
|
3981
4132
|
};
|
|
3982
4133
|
};
|
|
3983
|
-
/**
|
|
4134
|
+
/**
|
|
4135
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/deploy/operation/lockDeploy | `lockDeploy`}
|
|
4136
|
+
*
|
|
4137
|
+
* 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.
|
|
4138
|
+
*/
|
|
3984
4139
|
lockDeploy: {
|
|
3985
4140
|
parameters: {
|
|
3986
4141
|
path: {
|
|
@@ -4129,11 +4284,19 @@ export interface operations {
|
|
|
4129
4284
|
default: components["responses"]["error"];
|
|
4130
4285
|
};
|
|
4131
4286
|
};
|
|
4132
|
-
/**
|
|
4287
|
+
/**
|
|
4288
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/hook/operation/listHooksBySiteId | `listHooksBySiteId`}
|
|
4289
|
+
*
|
|
4290
|
+
* Returns the outgoing hooks for a site. Pass `form_id` or `event` to filter the results.
|
|
4291
|
+
*/
|
|
4133
4292
|
listHooksBySiteId: {
|
|
4134
4293
|
parameters: {
|
|
4135
4294
|
query: {
|
|
4136
4295
|
site_id: string;
|
|
4296
|
+
/** Only return hooks attached to this form. */
|
|
4297
|
+
form_id?: string;
|
|
4298
|
+
/** Only return hooks for this event name. */
|
|
4299
|
+
event?: string;
|
|
4137
4300
|
};
|
|
4138
4301
|
};
|
|
4139
4302
|
responses: {
|
|
@@ -4211,7 +4374,11 @@ export interface operations {
|
|
|
4211
4374
|
204: never;
|
|
4212
4375
|
};
|
|
4213
4376
|
};
|
|
4214
|
-
/**
|
|
4377
|
+
/**
|
|
4378
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/hook/operation/enableHook | `enableHook`}
|
|
4379
|
+
*
|
|
4380
|
+
* Re-enables an outgoing hook that was disabled after repeated delivery errors.
|
|
4381
|
+
*/
|
|
4215
4382
|
enableHook: {
|
|
4216
4383
|
parameters: {
|
|
4217
4384
|
path: {
|
|
@@ -4228,8 +4395,18 @@ export interface operations {
|
|
|
4228
4395
|
default: components["responses"]["error"];
|
|
4229
4396
|
};
|
|
4230
4397
|
};
|
|
4231
|
-
/**
|
|
4398
|
+
/**
|
|
4399
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/hookType/operation/listHookTypes | `listHookTypes`}
|
|
4400
|
+
*
|
|
4401
|
+
* Returns the available outgoing hook types. When `site_id` is given, returns only the types available to that site.
|
|
4402
|
+
*/
|
|
4232
4403
|
listHookTypes: {
|
|
4404
|
+
parameters: {
|
|
4405
|
+
query: {
|
|
4406
|
+
/** Only return the hook types available to this site. */
|
|
4407
|
+
site_id?: string;
|
|
4408
|
+
};
|
|
4409
|
+
};
|
|
4233
4410
|
responses: {
|
|
4234
4411
|
/** OK */
|
|
4235
4412
|
200: {
|
|
@@ -5380,7 +5557,11 @@ export interface operations {
|
|
|
5380
5557
|
default: components["responses"]["error"];
|
|
5381
5558
|
};
|
|
5382
5559
|
};
|
|
5383
|
-
/**
|
|
5560
|
+
/**
|
|
5561
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/dnsZone/operation/getDnsZones | `getDnsZones`}
|
|
5562
|
+
*
|
|
5563
|
+
* Returns the DNS zones for the team given by `account_slug`, or all DNS zones the current user can access.
|
|
5564
|
+
*/
|
|
5384
5565
|
getDnsZones: {
|
|
5385
5566
|
parameters: {
|
|
5386
5567
|
query: {
|
|
@@ -5581,7 +5762,11 @@ export interface operations {
|
|
|
5581
5762
|
default: components["responses"]["error"];
|
|
5582
5763
|
};
|
|
5583
5764
|
};
|
|
5584
|
-
/**
|
|
5765
|
+
/**
|
|
5766
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/devServer/operation/deleteSiteDevServers | `deleteSiteDevServers`}
|
|
5767
|
+
*
|
|
5768
|
+
* Stops all dev servers for a branch. Stopping happens in the background.
|
|
5769
|
+
*/
|
|
5585
5770
|
deleteSiteDevServers: {
|
|
5586
5771
|
parameters: {
|
|
5587
5772
|
path: {
|