@netlify/open-api 2.54.0 → 2.55.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 +8 -0
- package/dist/swagger.json +37 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2156,11 +2156,19 @@ export interface components {
|
|
|
2156
2156
|
display_name?: string;
|
|
2157
2157
|
generator?: string;
|
|
2158
2158
|
build_data?: { [key: string]: unknown };
|
|
2159
|
+
/** @description The function's memory allocation in MB. Mutually exclusive with `vcpu`. */
|
|
2160
|
+
memory?: number;
|
|
2159
2161
|
routes?: components["schemas"]["functionRoute"][];
|
|
2160
2162
|
excluded_routes?: components["schemas"]["excludedFunctionRoute"][];
|
|
2161
2163
|
priority?: number;
|
|
2162
2164
|
region?: string;
|
|
2163
2165
|
traffic_rules?: components["schemas"]["trafficRulesConfig"];
|
|
2166
|
+
/**
|
|
2167
|
+
* Format: float
|
|
2168
|
+
* @description Number of vCPUs to provision for the function. Allowed range is
|
|
2169
|
+
* 0.5–2.
|
|
2170
|
+
*/
|
|
2171
|
+
vcpu?: number;
|
|
2164
2172
|
event_subscriptions?: string[];
|
|
2165
2173
|
};
|
|
2166
2174
|
functionRoute: {
|
package/dist/swagger.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"swagger": "2.0",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.55.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/",
|
|
@@ -5801,6 +5801,10 @@
|
|
|
5801
5801
|
"build_data": {
|
|
5802
5802
|
"type": "object"
|
|
5803
5803
|
},
|
|
5804
|
+
"memory": {
|
|
5805
|
+
"type": "integer",
|
|
5806
|
+
"description": "The function's memory allocation in MB. Mutually exclusive with `vcpu`.\n"
|
|
5807
|
+
},
|
|
5804
5808
|
"routes": {
|
|
5805
5809
|
"type": "array",
|
|
5806
5810
|
"items": {
|
|
@@ -5916,6 +5920,11 @@
|
|
|
5916
5920
|
}
|
|
5917
5921
|
}
|
|
5918
5922
|
},
|
|
5923
|
+
"vcpu": {
|
|
5924
|
+
"type": "number",
|
|
5925
|
+
"format": "float",
|
|
5926
|
+
"description": "Number of vCPUs to provision for the function. Allowed range is\n0.5–2.\n"
|
|
5927
|
+
},
|
|
5919
5928
|
"event_subscriptions": {
|
|
5920
5929
|
"type": "array",
|
|
5921
5930
|
"items": {
|
|
@@ -6396,6 +6405,10 @@
|
|
|
6396
6405
|
"build_data": {
|
|
6397
6406
|
"type": "object"
|
|
6398
6407
|
},
|
|
6408
|
+
"memory": {
|
|
6409
|
+
"type": "integer",
|
|
6410
|
+
"description": "The function's memory allocation in MB. Mutually exclusive with `vcpu`.\n"
|
|
6411
|
+
},
|
|
6399
6412
|
"routes": {
|
|
6400
6413
|
"type": "array",
|
|
6401
6414
|
"items": {
|
|
@@ -6511,6 +6524,11 @@
|
|
|
6511
6524
|
}
|
|
6512
6525
|
}
|
|
6513
6526
|
},
|
|
6527
|
+
"vcpu": {
|
|
6528
|
+
"type": "number",
|
|
6529
|
+
"format": "float",
|
|
6530
|
+
"description": "Number of vCPUs to provision for the function. Allowed range is\n0.5–2.\n"
|
|
6531
|
+
},
|
|
6514
6532
|
"event_subscriptions": {
|
|
6515
6533
|
"type": "array",
|
|
6516
6534
|
"items": {
|
|
@@ -21400,6 +21418,10 @@
|
|
|
21400
21418
|
"build_data": {
|
|
21401
21419
|
"type": "object"
|
|
21402
21420
|
},
|
|
21421
|
+
"memory": {
|
|
21422
|
+
"type": "integer",
|
|
21423
|
+
"description": "The function's memory allocation in MB. Mutually exclusive with `vcpu`.\n"
|
|
21424
|
+
},
|
|
21403
21425
|
"routes": {
|
|
21404
21426
|
"type": "array",
|
|
21405
21427
|
"items": {
|
|
@@ -21515,6 +21537,11 @@
|
|
|
21515
21537
|
}
|
|
21516
21538
|
}
|
|
21517
21539
|
},
|
|
21540
|
+
"vcpu": {
|
|
21541
|
+
"type": "number",
|
|
21542
|
+
"format": "float",
|
|
21543
|
+
"description": "Number of vCPUs to provision for the function. Allowed range is\n0.5–2.\n"
|
|
21544
|
+
},
|
|
21518
21545
|
"event_subscriptions": {
|
|
21519
21546
|
"type": "array",
|
|
21520
21547
|
"items": {
|
|
@@ -23039,6 +23066,10 @@
|
|
|
23039
23066
|
"build_data": {
|
|
23040
23067
|
"type": "object"
|
|
23041
23068
|
},
|
|
23069
|
+
"memory": {
|
|
23070
|
+
"type": "integer",
|
|
23071
|
+
"description": "The function's memory allocation in MB. Mutually exclusive with `vcpu`.\n"
|
|
23072
|
+
},
|
|
23042
23073
|
"routes": {
|
|
23043
23074
|
"type": "array",
|
|
23044
23075
|
"items": {
|
|
@@ -23154,6 +23185,11 @@
|
|
|
23154
23185
|
}
|
|
23155
23186
|
}
|
|
23156
23187
|
},
|
|
23188
|
+
"vcpu": {
|
|
23189
|
+
"type": "number",
|
|
23190
|
+
"format": "float",
|
|
23191
|
+
"description": "Number of vCPUs to provision for the function. Allowed range is\n0.5–2.\n"
|
|
23192
|
+
},
|
|
23157
23193
|
"event_subscriptions": {
|
|
23158
23194
|
"type": "array",
|
|
23159
23195
|
"items": {
|