@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/index.d.ts +339 -40
- package/dist/swagger.json +976 -47
- 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": {
|
|
@@ -798,6 +870,38 @@ export interface paths {
|
|
|
798
870
|
};
|
|
799
871
|
};
|
|
800
872
|
};
|
|
873
|
+
"/sites/{site_id}/identity/{identity_id}/users/{user_id}": {
|
|
874
|
+
/**
|
|
875
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/identityUser/operation/getIdentityUser | `getIdentityUser`}
|
|
876
|
+
*
|
|
877
|
+
* 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`.
|
|
878
|
+
*/
|
|
879
|
+
get: operations["getIdentityUser"];
|
|
880
|
+
parameters: {
|
|
881
|
+
path: {
|
|
882
|
+
site_id: string;
|
|
883
|
+
/** The site's Identity instance ID, returned as `identity_instance_id` by `getSite`. */
|
|
884
|
+
identity_id: string;
|
|
885
|
+
/** The Identity user's UUID. */
|
|
886
|
+
user_id: string;
|
|
887
|
+
};
|
|
888
|
+
};
|
|
889
|
+
};
|
|
890
|
+
"/sites/{site_id}/identity/{identity_id}/users/lookup": {
|
|
891
|
+
/**
|
|
892
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/identityUser/operation/lookupIdentityUser | `lookupIdentityUser`}
|
|
893
|
+
*
|
|
894
|
+
* 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`.
|
|
895
|
+
*/
|
|
896
|
+
post: operations["lookupIdentityUser"];
|
|
897
|
+
parameters: {
|
|
898
|
+
path: {
|
|
899
|
+
site_id: string;
|
|
900
|
+
/** The site's Identity instance ID, returned as `identity_instance_id` by `getSite`. */
|
|
901
|
+
identity_id: string;
|
|
902
|
+
};
|
|
903
|
+
};
|
|
904
|
+
};
|
|
801
905
|
"/services/": {
|
|
802
906
|
/** API Reference: {@link https://open-api.netlify.com/#tag/service/operation/getServices | `getServices`} */
|
|
803
907
|
get: operations["getServices"];
|
|
@@ -873,7 +977,11 @@ export interface paths {
|
|
|
873
977
|
};
|
|
874
978
|
};
|
|
875
979
|
"/dns_zones": {
|
|
876
|
-
/**
|
|
980
|
+
/**
|
|
981
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/dnsZone/operation/getDnsZones | `getDnsZones`}
|
|
982
|
+
*
|
|
983
|
+
* Returns the DNS zones for the team given by `account_slug`, or all DNS zones the current user can access.
|
|
984
|
+
*/
|
|
877
985
|
get: operations["getDnsZones"];
|
|
878
986
|
/** API Reference: {@link https://open-api.netlify.com/#tag/dnsZone/operation/createDnsZone | `createDnsZone`} */
|
|
879
987
|
post: operations["createDnsZone"];
|
|
@@ -934,7 +1042,11 @@ export interface paths {
|
|
|
934
1042
|
get: operations["listSiteDevServers"];
|
|
935
1043
|
/** API Reference: {@link https://open-api.netlify.com/#tag/devServer/operation/createSiteDevServer | `createSiteDevServer`} */
|
|
936
1044
|
post: operations["createSiteDevServer"];
|
|
937
|
-
/**
|
|
1045
|
+
/**
|
|
1046
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/devServer/operation/deleteSiteDevServers | `deleteSiteDevServers`}
|
|
1047
|
+
*
|
|
1048
|
+
* Stops all dev servers for a branch. Stopping happens in the background.
|
|
1049
|
+
*/
|
|
938
1050
|
delete: operations["deleteSiteDevServers"];
|
|
939
1051
|
parameters: {
|
|
940
1052
|
path: {
|
|
@@ -1716,6 +1828,33 @@ export interface components {
|
|
|
1716
1828
|
/** Format: dateTime */
|
|
1717
1829
|
created_at?: string;
|
|
1718
1830
|
};
|
|
1831
|
+
identityUser: {
|
|
1832
|
+
id?: string;
|
|
1833
|
+
email?: string;
|
|
1834
|
+
aud?: string;
|
|
1835
|
+
role?: string;
|
|
1836
|
+
/** Format: dateTime */
|
|
1837
|
+
confirmed_at?: string;
|
|
1838
|
+
/** Format: dateTime */
|
|
1839
|
+
invited_at?: string;
|
|
1840
|
+
/** Format: dateTime */
|
|
1841
|
+
confirmation_sent_at?: string;
|
|
1842
|
+
/** Format: dateTime */
|
|
1843
|
+
recovery_sent_at?: string;
|
|
1844
|
+
/** Format: dateTime */
|
|
1845
|
+
email_change_sent_at?: string;
|
|
1846
|
+
/** Format: dateTime */
|
|
1847
|
+
last_sign_in_at?: string;
|
|
1848
|
+
app_metadata?: {
|
|
1849
|
+
provider?: string;
|
|
1850
|
+
roles?: string[];
|
|
1851
|
+
};
|
|
1852
|
+
user_metadata?: { [key: string]: unknown };
|
|
1853
|
+
/** Format: dateTime */
|
|
1854
|
+
created_at?: string;
|
|
1855
|
+
/** Format: dateTime */
|
|
1856
|
+
updated_at?: string;
|
|
1857
|
+
};
|
|
1719
1858
|
hookType: {
|
|
1720
1859
|
name?: string;
|
|
1721
1860
|
events?: string[];
|
|
@@ -1878,6 +2017,21 @@ export interface components {
|
|
|
1878
2017
|
* default version is used when absent.
|
|
1879
2018
|
*/
|
|
1880
2019
|
runtime_version?: string;
|
|
2020
|
+
/** @description How many instances of the server run. */
|
|
2021
|
+
scale?: {
|
|
2022
|
+
/**
|
|
2023
|
+
* Format: int64
|
|
2024
|
+
* @description The minimum number of instances the server keeps running. Defaults to 0
|
|
2025
|
+
* when absent.
|
|
2026
|
+
*/
|
|
2027
|
+
min?: number | null;
|
|
2028
|
+
/**
|
|
2029
|
+
* Format: int64
|
|
2030
|
+
* @description The maximum number of instances the server scales to. Defaults to the
|
|
2031
|
+
* highest the account's plan allows when absent.
|
|
2032
|
+
*/
|
|
2033
|
+
max?: number | null;
|
|
2034
|
+
};
|
|
1881
2035
|
};
|
|
1882
2036
|
function_schedules?: components["schemas"]["functionSchedule"][];
|
|
1883
2037
|
functions_config?: {
|
|
@@ -2758,7 +2912,11 @@ export interface operations {
|
|
|
2758
2912
|
default: components["responses"]["error"];
|
|
2759
2913
|
};
|
|
2760
2914
|
};
|
|
2761
|
-
/**
|
|
2915
|
+
/**
|
|
2916
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/sniCertificate/operation/getAllCertificates | `getAllCertificates`}
|
|
2917
|
+
*
|
|
2918
|
+
* Returns details about the certificates associated with a domain. The site must be using the domain.
|
|
2919
|
+
*/
|
|
2762
2920
|
getAllCertificates: {
|
|
2763
2921
|
parameters: {
|
|
2764
2922
|
path: {
|
|
@@ -3096,7 +3254,11 @@ export interface operations {
|
|
|
3096
3254
|
default: components["responses"]["error"];
|
|
3097
3255
|
};
|
|
3098
3256
|
};
|
|
3099
|
-
/**
|
|
3257
|
+
/**
|
|
3258
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/form/operation/deleteSiteForm | `deleteSiteForm`}
|
|
3259
|
+
*
|
|
3260
|
+
* Deletes a form and all of its submissions.
|
|
3261
|
+
*/
|
|
3100
3262
|
deleteSiteForm: {
|
|
3101
3263
|
parameters: {
|
|
3102
3264
|
path: {
|
|
@@ -3148,7 +3310,11 @@ export interface operations {
|
|
|
3148
3310
|
default: components["responses"]["error"];
|
|
3149
3311
|
};
|
|
3150
3312
|
};
|
|
3151
|
-
/**
|
|
3313
|
+
/**
|
|
3314
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/asset/operation/listSiteAssets | `listSiteAssets`}
|
|
3315
|
+
*
|
|
3316
|
+
* _This endpoint is only available to certain sites._
|
|
3317
|
+
*/
|
|
3152
3318
|
listSiteAssets: {
|
|
3153
3319
|
parameters: {
|
|
3154
3320
|
path: {
|
|
@@ -3165,7 +3331,11 @@ export interface operations {
|
|
|
3165
3331
|
default: components["responses"]["error"];
|
|
3166
3332
|
};
|
|
3167
3333
|
};
|
|
3168
|
-
/**
|
|
3334
|
+
/**
|
|
3335
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/asset/operation/createSiteAsset | `createSiteAsset`}
|
|
3336
|
+
*
|
|
3337
|
+
* _This endpoint is only available to certain sites._
|
|
3338
|
+
*/
|
|
3169
3339
|
createSiteAsset: {
|
|
3170
3340
|
parameters: {
|
|
3171
3341
|
path: {
|
|
@@ -3188,7 +3358,11 @@ export interface operations {
|
|
|
3188
3358
|
default: components["responses"]["error"];
|
|
3189
3359
|
};
|
|
3190
3360
|
};
|
|
3191
|
-
/**
|
|
3361
|
+
/**
|
|
3362
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/asset/operation/getSiteAssetInfo | `getSiteAssetInfo`}
|
|
3363
|
+
*
|
|
3364
|
+
* _This endpoint is only available to certain sites._
|
|
3365
|
+
*/
|
|
3192
3366
|
getSiteAssetInfo: {
|
|
3193
3367
|
parameters: {
|
|
3194
3368
|
path: {
|
|
@@ -3206,7 +3380,11 @@ export interface operations {
|
|
|
3206
3380
|
default: components["responses"]["error"];
|
|
3207
3381
|
};
|
|
3208
3382
|
};
|
|
3209
|
-
/**
|
|
3383
|
+
/**
|
|
3384
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/asset/operation/updateSiteAsset | `updateSiteAsset`}
|
|
3385
|
+
*
|
|
3386
|
+
* _This endpoint is only available to certain sites._
|
|
3387
|
+
*/
|
|
3210
3388
|
updateSiteAsset: {
|
|
3211
3389
|
parameters: {
|
|
3212
3390
|
path: {
|
|
@@ -3227,7 +3405,11 @@ export interface operations {
|
|
|
3227
3405
|
default: components["responses"]["error"];
|
|
3228
3406
|
};
|
|
3229
3407
|
};
|
|
3230
|
-
/**
|
|
3408
|
+
/**
|
|
3409
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/asset/operation/deleteSiteAsset | `deleteSiteAsset`}
|
|
3410
|
+
*
|
|
3411
|
+
* _This endpoint is only available to certain sites._
|
|
3412
|
+
*/
|
|
3231
3413
|
deleteSiteAsset: {
|
|
3232
3414
|
parameters: {
|
|
3233
3415
|
path: {
|
|
@@ -3241,7 +3423,11 @@ export interface operations {
|
|
|
3241
3423
|
default: components["responses"]["error"];
|
|
3242
3424
|
};
|
|
3243
3425
|
};
|
|
3244
|
-
/**
|
|
3426
|
+
/**
|
|
3427
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/assetPublicSignature/operation/getSiteAssetPublicSignature | `getSiteAssetPublicSignature`}
|
|
3428
|
+
*
|
|
3429
|
+
* 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._
|
|
3430
|
+
*/
|
|
3245
3431
|
getSiteAssetPublicSignature: {
|
|
3246
3432
|
parameters: {
|
|
3247
3433
|
path: {
|
|
@@ -3618,7 +3804,11 @@ export interface operations {
|
|
|
3618
3804
|
};
|
|
3619
3805
|
requestBody: components["requestBodies"]["deployFiles"];
|
|
3620
3806
|
};
|
|
3621
|
-
/**
|
|
3807
|
+
/**
|
|
3808
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/deploy/operation/deleteSiteDeploy | `deleteSiteDeploy`}
|
|
3809
|
+
*
|
|
3810
|
+
* Marks a deploy for deletion.
|
|
3811
|
+
*/
|
|
3622
3812
|
deleteSiteDeploy: {
|
|
3623
3813
|
parameters: {
|
|
3624
3814
|
path: {
|
|
@@ -3649,7 +3839,11 @@ export interface operations {
|
|
|
3649
3839
|
default: components["responses"]["error"];
|
|
3650
3840
|
};
|
|
3651
3841
|
};
|
|
3652
|
-
/**
|
|
3842
|
+
/**
|
|
3843
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/deploy/operation/restoreSiteDeploy | `restoreSiteDeploy`}
|
|
3844
|
+
*
|
|
3845
|
+
* Publishes a previous deploy of the site.
|
|
3846
|
+
*/
|
|
3653
3847
|
restoreSiteDeploy: {
|
|
3654
3848
|
parameters: {
|
|
3655
3849
|
path: {
|
|
@@ -3886,7 +4080,11 @@ export interface operations {
|
|
|
3886
4080
|
default: components["responses"]["error"];
|
|
3887
4081
|
};
|
|
3888
4082
|
};
|
|
3889
|
-
/**
|
|
4083
|
+
/**
|
|
4084
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/build/operation/getAccountBuildStatus | `getAccountBuildStatus`}
|
|
4085
|
+
*
|
|
4086
|
+
* Returns the team's counts of active, concurrency-pending, and enqueued builds, and its build minutes usage.
|
|
4087
|
+
*/
|
|
3890
4088
|
getAccountBuildStatus: {
|
|
3891
4089
|
parameters: {
|
|
3892
4090
|
path: {
|
|
@@ -3920,7 +4118,11 @@ export interface operations {
|
|
|
3920
4118
|
default: components["responses"]["error"];
|
|
3921
4119
|
};
|
|
3922
4120
|
};
|
|
3923
|
-
/**
|
|
4121
|
+
/**
|
|
4122
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/dnsZone/operation/configureDNSForSite | `configureDNSForSite`}
|
|
4123
|
+
*
|
|
4124
|
+
* 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.
|
|
4125
|
+
*/
|
|
3924
4126
|
configureDNSForSite: {
|
|
3925
4127
|
parameters: {
|
|
3926
4128
|
path: {
|
|
@@ -3937,7 +4139,11 @@ export interface operations {
|
|
|
3937
4139
|
default: components["responses"]["error"];
|
|
3938
4140
|
};
|
|
3939
4141
|
};
|
|
3940
|
-
/**
|
|
4142
|
+
/**
|
|
4143
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/deploy/operation/rollbackSiteDeploy | `rollbackSiteDeploy`}
|
|
4144
|
+
*
|
|
4145
|
+
* Rolls back the production deploy to the deploy referenced by its `rollback_id`. Does nothing if the current production deploy has no `rollback_id`.
|
|
4146
|
+
*/
|
|
3941
4147
|
rollbackSiteDeploy: {
|
|
3942
4148
|
parameters: {
|
|
3943
4149
|
path: {
|
|
@@ -3967,7 +4173,11 @@ export interface operations {
|
|
|
3967
4173
|
default: components["responses"]["error"];
|
|
3968
4174
|
};
|
|
3969
4175
|
};
|
|
3970
|
-
/**
|
|
4176
|
+
/**
|
|
4177
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/deploy/operation/deleteDeploy | `deleteDeploy`}
|
|
4178
|
+
*
|
|
4179
|
+
* Marks a deploy for deletion.
|
|
4180
|
+
*/
|
|
3971
4181
|
deleteDeploy: {
|
|
3972
4182
|
parameters: {
|
|
3973
4183
|
path: {
|
|
@@ -3980,7 +4190,11 @@ export interface operations {
|
|
|
3980
4190
|
default: components["responses"]["error"];
|
|
3981
4191
|
};
|
|
3982
4192
|
};
|
|
3983
|
-
/**
|
|
4193
|
+
/**
|
|
4194
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/deploy/operation/lockDeploy | `lockDeploy`}
|
|
4195
|
+
*
|
|
4196
|
+
* 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.
|
|
4197
|
+
*/
|
|
3984
4198
|
lockDeploy: {
|
|
3985
4199
|
parameters: {
|
|
3986
4200
|
path: {
|
|
@@ -4129,11 +4343,19 @@ export interface operations {
|
|
|
4129
4343
|
default: components["responses"]["error"];
|
|
4130
4344
|
};
|
|
4131
4345
|
};
|
|
4132
|
-
/**
|
|
4346
|
+
/**
|
|
4347
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/hook/operation/listHooksBySiteId | `listHooksBySiteId`}
|
|
4348
|
+
*
|
|
4349
|
+
* Returns the outgoing hooks for a site. Pass `form_id` or `event` to filter the results.
|
|
4350
|
+
*/
|
|
4133
4351
|
listHooksBySiteId: {
|
|
4134
4352
|
parameters: {
|
|
4135
4353
|
query: {
|
|
4136
4354
|
site_id: string;
|
|
4355
|
+
/** Only return hooks attached to this form. */
|
|
4356
|
+
form_id?: string;
|
|
4357
|
+
/** Only return hooks for this event name. */
|
|
4358
|
+
event?: string;
|
|
4137
4359
|
};
|
|
4138
4360
|
};
|
|
4139
4361
|
responses: {
|
|
@@ -4211,7 +4433,11 @@ export interface operations {
|
|
|
4211
4433
|
204: never;
|
|
4212
4434
|
};
|
|
4213
4435
|
};
|
|
4214
|
-
/**
|
|
4436
|
+
/**
|
|
4437
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/hook/operation/enableHook | `enableHook`}
|
|
4438
|
+
*
|
|
4439
|
+
* Re-enables an outgoing hook that was disabled after repeated delivery errors.
|
|
4440
|
+
*/
|
|
4215
4441
|
enableHook: {
|
|
4216
4442
|
parameters: {
|
|
4217
4443
|
path: {
|
|
@@ -4228,8 +4454,18 @@ export interface operations {
|
|
|
4228
4454
|
default: components["responses"]["error"];
|
|
4229
4455
|
};
|
|
4230
4456
|
};
|
|
4231
|
-
/**
|
|
4457
|
+
/**
|
|
4458
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/hookType/operation/listHookTypes | `listHookTypes`}
|
|
4459
|
+
*
|
|
4460
|
+
* Returns the available outgoing hook types. When `site_id` is given, returns only the types available to that site.
|
|
4461
|
+
*/
|
|
4232
4462
|
listHookTypes: {
|
|
4463
|
+
parameters: {
|
|
4464
|
+
query: {
|
|
4465
|
+
/** Only return the hook types available to this site. */
|
|
4466
|
+
site_id?: string;
|
|
4467
|
+
};
|
|
4468
|
+
};
|
|
4233
4469
|
responses: {
|
|
4234
4470
|
/** OK */
|
|
4235
4471
|
200: {
|
|
@@ -5217,6 +5453,61 @@ export interface operations {
|
|
|
5217
5453
|
default: components["responses"]["error"];
|
|
5218
5454
|
};
|
|
5219
5455
|
};
|
|
5456
|
+
/**
|
|
5457
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/identityUser/operation/getIdentityUser | `getIdentityUser`}
|
|
5458
|
+
*
|
|
5459
|
+
* 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`.
|
|
5460
|
+
*/
|
|
5461
|
+
getIdentityUser: {
|
|
5462
|
+
parameters: {
|
|
5463
|
+
path: {
|
|
5464
|
+
site_id: string;
|
|
5465
|
+
/** The site's Identity instance ID, returned as `identity_instance_id` by `getSite`. */
|
|
5466
|
+
identity_id: string;
|
|
5467
|
+
/** The Identity user's UUID. */
|
|
5468
|
+
user_id: string;
|
|
5469
|
+
};
|
|
5470
|
+
};
|
|
5471
|
+
responses: {
|
|
5472
|
+
/** OK */
|
|
5473
|
+
200: {
|
|
5474
|
+
content: {
|
|
5475
|
+
"application/json": components["schemas"]["identityUser"];
|
|
5476
|
+
};
|
|
5477
|
+
};
|
|
5478
|
+
default: components["responses"]["error"];
|
|
5479
|
+
};
|
|
5480
|
+
};
|
|
5481
|
+
/**
|
|
5482
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/identityUser/operation/lookupIdentityUser | `lookupIdentityUser`}
|
|
5483
|
+
*
|
|
5484
|
+
* 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`.
|
|
5485
|
+
*/
|
|
5486
|
+
lookupIdentityUser: {
|
|
5487
|
+
parameters: {
|
|
5488
|
+
path: {
|
|
5489
|
+
site_id: string;
|
|
5490
|
+
/** The site's Identity instance ID, returned as `identity_instance_id` by `getSite`. */
|
|
5491
|
+
identity_id: string;
|
|
5492
|
+
};
|
|
5493
|
+
};
|
|
5494
|
+
responses: {
|
|
5495
|
+
/** OK */
|
|
5496
|
+
200: {
|
|
5497
|
+
content: {
|
|
5498
|
+
"application/json": components["schemas"]["identityUser"];
|
|
5499
|
+
};
|
|
5500
|
+
};
|
|
5501
|
+
default: components["responses"]["error"];
|
|
5502
|
+
};
|
|
5503
|
+
requestBody: {
|
|
5504
|
+
content: {
|
|
5505
|
+
"application/json": {
|
|
5506
|
+
email: string;
|
|
5507
|
+
};
|
|
5508
|
+
};
|
|
5509
|
+
};
|
|
5510
|
+
};
|
|
5220
5511
|
/** API Reference: {@link https://open-api.netlify.com/#tag/service/operation/getServices | `getServices`} */
|
|
5221
5512
|
getServices: {
|
|
5222
5513
|
parameters: {
|
|
@@ -5380,7 +5671,11 @@ export interface operations {
|
|
|
5380
5671
|
default: components["responses"]["error"];
|
|
5381
5672
|
};
|
|
5382
5673
|
};
|
|
5383
|
-
/**
|
|
5674
|
+
/**
|
|
5675
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/dnsZone/operation/getDnsZones | `getDnsZones`}
|
|
5676
|
+
*
|
|
5677
|
+
* Returns the DNS zones for the team given by `account_slug`, or all DNS zones the current user can access.
|
|
5678
|
+
*/
|
|
5384
5679
|
getDnsZones: {
|
|
5385
5680
|
parameters: {
|
|
5386
5681
|
query: {
|
|
@@ -5581,7 +5876,11 @@ export interface operations {
|
|
|
5581
5876
|
default: components["responses"]["error"];
|
|
5582
5877
|
};
|
|
5583
5878
|
};
|
|
5584
|
-
/**
|
|
5879
|
+
/**
|
|
5880
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/devServer/operation/deleteSiteDevServers | `deleteSiteDevServers`}
|
|
5881
|
+
*
|
|
5882
|
+
* Stops all dev servers for a branch. Stopping happens in the background.
|
|
5883
|
+
*/
|
|
5585
5884
|
deleteSiteDevServers: {
|
|
5586
5885
|
parameters: {
|
|
5587
5886
|
path: {
|