@netlify/open-api 2.24.1 → 2.26.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.
Files changed (2) hide show
  1. package/dist/swagger.json +323 -444
  2. package/package.json +1 -1
package/dist/swagger.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "swagger": "2.0",
3
3
  "info": {
4
- "version": "2.24.1",
4
+ "version": "2.26.0",
5
5
  "title": "Netlify's API documentation",
6
6
  "description": "Netlify is a hosting service for the programmable web. It understands your documents and provides an API to handle atomic deploys of websites, manage form submissions, inject JavaScript snippets, and much more. This is a REST-style API that uses JSON for serialization and OAuth 2 for authentication.\n\nThis document is an OpenAPI reference for the Netlify API that you can explore. For more detailed instructions for common uses, please visit the [online documentation](https://www.netlify.com/docs/api/). Visit our Community forum to join the conversation about [understanding and using Netlify’s API](https://community.netlify.com/t/common-issue-understanding-and-using-netlifys-api/160).\n\nAdditionally, we have two API clients for your convenience:\n- [Go Client](https://github.com/netlify/open-api#go-client)\n- [JS Client](https://github.com/netlify/build/tree/main/packages/js-client)",
7
7
  "termsOfService": "https://www.netlify.com/legal/terms-of-use/",
@@ -320,39 +320,6 @@
320
320
  "processing_settings": {
321
321
  "type": "object",
322
322
  "properties": {
323
- "skip": {
324
- "type": "boolean"
325
- },
326
- "css": {
327
- "type": "object",
328
- "properties": {
329
- "bundle": {
330
- "type": "boolean"
331
- },
332
- "minify": {
333
- "type": "boolean"
334
- }
335
- }
336
- },
337
- "js": {
338
- "type": "object",
339
- "properties": {
340
- "bundle": {
341
- "type": "boolean"
342
- },
343
- "minify": {
344
- "type": "boolean"
345
- }
346
- }
347
- },
348
- "images": {
349
- "type": "object",
350
- "properties": {
351
- "optimize": {
352
- "type": "boolean"
353
- }
354
- }
355
- },
356
323
  "html": {
357
324
  "type": "object",
358
325
  "properties": {
@@ -463,7 +430,7 @@
463
430
  }
464
431
  }
465
432
  },
466
- "description": "**Note:** Environment variable keys and values will soon be moved from `build_settings.env` and `repo.env` to a new endpoint. Please use [getEnvVars](#tag/environmentVariables/operation/getEnvVars) to retrieve site environment variables."
433
+ "description": "**Note:** Environment variable keys and values have moved from `build_settings.env` and `repo.env` to a new endpoint. Please use [getEnvVars](#tag/environmentVariables/operation/getEnvVars) to retrieve site environment variables."
467
434
  },
468
435
  "post": {
469
436
  "operationId": "createSite",
@@ -697,39 +664,6 @@
697
664
  "processing_settings": {
698
665
  "type": "object",
699
666
  "properties": {
700
- "skip": {
701
- "type": "boolean"
702
- },
703
- "css": {
704
- "type": "object",
705
- "properties": {
706
- "bundle": {
707
- "type": "boolean"
708
- },
709
- "minify": {
710
- "type": "boolean"
711
- }
712
- }
713
- },
714
- "js": {
715
- "type": "object",
716
- "properties": {
717
- "bundle": {
718
- "type": "boolean"
719
- },
720
- "minify": {
721
- "type": "boolean"
722
- }
723
- }
724
- },
725
- "images": {
726
- "type": "object",
727
- "properties": {
728
- "optimize": {
729
- "type": "boolean"
730
- }
731
- }
732
- },
733
667
  "html": {
734
668
  "type": "object",
735
669
  "properties": {
@@ -1109,39 +1043,6 @@
1109
1043
  "processing_settings": {
1110
1044
  "type": "object",
1111
1045
  "properties": {
1112
- "skip": {
1113
- "type": "boolean"
1114
- },
1115
- "css": {
1116
- "type": "object",
1117
- "properties": {
1118
- "bundle": {
1119
- "type": "boolean"
1120
- },
1121
- "minify": {
1122
- "type": "boolean"
1123
- }
1124
- }
1125
- },
1126
- "js": {
1127
- "type": "object",
1128
- "properties": {
1129
- "bundle": {
1130
- "type": "boolean"
1131
- },
1132
- "minify": {
1133
- "type": "boolean"
1134
- }
1135
- }
1136
- },
1137
- "images": {
1138
- "type": "object",
1139
- "properties": {
1140
- "optimize": {
1141
- "type": "boolean"
1142
- }
1143
- }
1144
- },
1145
1046
  "html": {
1146
1047
  "type": "object",
1147
1048
  "properties": {
@@ -1251,7 +1152,7 @@
1251
1152
  }
1252
1153
  }
1253
1154
  },
1254
- "description": "**Note:** Environment variable keys and values will soon be moved from `build_settings.env` and `repo.env` to a new endpoint. Please use [createEnvVars](#tag/environmentVariables/operation/createEnvVars) to create environment variables for a site."
1155
+ "description": "**Note:** Environment variable keys and values have moved from `build_settings.env` and `repo.env` to a new endpoint. Please use [createEnvVars](#tag/environmentVariables/operation/createEnvVars) to create environment variables for a site."
1255
1156
  }
1256
1157
  },
1257
1158
  "/sites/{site_id}": {
@@ -1497,39 +1398,6 @@
1497
1398
  "processing_settings": {
1498
1399
  "type": "object",
1499
1400
  "properties": {
1500
- "skip": {
1501
- "type": "boolean"
1502
- },
1503
- "css": {
1504
- "type": "object",
1505
- "properties": {
1506
- "bundle": {
1507
- "type": "boolean"
1508
- },
1509
- "minify": {
1510
- "type": "boolean"
1511
- }
1512
- }
1513
- },
1514
- "js": {
1515
- "type": "object",
1516
- "properties": {
1517
- "bundle": {
1518
- "type": "boolean"
1519
- },
1520
- "minify": {
1521
- "type": "boolean"
1522
- }
1523
- }
1524
- },
1525
- "images": {
1526
- "type": "object",
1527
- "properties": {
1528
- "optimize": {
1529
- "type": "boolean"
1530
- }
1531
- }
1532
- },
1533
1401
  "html": {
1534
1402
  "type": "object",
1535
1403
  "properties": {
@@ -1639,7 +1507,7 @@
1639
1507
  }
1640
1508
  }
1641
1509
  },
1642
- "description": "**Note:** Environment variable keys and values will soon be moved from `build_settings.env` and `repo.env` to a new endpoint. Please use [getEnvVars](#tag/environmentVariables/operation/getEnvVars) to retrieve site environment variables."
1510
+ "description": "**Note:** Environment variable keys and values have moved from `build_settings.env` and `repo.env` to a new endpoint. Please use [getEnvVars](#tag/environmentVariables/operation/getEnvVars) to retrieve site environment variables."
1643
1511
  },
1644
1512
  "patch": {
1645
1513
  "operationId": "updateSite",
@@ -1873,39 +1741,6 @@
1873
1741
  "processing_settings": {
1874
1742
  "type": "object",
1875
1743
  "properties": {
1876
- "skip": {
1877
- "type": "boolean"
1878
- },
1879
- "css": {
1880
- "type": "object",
1881
- "properties": {
1882
- "bundle": {
1883
- "type": "boolean"
1884
- },
1885
- "minify": {
1886
- "type": "boolean"
1887
- }
1888
- }
1889
- },
1890
- "js": {
1891
- "type": "object",
1892
- "properties": {
1893
- "bundle": {
1894
- "type": "boolean"
1895
- },
1896
- "minify": {
1897
- "type": "boolean"
1898
- }
1899
- }
1900
- },
1901
- "images": {
1902
- "type": "object",
1903
- "properties": {
1904
- "optimize": {
1905
- "type": "boolean"
1906
- }
1907
- }
1908
- },
1909
1744
  "html": {
1910
1745
  "type": "object",
1911
1746
  "properties": {
@@ -2280,39 +2115,6 @@
2280
2115
  "processing_settings": {
2281
2116
  "type": "object",
2282
2117
  "properties": {
2283
- "skip": {
2284
- "type": "boolean"
2285
- },
2286
- "css": {
2287
- "type": "object",
2288
- "properties": {
2289
- "bundle": {
2290
- "type": "boolean"
2291
- },
2292
- "minify": {
2293
- "type": "boolean"
2294
- }
2295
- }
2296
- },
2297
- "js": {
2298
- "type": "object",
2299
- "properties": {
2300
- "bundle": {
2301
- "type": "boolean"
2302
- },
2303
- "minify": {
2304
- "type": "boolean"
2305
- }
2306
- }
2307
- },
2308
- "images": {
2309
- "type": "object",
2310
- "properties": {
2311
- "optimize": {
2312
- "type": "boolean"
2313
- }
2314
- }
2315
- },
2316
2118
  "html": {
2317
2119
  "type": "object",
2318
2120
  "properties": {
@@ -2422,7 +2224,7 @@
2422
2224
  }
2423
2225
  }
2424
2226
  },
2425
- "description": "**Note:** Environment variable keys and values will soon be moved from `build_settings.env` and `repo.env` to a new endpoint. Please use [updateEnvVar](#tag/environmentVariables/operation/updateEnvVar) to update a site's environment variables."
2227
+ "description": "**Note:** Environment variable keys and values have moved from `build_settings.env` and `repo.env` to a new endpoint. Please use [updateEnvVar](#tag/environmentVariables/operation/updateEnvVar) to update a site's environment variables."
2426
2228
  },
2427
2229
  "delete": {
2428
2230
  "operationId": "deleteSite",
@@ -2989,6 +2791,174 @@
2989
2791
  }
2990
2792
  }
2991
2793
  },
2794
+ "/api/v1/sites/{site_id}/env": {
2795
+ "get": {
2796
+ "tags": [
2797
+ "environmentVariables"
2798
+ ],
2799
+ "operationId": "getSiteEnvVars",
2800
+ "parameters": [
2801
+ {
2802
+ "name": "context_name",
2803
+ "description": "Filter by deploy context",
2804
+ "required": false,
2805
+ "in": "query",
2806
+ "type": "string",
2807
+ "enum": [
2808
+ "all",
2809
+ "dev",
2810
+ "branch-deploy",
2811
+ "deploy-preview",
2812
+ "production"
2813
+ ]
2814
+ },
2815
+ {
2816
+ "name": "scope",
2817
+ "description": "Filter by scope",
2818
+ "required": false,
2819
+ "in": "query",
2820
+ "type": "string",
2821
+ "enum": [
2822
+ "builds",
2823
+ "functions",
2824
+ "runtime",
2825
+ "post_processing"
2826
+ ]
2827
+ },
2828
+ {
2829
+ "name": "site_id",
2830
+ "description": "Scope response to site_id",
2831
+ "required": true,
2832
+ "type": "string",
2833
+ "in": "path"
2834
+ }
2835
+ ],
2836
+ "responses": {
2837
+ "200": {
2838
+ "description": "OK",
2839
+ "schema": {
2840
+ "type": "array",
2841
+ "items": {
2842
+ "type": "object",
2843
+ "properties": {
2844
+ "key": {
2845
+ "type": "string",
2846
+ "description": "The environment variable key, like ALGOLIA_ID (case-sensitive)",
2847
+ "x-faker": "commerce.productName"
2848
+ },
2849
+ "scopes": {
2850
+ "type": "array",
2851
+ "items": {
2852
+ "type": "string",
2853
+ "enum": [
2854
+ "builds",
2855
+ "functions",
2856
+ "runtime",
2857
+ "post-processing"
2858
+ ]
2859
+ },
2860
+ "description": "The scopes that this environment variable is set to"
2861
+ },
2862
+ "values": {
2863
+ "type": "array",
2864
+ "items": {
2865
+ "type": "object",
2866
+ "properties": {
2867
+ "id": {
2868
+ "type": "string",
2869
+ "description": "The environment variable value's universally unique ID",
2870
+ "x-faker": "datatype.uuid"
2871
+ },
2872
+ "value": {
2873
+ "type": "string",
2874
+ "description": "The environment variable's unencrypted value",
2875
+ "x-faker": "internet.password"
2876
+ },
2877
+ "context": {
2878
+ "type": "string",
2879
+ "enum": [
2880
+ "all",
2881
+ "dev",
2882
+ "branch-deploy",
2883
+ "deploy-preview",
2884
+ "production",
2885
+ "branch"
2886
+ ],
2887
+ "description": "The deploy context in which this value will be used. `dev` refers to local development when running `netlify dev`."
2888
+ },
2889
+ "context_parameter": {
2890
+ "type": "string",
2891
+ "description": "An additional parameter for custom branches. Currently, this is used for specifying a branch name when `context=branch`."
2892
+ }
2893
+ },
2894
+ "description": "Environment variable value model definition"
2895
+ },
2896
+ "description": "An array of Value objects containing values and metadata",
2897
+ "x-faker": "internet.password"
2898
+ },
2899
+ "is_secret": {
2900
+ "type": "boolean",
2901
+ "description": "Secret values are only readable by code running on Netlify’s systems. With secrets, only the local development context values are readable from the UI, API, and CLI. By default, environment variable values are not secret. (Enterprise plans only)"
2902
+ },
2903
+ "updated_at": {
2904
+ "type": "string",
2905
+ "format": "date-time",
2906
+ "description": "The timestamp of when the value was last updated",
2907
+ "x-faker": "date.past"
2908
+ },
2909
+ "updated_by": {
2910
+ "type": "object",
2911
+ "properties": {
2912
+ "id": {
2913
+ "type": "string",
2914
+ "description": "The user's unique identifier",
2915
+ "x-faker": "datatype.number"
2916
+ },
2917
+ "full_name": {
2918
+ "type": "string",
2919
+ "description": "The user's full name (first and last)",
2920
+ "x-faker": "name.findName"
2921
+ },
2922
+ "email": {
2923
+ "type": "string",
2924
+ "description": "The user's email address",
2925
+ "x-faker": "internet.email"
2926
+ },
2927
+ "avatar_url": {
2928
+ "type": "string",
2929
+ "description": "A URL pointing to the user's avatar",
2930
+ "x-faker": "internet.avatar"
2931
+ }
2932
+ }
2933
+ }
2934
+ },
2935
+ "description": "Environment variable model definition"
2936
+ }
2937
+ }
2938
+ },
2939
+ "default": {
2940
+ "description": "error",
2941
+ "schema": {
2942
+ "type": "object",
2943
+ "required": [
2944
+ "message"
2945
+ ],
2946
+ "properties": {
2947
+ "code": {
2948
+ "type": "integer",
2949
+ "format": "int64"
2950
+ },
2951
+ "message": {
2952
+ "type": "string",
2953
+ "x-nullable": false
2954
+ }
2955
+ }
2956
+ }
2957
+ }
2958
+ },
2959
+ "description": "Returns all environment variables for a site. This convenience method behaves the same as `getEnvVars` but doesn't require an `account_id` as input."
2960
+ }
2961
+ },
2992
2962
  "/accounts/{account_id}/env/{key}": {
2993
2963
  "get": {
2994
2964
  "tags": [
@@ -3588,45 +3558,122 @@
3588
3558
  "description": "Deletes an environment variable. To use this endpoint, your site must no longer be using the <a href=\"https://docs.netlify.com/environment-variables/classic-experience/\">classic environment variables experience</a>. Migrate now with the Netlify UI."
3589
3559
  }
3590
3560
  },
3591
- "/accounts/{account_id}/env/{key}/value/{id}": {
3592
- "delete": {
3561
+ "/accounts/{account_id}/env/{key}/value/{id}": {
3562
+ "delete": {
3563
+ "tags": [
3564
+ "environmentVariables"
3565
+ ],
3566
+ "operationId": "deleteEnvVarValue",
3567
+ "parameters": [
3568
+ {
3569
+ "name": "account_id",
3570
+ "description": "Scope response to account_id",
3571
+ "required": true,
3572
+ "in": "path",
3573
+ "type": "string"
3574
+ },
3575
+ {
3576
+ "name": "id",
3577
+ "description": "The environment variable value's ID",
3578
+ "type": "string",
3579
+ "required": true,
3580
+ "in": "path"
3581
+ },
3582
+ {
3583
+ "name": "key",
3584
+ "description": "The environment variable key name (case-sensitive)",
3585
+ "type": "string",
3586
+ "required": true,
3587
+ "in": "path"
3588
+ },
3589
+ {
3590
+ "name": "site_id",
3591
+ "description": "If provided, delete the value from an environment variable on this site",
3592
+ "type": "string",
3593
+ "required": false,
3594
+ "in": "query"
3595
+ }
3596
+ ],
3597
+ "responses": {
3598
+ "204": {
3599
+ "description": "No Content (success)"
3600
+ },
3601
+ "default": {
3602
+ "description": "error",
3603
+ "schema": {
3604
+ "type": "object",
3605
+ "required": [
3606
+ "message"
3607
+ ],
3608
+ "properties": {
3609
+ "code": {
3610
+ "type": "integer",
3611
+ "format": "int64"
3612
+ },
3613
+ "message": {
3614
+ "type": "string",
3615
+ "x-nullable": false
3616
+ }
3617
+ }
3618
+ }
3619
+ }
3620
+ },
3621
+ "description": "Deletes a specific environment variable value. To use this endpoint, your site must no longer be using the <a href=\"https://docs.netlify.com/environment-variables/classic-experience/\">classic environment variables experience</a>. Migrate now with the Netlify UI."
3622
+ }
3623
+ },
3624
+ "/sites/{site_id}/functions": {
3625
+ "get": {
3626
+ "operationId": "searchSiteFunctions",
3593
3627
  "tags": [
3594
- "environmentVariables"
3628
+ "function"
3595
3629
  ],
3596
- "operationId": "deleteEnvVarValue",
3597
3630
  "parameters": [
3598
3631
  {
3599
- "name": "account_id",
3600
- "description": "Scope response to account_id",
3601
- "required": true,
3602
- "in": "path",
3603
- "type": "string"
3604
- },
3605
- {
3606
- "name": "id",
3607
- "description": "The environment variable value's ID",
3608
- "type": "string",
3609
- "required": true,
3610
- "in": "path"
3611
- },
3612
- {
3613
- "name": "key",
3614
- "description": "The environment variable key name (case-sensitive)",
3632
+ "name": "site_id",
3615
3633
  "type": "string",
3616
- "required": true,
3617
- "in": "path"
3634
+ "in": "path",
3635
+ "required": true
3618
3636
  },
3619
3637
  {
3620
- "name": "site_id",
3621
- "description": "If provided, delete the value from an environment variable on this site",
3638
+ "name": "filter",
3622
3639
  "type": "string",
3623
- "required": false,
3624
- "in": "query"
3640
+ "in": "query",
3641
+ "required": false
3625
3642
  }
3626
3643
  ],
3627
3644
  "responses": {
3628
- "204": {
3629
- "description": "No Content (success)"
3645
+ "200": {
3646
+ "description": "OK",
3647
+ "schema": {
3648
+ "type": "array",
3649
+ "items": {
3650
+ "type": "object",
3651
+ "properties": {
3652
+ "branch": {
3653
+ "type": "string"
3654
+ },
3655
+ "created_at": {
3656
+ "type": "string",
3657
+ "format": "dateTime"
3658
+ },
3659
+ "functions": {
3660
+ "type": "array",
3661
+ "items": {
3662
+ "type": "object"
3663
+ }
3664
+ },
3665
+ "id": {
3666
+ "type": "string"
3667
+ },
3668
+ "log_type": {
3669
+ "type": "string"
3670
+ },
3671
+ "provider": {
3672
+ "type": "string"
3673
+ }
3674
+ }
3675
+ }
3676
+ }
3630
3677
  },
3631
3678
  "default": {
3632
3679
  "description": "error",
@@ -3647,8 +3694,7 @@
3647
3694
  }
3648
3695
  }
3649
3696
  }
3650
- },
3651
- "description": "Deletes a specific environment variable value. To use this endpoint, your site must no longer be using the <a href=\"https://docs.netlify.com/environment-variables/classic-experience/\">classic environment variables experience</a>. Migrate now with the Netlify UI."
3697
+ }
3652
3698
  }
3653
3699
  },
3654
3700
  "/sites/{site_id}/forms": {
@@ -5531,6 +5577,9 @@
5531
5577
  "OPTIONS"
5532
5578
  ]
5533
5579
  }
5580
+ },
5581
+ "prefer_static": {
5582
+ "type": "boolean"
5534
5583
  }
5535
5584
  }
5536
5585
  }
@@ -5960,6 +6009,9 @@
5960
6009
  "OPTIONS"
5961
6010
  ]
5962
6011
  }
6012
+ },
6013
+ "prefer_static": {
6014
+ "type": "boolean"
5963
6015
  }
5964
6016
  }
5965
6017
  }
@@ -6963,39 +7015,6 @@
6963
7015
  "processing_settings": {
6964
7016
  "type": "object",
6965
7017
  "properties": {
6966
- "skip": {
6967
- "type": "boolean"
6968
- },
6969
- "css": {
6970
- "type": "object",
6971
- "properties": {
6972
- "bundle": {
6973
- "type": "boolean"
6974
- },
6975
- "minify": {
6976
- "type": "boolean"
6977
- }
6978
- }
6979
- },
6980
- "js": {
6981
- "type": "object",
6982
- "properties": {
6983
- "bundle": {
6984
- "type": "boolean"
6985
- },
6986
- "minify": {
6987
- "type": "boolean"
6988
- }
6989
- }
6990
- },
6991
- "images": {
6992
- "type": "object",
6993
- "properties": {
6994
- "optimize": {
6995
- "type": "boolean"
6996
- }
6997
- }
6998
- },
6999
7018
  "html": {
7000
7019
  "type": "object",
7001
7020
  "properties": {
@@ -9852,39 +9871,6 @@
9852
9871
  "processing_settings": {
9853
9872
  "type": "object",
9854
9873
  "properties": {
9855
- "skip": {
9856
- "type": "boolean"
9857
- },
9858
- "css": {
9859
- "type": "object",
9860
- "properties": {
9861
- "bundle": {
9862
- "type": "boolean"
9863
- },
9864
- "minify": {
9865
- "type": "boolean"
9866
- }
9867
- }
9868
- },
9869
- "js": {
9870
- "type": "object",
9871
- "properties": {
9872
- "bundle": {
9873
- "type": "boolean"
9874
- },
9875
- "minify": {
9876
- "type": "boolean"
9877
- }
9878
- }
9879
- },
9880
- "images": {
9881
- "type": "object",
9882
- "properties": {
9883
- "optimize": {
9884
- "type": "boolean"
9885
- }
9886
- }
9887
- },
9888
9874
  "html": {
9889
9875
  "type": "object",
9890
9876
  "properties": {
@@ -10269,39 +10255,6 @@
10269
10255
  "processing_settings": {
10270
10256
  "type": "object",
10271
10257
  "properties": {
10272
- "skip": {
10273
- "type": "boolean"
10274
- },
10275
- "css": {
10276
- "type": "object",
10277
- "properties": {
10278
- "bundle": {
10279
- "type": "boolean"
10280
- },
10281
- "minify": {
10282
- "type": "boolean"
10283
- }
10284
- }
10285
- },
10286
- "js": {
10287
- "type": "object",
10288
- "properties": {
10289
- "bundle": {
10290
- "type": "boolean"
10291
- },
10292
- "minify": {
10293
- "type": "boolean"
10294
- }
10295
- }
10296
- },
10297
- "images": {
10298
- "type": "object",
10299
- "properties": {
10300
- "optimize": {
10301
- "type": "boolean"
10302
- }
10303
- }
10304
- },
10305
10258
  "html": {
10306
10259
  "type": "object",
10307
10260
  "properties": {
@@ -10411,7 +10364,7 @@
10411
10364
  }
10412
10365
  }
10413
10366
  },
10414
- "description": "**Note:** Environment variable keys and values will soon be moved from `build_settings.env` and `repo.env` to a new endpoint. Please use [createEnvVars](#tag/environmentVariables/operation/createEnvVars) to create environment variables for a site."
10367
+ "description": "**Note:** Environment variable keys and values have moved from `build_settings.env` and `repo.env` to a new endpoint. Please use [createEnvVars](#tag/environmentVariables/operation/createEnvVars) to create environment variables for a site."
10415
10368
  },
10416
10369
  "get": {
10417
10370
  "operationId": "listSitesForAccount",
@@ -10668,39 +10621,6 @@
10668
10621
  "processing_settings": {
10669
10622
  "type": "object",
10670
10623
  "properties": {
10671
- "skip": {
10672
- "type": "boolean"
10673
- },
10674
- "css": {
10675
- "type": "object",
10676
- "properties": {
10677
- "bundle": {
10678
- "type": "boolean"
10679
- },
10680
- "minify": {
10681
- "type": "boolean"
10682
- }
10683
- }
10684
- },
10685
- "js": {
10686
- "type": "object",
10687
- "properties": {
10688
- "bundle": {
10689
- "type": "boolean"
10690
- },
10691
- "minify": {
10692
- "type": "boolean"
10693
- }
10694
- }
10695
- },
10696
- "images": {
10697
- "type": "object",
10698
- "properties": {
10699
- "optimize": {
10700
- "type": "boolean"
10701
- }
10702
- }
10703
- },
10704
10624
  "html": {
10705
10625
  "type": "object",
10706
10626
  "properties": {
@@ -10811,7 +10731,7 @@
10811
10731
  }
10812
10732
  }
10813
10733
  },
10814
- "description": "**Note:** Environment variable keys and values will soon be moved from `build_settings.env` and `repo.env` to a new endpoint. Please use [getEnvVars](#tag/environmentVariables/operation/getEnvVars) to retrieve site environment variables."
10734
+ "description": "**Note:** Environment variable keys and values have moved from `build_settings.env` and `repo.env` to a new endpoint. Please use [getEnvVars](#tag/environmentVariables/operation/getEnvVars) to retrieve site environment variables."
10815
10735
  }
10816
10736
  },
10817
10737
  "/{account_slug}/members": {
@@ -14577,39 +14497,6 @@
14577
14497
  "processing_settings": {
14578
14498
  "type": "object",
14579
14499
  "properties": {
14580
- "skip": {
14581
- "type": "boolean"
14582
- },
14583
- "css": {
14584
- "type": "object",
14585
- "properties": {
14586
- "bundle": {
14587
- "type": "boolean"
14588
- },
14589
- "minify": {
14590
- "type": "boolean"
14591
- }
14592
- }
14593
- },
14594
- "js": {
14595
- "type": "object",
14596
- "properties": {
14597
- "bundle": {
14598
- "type": "boolean"
14599
- },
14600
- "minify": {
14601
- "type": "boolean"
14602
- }
14603
- }
14604
- },
14605
- "images": {
14606
- "type": "object",
14607
- "properties": {
14608
- "optimize": {
14609
- "type": "boolean"
14610
- }
14611
- }
14612
- },
14613
14500
  "html": {
14614
14501
  "type": "object",
14615
14502
  "properties": {
@@ -14918,39 +14805,6 @@
14918
14805
  "processing_settings": {
14919
14806
  "type": "object",
14920
14807
  "properties": {
14921
- "skip": {
14922
- "type": "boolean"
14923
- },
14924
- "css": {
14925
- "type": "object",
14926
- "properties": {
14927
- "bundle": {
14928
- "type": "boolean"
14929
- },
14930
- "minify": {
14931
- "type": "boolean"
14932
- }
14933
- }
14934
- },
14935
- "js": {
14936
- "type": "object",
14937
- "properties": {
14938
- "bundle": {
14939
- "type": "boolean"
14940
- },
14941
- "minify": {
14942
- "type": "boolean"
14943
- }
14944
- }
14945
- },
14946
- "images": {
14947
- "type": "object",
14948
- "properties": {
14949
- "optimize": {
14950
- "type": "boolean"
14951
- }
14952
- }
14953
- },
14954
14808
  "html": {
14955
14809
  "type": "object",
14956
14810
  "properties": {
@@ -15710,6 +15564,9 @@
15710
15564
  "OPTIONS"
15711
15565
  ]
15712
15566
  }
15567
+ },
15568
+ "prefer_static": {
15569
+ "type": "boolean"
15713
15570
  }
15714
15571
  }
15715
15572
  }
@@ -16781,17 +16638,6 @@
16781
16638
  }
16782
16639
  }
16783
16640
  },
16784
- "minifyOptions": {
16785
- "type": "object",
16786
- "properties": {
16787
- "bundle": {
16788
- "type": "boolean"
16789
- },
16790
- "minify": {
16791
- "type": "boolean"
16792
- }
16793
- }
16794
- },
16795
16641
  "buildSetup": {
16796
16642
  "type": "object",
16797
16643
  "properties": {
@@ -16976,6 +16822,9 @@
16976
16822
  "OPTIONS"
16977
16823
  ]
16978
16824
  }
16825
+ },
16826
+ "prefer_static": {
16827
+ "type": "boolean"
16979
16828
  }
16980
16829
  }
16981
16830
  }
@@ -17007,6 +16856,36 @@
17007
16856
  "OPTIONS"
17008
16857
  ]
17009
16858
  }
16859
+ },
16860
+ "prefer_static": {
16861
+ "type": "boolean"
16862
+ }
16863
+ }
16864
+ },
16865
+ "siteFunction": {
16866
+ "type": "object",
16867
+ "properties": {
16868
+ "branch": {
16869
+ "type": "string"
16870
+ },
16871
+ "created_at": {
16872
+ "type": "string",
16873
+ "format": "dateTime"
16874
+ },
16875
+ "functions": {
16876
+ "type": "array",
16877
+ "items": {
16878
+ "type": "object"
16879
+ }
16880
+ },
16881
+ "id": {
16882
+ "type": "string"
16883
+ },
16884
+ "log_type": {
16885
+ "type": "string"
16886
+ },
16887
+ "provider": {
16888
+ "type": "string"
17010
16889
  }
17011
16890
  }
17012
16891
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@netlify/open-api",
3
3
  "description": "Netlify's open-api definition as a module",
4
- "version": "2.24.1",
4
+ "version": "2.26.0",
5
5
  "author": "Netlify",
6
6
  "ava": {
7
7
  "files": [