@netlify/open-api 2.57.1 → 2.58.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 +54 -0
- package/dist/swagger.json +275 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -449,6 +449,15 @@ export interface paths {
|
|
|
449
449
|
/** API Reference: {@link https://open-api.netlify.com/#tag/function/operation/uploadDeployFunction | `uploadDeployFunction`} */
|
|
450
450
|
put: operations["uploadDeployFunction"];
|
|
451
451
|
};
|
|
452
|
+
"/deploys/{deploy_id}/server/{code_sha}": {
|
|
453
|
+
/**
|
|
454
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/deploy/operation/uploadDeployServer | `uploadDeployServer`}
|
|
455
|
+
*
|
|
456
|
+
* Uploads the deploy's Netlify Server bundle, addressed by the digest the deploy
|
|
457
|
+
* declared in its `server` property.
|
|
458
|
+
*/
|
|
459
|
+
put: operations["uploadDeployServer"];
|
|
460
|
+
};
|
|
452
461
|
"/deploys/{deploy_id}/edge_functions/{code_sha}": {
|
|
453
462
|
/** API Reference: {@link https://open-api.netlify.com/#tag/edgeFunction/operation/uploadDeployEdgeFunction | `uploadDeployEdgeFunction`} */
|
|
454
463
|
put: operations["uploadDeployEdgeFunction"];
|
|
@@ -1691,6 +1700,12 @@ export interface components {
|
|
|
1691
1700
|
* complete the deploy.
|
|
1692
1701
|
*/
|
|
1693
1702
|
required_edge_functions?: string[];
|
|
1703
|
+
/**
|
|
1704
|
+
* @description The SHA256 digest of the deploy's Netlify Server bundle, when it still needs to
|
|
1705
|
+
* be uploaded to complete the deploy. A deploy has at most one server, so this
|
|
1706
|
+
* holds either nothing or a single digest.
|
|
1707
|
+
*/
|
|
1708
|
+
required_server?: string[];
|
|
1694
1709
|
error_message?: string;
|
|
1695
1710
|
branch?: string;
|
|
1696
1711
|
commit_ref?: string;
|
|
@@ -1751,6 +1766,19 @@ export interface components {
|
|
|
1751
1766
|
* response's required_edge_functions lists which of these still need to be uploaded.
|
|
1752
1767
|
*/
|
|
1753
1768
|
edge_functions?: { [key: string]: unknown };
|
|
1769
|
+
/**
|
|
1770
|
+
* @description The deploy's Netlify Server. A deploy has at most one. The response's
|
|
1771
|
+
* required_server says whether it still needs to be uploaded.
|
|
1772
|
+
*/
|
|
1773
|
+
server?: {
|
|
1774
|
+
/** @description The SHA256 digest of the server bundle. */
|
|
1775
|
+
sha: string;
|
|
1776
|
+
/**
|
|
1777
|
+
* @description Where the server runs. Defaults to the region configured at the site level
|
|
1778
|
+
* when absent.
|
|
1779
|
+
*/
|
|
1780
|
+
region?: string;
|
|
1781
|
+
};
|
|
1754
1782
|
function_schedules?: components["schemas"]["functionSchedule"][];
|
|
1755
1783
|
functions_config?: {
|
|
1756
1784
|
[key: string]: components["schemas"]["functionConfig"];
|
|
@@ -3844,6 +3872,32 @@ export interface operations {
|
|
|
3844
3872
|
};
|
|
3845
3873
|
requestBody: components["requestBodies"]["uploadDeployFileFileBody"];
|
|
3846
3874
|
};
|
|
3875
|
+
/**
|
|
3876
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/deploy/operation/uploadDeployServer | `uploadDeployServer`}
|
|
3877
|
+
*
|
|
3878
|
+
* Uploads the deploy's Netlify Server bundle, addressed by the digest the deploy
|
|
3879
|
+
* declared in its `server` property.
|
|
3880
|
+
*/
|
|
3881
|
+
uploadDeployServer: {
|
|
3882
|
+
parameters: {
|
|
3883
|
+
path: {
|
|
3884
|
+
deploy_id: string;
|
|
3885
|
+
code_sha: string;
|
|
3886
|
+
};
|
|
3887
|
+
query: {
|
|
3888
|
+
size?: number;
|
|
3889
|
+
};
|
|
3890
|
+
header: {
|
|
3891
|
+
"X-Nf-Retry-Count"?: components["parameters"]["retryCount"];
|
|
3892
|
+
};
|
|
3893
|
+
};
|
|
3894
|
+
responses: {
|
|
3895
|
+
/** OK */
|
|
3896
|
+
200: unknown;
|
|
3897
|
+
default: components["responses"]["error"];
|
|
3898
|
+
};
|
|
3899
|
+
requestBody: components["requestBodies"]["uploadDeployFileFileBody"];
|
|
3900
|
+
};
|
|
3847
3901
|
/** API Reference: {@link https://open-api.netlify.com/#tag/edgeFunction/operation/uploadDeployEdgeFunction | `uploadDeployEdgeFunction`} */
|
|
3848
3902
|
uploadDeployEdgeFunction: {
|
|
3849
3903
|
parameters: {
|
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.58.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/",
|
|
@@ -240,6 +240,13 @@
|
|
|
240
240
|
},
|
|
241
241
|
"description": "An array of code_shas for the edge-function bundles that need to be uploaded to\ncomplete the deploy.\n"
|
|
242
242
|
},
|
|
243
|
+
"required_server": {
|
|
244
|
+
"type": "array",
|
|
245
|
+
"items": {
|
|
246
|
+
"type": "string"
|
|
247
|
+
},
|
|
248
|
+
"description": "The SHA256 digest of the deploy's Netlify Server bundle, when it still needs to\nbe uploaded to complete the deploy. A deploy has at most one server, so this\nholds either nothing or a single digest.\n"
|
|
249
|
+
},
|
|
243
250
|
"error_message": {
|
|
244
251
|
"type": "string"
|
|
245
252
|
},
|
|
@@ -615,6 +622,13 @@
|
|
|
615
622
|
},
|
|
616
623
|
"description": "An array of code_shas for the edge-function bundles that need to be uploaded to\ncomplete the deploy.\n"
|
|
617
624
|
},
|
|
625
|
+
"required_server": {
|
|
626
|
+
"type": "array",
|
|
627
|
+
"items": {
|
|
628
|
+
"type": "string"
|
|
629
|
+
},
|
|
630
|
+
"description": "The SHA256 digest of the deploy's Netlify Server bundle, when it still needs to\nbe uploaded to complete the deploy. A deploy has at most one server, so this\nholds either nothing or a single digest.\n"
|
|
631
|
+
},
|
|
618
632
|
"error_message": {
|
|
619
633
|
"type": "string"
|
|
620
634
|
},
|
|
@@ -1028,6 +1042,13 @@
|
|
|
1028
1042
|
},
|
|
1029
1043
|
"description": "An array of code_shas for the edge-function bundles that need to be uploaded to\ncomplete the deploy.\n"
|
|
1030
1044
|
},
|
|
1045
|
+
"required_server": {
|
|
1046
|
+
"type": "array",
|
|
1047
|
+
"items": {
|
|
1048
|
+
"type": "string"
|
|
1049
|
+
},
|
|
1050
|
+
"description": "The SHA256 digest of the deploy's Netlify Server bundle, when it still needs to\nbe uploaded to complete the deploy. A deploy has at most one server, so this\nholds either nothing or a single digest.\n"
|
|
1051
|
+
},
|
|
1031
1052
|
"error_message": {
|
|
1032
1053
|
"type": "string"
|
|
1033
1054
|
},
|
|
@@ -1414,6 +1435,13 @@
|
|
|
1414
1435
|
},
|
|
1415
1436
|
"description": "An array of code_shas for the edge-function bundles that need to be uploaded to\ncomplete the deploy.\n"
|
|
1416
1437
|
},
|
|
1438
|
+
"required_server": {
|
|
1439
|
+
"type": "array",
|
|
1440
|
+
"items": {
|
|
1441
|
+
"type": "string"
|
|
1442
|
+
},
|
|
1443
|
+
"description": "The SHA256 digest of the deploy's Netlify Server bundle, when it still needs to\nbe uploaded to complete the deploy. A deploy has at most one server, so this\nholds either nothing or a single digest.\n"
|
|
1444
|
+
},
|
|
1417
1445
|
"error_message": {
|
|
1418
1446
|
"type": "string"
|
|
1419
1447
|
},
|
|
@@ -1788,6 +1816,13 @@
|
|
|
1788
1816
|
},
|
|
1789
1817
|
"description": "An array of code_shas for the edge-function bundles that need to be uploaded to\ncomplete the deploy.\n"
|
|
1790
1818
|
},
|
|
1819
|
+
"required_server": {
|
|
1820
|
+
"type": "array",
|
|
1821
|
+
"items": {
|
|
1822
|
+
"type": "string"
|
|
1823
|
+
},
|
|
1824
|
+
"description": "The SHA256 digest of the deploy's Netlify Server bundle, when it still needs to\nbe uploaded to complete the deploy. A deploy has at most one server, so this\nholds either nothing or a single digest.\n"
|
|
1825
|
+
},
|
|
1791
1826
|
"error_message": {
|
|
1792
1827
|
"type": "string"
|
|
1793
1828
|
},
|
|
@@ -2196,6 +2231,13 @@
|
|
|
2196
2231
|
},
|
|
2197
2232
|
"description": "An array of code_shas for the edge-function bundles that need to be uploaded to\ncomplete the deploy.\n"
|
|
2198
2233
|
},
|
|
2234
|
+
"required_server": {
|
|
2235
|
+
"type": "array",
|
|
2236
|
+
"items": {
|
|
2237
|
+
"type": "string"
|
|
2238
|
+
},
|
|
2239
|
+
"description": "The SHA256 digest of the deploy's Netlify Server bundle, when it still needs to\nbe uploaded to complete the deploy. A deploy has at most one server, so this\nholds either nothing or a single digest.\n"
|
|
2240
|
+
},
|
|
2199
2241
|
"error_message": {
|
|
2200
2242
|
"type": "string"
|
|
2201
2243
|
},
|
|
@@ -5683,6 +5725,13 @@
|
|
|
5683
5725
|
},
|
|
5684
5726
|
"description": "An array of code_shas for the edge-function bundles that need to be uploaded to\ncomplete the deploy.\n"
|
|
5685
5727
|
},
|
|
5728
|
+
"required_server": {
|
|
5729
|
+
"type": "array",
|
|
5730
|
+
"items": {
|
|
5731
|
+
"type": "string"
|
|
5732
|
+
},
|
|
5733
|
+
"description": "The SHA256 digest of the deploy's Netlify Server bundle, when it still needs to\nbe uploaded to complete the deploy. A deploy has at most one server, so this\nholds either nothing or a single digest.\n"
|
|
5734
|
+
},
|
|
5686
5735
|
"error_message": {
|
|
5687
5736
|
"type": "string"
|
|
5688
5737
|
},
|
|
@@ -5826,6 +5875,23 @@
|
|
|
5826
5875
|
"type": "object",
|
|
5827
5876
|
"description": "A hash mapping edge-function bundle formats to the code_sha of each bundle. The\nresponse's required_edge_functions lists which of these still need to be uploaded.\n"
|
|
5828
5877
|
},
|
|
5878
|
+
"server": {
|
|
5879
|
+
"type": "object",
|
|
5880
|
+
"description": "The deploy's Netlify Server. A deploy has at most one. The response's\nrequired_server says whether it still needs to be uploaded.\n",
|
|
5881
|
+
"required": [
|
|
5882
|
+
"sha"
|
|
5883
|
+
],
|
|
5884
|
+
"properties": {
|
|
5885
|
+
"sha": {
|
|
5886
|
+
"type": "string",
|
|
5887
|
+
"description": "The SHA256 digest of the server bundle."
|
|
5888
|
+
},
|
|
5889
|
+
"region": {
|
|
5890
|
+
"type": "string",
|
|
5891
|
+
"description": "Where the server runs. Defaults to the region configured at the site level\nwhen absent.\n"
|
|
5892
|
+
}
|
|
5893
|
+
}
|
|
5894
|
+
},
|
|
5829
5895
|
"function_schedules": {
|
|
5830
5896
|
"type": "array",
|
|
5831
5897
|
"items": {
|
|
@@ -6104,6 +6170,13 @@
|
|
|
6104
6170
|
},
|
|
6105
6171
|
"description": "An array of code_shas for the edge-function bundles that need to be uploaded to\ncomplete the deploy.\n"
|
|
6106
6172
|
},
|
|
6173
|
+
"required_server": {
|
|
6174
|
+
"type": "array",
|
|
6175
|
+
"items": {
|
|
6176
|
+
"type": "string"
|
|
6177
|
+
},
|
|
6178
|
+
"description": "The SHA256 digest of the deploy's Netlify Server bundle, when it still needs to\nbe uploaded to complete the deploy. A deploy has at most one server, so this\nholds either nothing or a single digest.\n"
|
|
6179
|
+
},
|
|
6107
6180
|
"error_message": {
|
|
6108
6181
|
"type": "string"
|
|
6109
6182
|
},
|
|
@@ -6294,6 +6367,13 @@
|
|
|
6294
6367
|
},
|
|
6295
6368
|
"description": "An array of code_shas for the edge-function bundles that need to be uploaded to\ncomplete the deploy.\n"
|
|
6296
6369
|
},
|
|
6370
|
+
"required_server": {
|
|
6371
|
+
"type": "array",
|
|
6372
|
+
"items": {
|
|
6373
|
+
"type": "string"
|
|
6374
|
+
},
|
|
6375
|
+
"description": "The SHA256 digest of the deploy's Netlify Server bundle, when it still needs to\nbe uploaded to complete the deploy. A deploy has at most one server, so this\nholds either nothing or a single digest.\n"
|
|
6376
|
+
},
|
|
6297
6377
|
"error_message": {
|
|
6298
6378
|
"type": "string"
|
|
6299
6379
|
},
|
|
@@ -6448,6 +6528,23 @@
|
|
|
6448
6528
|
"type": "object",
|
|
6449
6529
|
"description": "A hash mapping edge-function bundle formats to the code_sha of each bundle. The\nresponse's required_edge_functions lists which of these still need to be uploaded.\n"
|
|
6450
6530
|
},
|
|
6531
|
+
"server": {
|
|
6532
|
+
"type": "object",
|
|
6533
|
+
"description": "The deploy's Netlify Server. A deploy has at most one. The response's\nrequired_server says whether it still needs to be uploaded.\n",
|
|
6534
|
+
"required": [
|
|
6535
|
+
"sha"
|
|
6536
|
+
],
|
|
6537
|
+
"properties": {
|
|
6538
|
+
"sha": {
|
|
6539
|
+
"type": "string",
|
|
6540
|
+
"description": "The SHA256 digest of the server bundle."
|
|
6541
|
+
},
|
|
6542
|
+
"region": {
|
|
6543
|
+
"type": "string",
|
|
6544
|
+
"description": "Where the server runs. Defaults to the region configured at the site level\nwhen absent.\n"
|
|
6545
|
+
}
|
|
6546
|
+
}
|
|
6547
|
+
},
|
|
6451
6548
|
"function_schedules": {
|
|
6452
6549
|
"type": "array",
|
|
6453
6550
|
"items": {
|
|
@@ -6726,6 +6823,13 @@
|
|
|
6726
6823
|
},
|
|
6727
6824
|
"description": "An array of code_shas for the edge-function bundles that need to be uploaded to\ncomplete the deploy.\n"
|
|
6728
6825
|
},
|
|
6826
|
+
"required_server": {
|
|
6827
|
+
"type": "array",
|
|
6828
|
+
"items": {
|
|
6829
|
+
"type": "string"
|
|
6830
|
+
},
|
|
6831
|
+
"description": "The SHA256 digest of the deploy's Netlify Server bundle, when it still needs to\nbe uploaded to complete the deploy. A deploy has at most one server, so this\nholds either nothing or a single digest.\n"
|
|
6832
|
+
},
|
|
6729
6833
|
"error_message": {
|
|
6730
6834
|
"type": "string"
|
|
6731
6835
|
},
|
|
@@ -6954,6 +7058,13 @@
|
|
|
6954
7058
|
},
|
|
6955
7059
|
"description": "An array of code_shas for the edge-function bundles that need to be uploaded to\ncomplete the deploy.\n"
|
|
6956
7060
|
},
|
|
7061
|
+
"required_server": {
|
|
7062
|
+
"type": "array",
|
|
7063
|
+
"items": {
|
|
7064
|
+
"type": "string"
|
|
7065
|
+
},
|
|
7066
|
+
"description": "The SHA256 digest of the deploy's Netlify Server bundle, when it still needs to\nbe uploaded to complete the deploy. A deploy has at most one server, so this\nholds either nothing or a single digest.\n"
|
|
7067
|
+
},
|
|
6957
7068
|
"error_message": {
|
|
6958
7069
|
"type": "string"
|
|
6959
7070
|
},
|
|
@@ -7144,6 +7255,13 @@
|
|
|
7144
7255
|
},
|
|
7145
7256
|
"description": "An array of code_shas for the edge-function bundles that need to be uploaded to\ncomplete the deploy.\n"
|
|
7146
7257
|
},
|
|
7258
|
+
"required_server": {
|
|
7259
|
+
"type": "array",
|
|
7260
|
+
"items": {
|
|
7261
|
+
"type": "string"
|
|
7262
|
+
},
|
|
7263
|
+
"description": "The SHA256 digest of the deploy's Netlify Server bundle, when it still needs to\nbe uploaded to complete the deploy. A deploy has at most one server, so this\nholds either nothing or a single digest.\n"
|
|
7264
|
+
},
|
|
7147
7265
|
"error_message": {
|
|
7148
7266
|
"type": "string"
|
|
7149
7267
|
},
|
|
@@ -7663,6 +7781,13 @@
|
|
|
7663
7781
|
},
|
|
7664
7782
|
"description": "An array of code_shas for the edge-function bundles that need to be uploaded to\ncomplete the deploy.\n"
|
|
7665
7783
|
},
|
|
7784
|
+
"required_server": {
|
|
7785
|
+
"type": "array",
|
|
7786
|
+
"items": {
|
|
7787
|
+
"type": "string"
|
|
7788
|
+
},
|
|
7789
|
+
"description": "The SHA256 digest of the deploy's Netlify Server bundle, when it still needs to\nbe uploaded to complete the deploy. A deploy has at most one server, so this\nholds either nothing or a single digest.\n"
|
|
7790
|
+
},
|
|
7666
7791
|
"error_message": {
|
|
7667
7792
|
"type": "string"
|
|
7668
7793
|
},
|
|
@@ -8664,6 +8789,13 @@
|
|
|
8664
8789
|
},
|
|
8665
8790
|
"description": "An array of code_shas for the edge-function bundles that need to be uploaded to\ncomplete the deploy.\n"
|
|
8666
8791
|
},
|
|
8792
|
+
"required_server": {
|
|
8793
|
+
"type": "array",
|
|
8794
|
+
"items": {
|
|
8795
|
+
"type": "string"
|
|
8796
|
+
},
|
|
8797
|
+
"description": "The SHA256 digest of the deploy's Netlify Server bundle, when it still needs to\nbe uploaded to complete the deploy. A deploy has at most one server, so this\nholds either nothing or a single digest.\n"
|
|
8798
|
+
},
|
|
8667
8799
|
"error_message": {
|
|
8668
8800
|
"type": "string"
|
|
8669
8801
|
},
|
|
@@ -8954,6 +9086,13 @@
|
|
|
8954
9086
|
},
|
|
8955
9087
|
"description": "An array of code_shas for the edge-function bundles that need to be uploaded to\ncomplete the deploy.\n"
|
|
8956
9088
|
},
|
|
9089
|
+
"required_server": {
|
|
9090
|
+
"type": "array",
|
|
9091
|
+
"items": {
|
|
9092
|
+
"type": "string"
|
|
9093
|
+
},
|
|
9094
|
+
"description": "The SHA256 digest of the deploy's Netlify Server bundle, when it still needs to\nbe uploaded to complete the deploy. A deploy has at most one server, so this\nholds either nothing or a single digest.\n"
|
|
9095
|
+
},
|
|
8957
9096
|
"error_message": {
|
|
8958
9097
|
"type": "string"
|
|
8959
9098
|
},
|
|
@@ -9138,6 +9277,13 @@
|
|
|
9138
9277
|
},
|
|
9139
9278
|
"description": "An array of code_shas for the edge-function bundles that need to be uploaded to\ncomplete the deploy.\n"
|
|
9140
9279
|
},
|
|
9280
|
+
"required_server": {
|
|
9281
|
+
"type": "array",
|
|
9282
|
+
"items": {
|
|
9283
|
+
"type": "string"
|
|
9284
|
+
},
|
|
9285
|
+
"description": "The SHA256 digest of the deploy's Netlify Server bundle, when it still needs to\nbe uploaded to complete the deploy. A deploy has at most one server, so this\nholds either nothing or a single digest.\n"
|
|
9286
|
+
},
|
|
9141
9287
|
"error_message": {
|
|
9142
9288
|
"type": "string"
|
|
9143
9289
|
},
|
|
@@ -9425,6 +9571,75 @@
|
|
|
9425
9571
|
}
|
|
9426
9572
|
}
|
|
9427
9573
|
},
|
|
9574
|
+
"/deploys/{deploy_id}/server/{code_sha}": {
|
|
9575
|
+
"put": {
|
|
9576
|
+
"operationId": "uploadDeployServer",
|
|
9577
|
+
"tags": [
|
|
9578
|
+
"deploy"
|
|
9579
|
+
],
|
|
9580
|
+
"consumes": [
|
|
9581
|
+
"application/octet-stream"
|
|
9582
|
+
],
|
|
9583
|
+
"description": "Uploads the deploy's Netlify Server bundle, addressed by the digest the deploy\ndeclared in its `server` property.\n",
|
|
9584
|
+
"parameters": [
|
|
9585
|
+
{
|
|
9586
|
+
"name": "deploy_id",
|
|
9587
|
+
"type": "string",
|
|
9588
|
+
"in": "path",
|
|
9589
|
+
"required": true
|
|
9590
|
+
},
|
|
9591
|
+
{
|
|
9592
|
+
"name": "code_sha",
|
|
9593
|
+
"type": "string",
|
|
9594
|
+
"in": "path",
|
|
9595
|
+
"required": true
|
|
9596
|
+
},
|
|
9597
|
+
{
|
|
9598
|
+
"name": "size",
|
|
9599
|
+
"type": "integer",
|
|
9600
|
+
"in": "query"
|
|
9601
|
+
},
|
|
9602
|
+
{
|
|
9603
|
+
"name": "file_body",
|
|
9604
|
+
"in": "body",
|
|
9605
|
+
"schema": {
|
|
9606
|
+
"type": "string",
|
|
9607
|
+
"format": "binary"
|
|
9608
|
+
},
|
|
9609
|
+
"required": true
|
|
9610
|
+
},
|
|
9611
|
+
{
|
|
9612
|
+
"name": "X-Nf-Retry-Count",
|
|
9613
|
+
"type": "integer",
|
|
9614
|
+
"in": "header"
|
|
9615
|
+
}
|
|
9616
|
+
],
|
|
9617
|
+
"responses": {
|
|
9618
|
+
"200": {
|
|
9619
|
+
"description": "OK"
|
|
9620
|
+
},
|
|
9621
|
+
"default": {
|
|
9622
|
+
"description": "error",
|
|
9623
|
+
"schema": {
|
|
9624
|
+
"type": "object",
|
|
9625
|
+
"required": [
|
|
9626
|
+
"message"
|
|
9627
|
+
],
|
|
9628
|
+
"properties": {
|
|
9629
|
+
"code": {
|
|
9630
|
+
"type": "integer",
|
|
9631
|
+
"format": "int64"
|
|
9632
|
+
},
|
|
9633
|
+
"message": {
|
|
9634
|
+
"type": "string",
|
|
9635
|
+
"x-nullable": false
|
|
9636
|
+
}
|
|
9637
|
+
}
|
|
9638
|
+
}
|
|
9639
|
+
}
|
|
9640
|
+
}
|
|
9641
|
+
}
|
|
9642
|
+
},
|
|
9428
9643
|
"/deploys/{deploy_id}/edge_functions/{code_sha}": {
|
|
9429
9644
|
"put": {
|
|
9430
9645
|
"operationId": "uploadDeployEdgeFunction",
|
|
@@ -10918,6 +11133,13 @@
|
|
|
10918
11133
|
},
|
|
10919
11134
|
"description": "An array of code_shas for the edge-function bundles that need to be uploaded to\ncomplete the deploy.\n"
|
|
10920
11135
|
},
|
|
11136
|
+
"required_server": {
|
|
11137
|
+
"type": "array",
|
|
11138
|
+
"items": {
|
|
11139
|
+
"type": "string"
|
|
11140
|
+
},
|
|
11141
|
+
"description": "The SHA256 digest of the deploy's Netlify Server bundle, when it still needs to\nbe uploaded to complete the deploy. A deploy has at most one server, so this\nholds either nothing or a single digest.\n"
|
|
11142
|
+
},
|
|
10921
11143
|
"error_message": {
|
|
10922
11144
|
"type": "string"
|
|
10923
11145
|
},
|
|
@@ -11336,6 +11558,13 @@
|
|
|
11336
11558
|
},
|
|
11337
11559
|
"description": "An array of code_shas for the edge-function bundles that need to be uploaded to\ncomplete the deploy.\n"
|
|
11338
11560
|
},
|
|
11561
|
+
"required_server": {
|
|
11562
|
+
"type": "array",
|
|
11563
|
+
"items": {
|
|
11564
|
+
"type": "string"
|
|
11565
|
+
},
|
|
11566
|
+
"description": "The SHA256 digest of the deploy's Netlify Server bundle, when it still needs to\nbe uploaded to complete the deploy. A deploy has at most one server, so this\nholds either nothing or a single digest.\n"
|
|
11567
|
+
},
|
|
11339
11568
|
"error_message": {
|
|
11340
11569
|
"type": "string"
|
|
11341
11570
|
},
|
|
@@ -11733,6 +11962,13 @@
|
|
|
11733
11962
|
},
|
|
11734
11963
|
"description": "An array of code_shas for the edge-function bundles that need to be uploaded to\ncomplete the deploy.\n"
|
|
11735
11964
|
},
|
|
11965
|
+
"required_server": {
|
|
11966
|
+
"type": "array",
|
|
11967
|
+
"items": {
|
|
11968
|
+
"type": "string"
|
|
11969
|
+
},
|
|
11970
|
+
"description": "The SHA256 digest of the deploy's Netlify Server bundle, when it still needs to\nbe uploaded to complete the deploy. A deploy has at most one server, so this\nholds either nothing or a single digest.\n"
|
|
11971
|
+
},
|
|
11736
11972
|
"error_message": {
|
|
11737
11973
|
"type": "string"
|
|
11738
11974
|
},
|
|
@@ -20738,6 +20974,13 @@
|
|
|
20738
20974
|
},
|
|
20739
20975
|
"description": "An array of code_shas for the edge-function bundles that need to be uploaded to\ncomplete the deploy.\n"
|
|
20740
20976
|
},
|
|
20977
|
+
"required_server": {
|
|
20978
|
+
"type": "array",
|
|
20979
|
+
"items": {
|
|
20980
|
+
"type": "string"
|
|
20981
|
+
},
|
|
20982
|
+
"description": "The SHA256 digest of the deploy's Netlify Server bundle, when it still needs to\nbe uploaded to complete the deploy. A deploy has at most one server, so this\nholds either nothing or a single digest.\n"
|
|
20983
|
+
},
|
|
20741
20984
|
"error_message": {
|
|
20742
20985
|
"type": "string"
|
|
20743
20986
|
},
|
|
@@ -21077,6 +21320,13 @@
|
|
|
21077
21320
|
},
|
|
21078
21321
|
"description": "An array of code_shas for the edge-function bundles that need to be uploaded to\ncomplete the deploy.\n"
|
|
21079
21322
|
},
|
|
21323
|
+
"required_server": {
|
|
21324
|
+
"type": "array",
|
|
21325
|
+
"items": {
|
|
21326
|
+
"type": "string"
|
|
21327
|
+
},
|
|
21328
|
+
"description": "The SHA256 digest of the deploy's Netlify Server bundle, when it still needs to\nbe uploaded to complete the deploy. A deploy has at most one server, so this\nholds either nothing or a single digest.\n"
|
|
21329
|
+
},
|
|
21080
21330
|
"error_message": {
|
|
21081
21331
|
"type": "string"
|
|
21082
21332
|
},
|
|
@@ -21829,6 +22079,13 @@
|
|
|
21829
22079
|
},
|
|
21830
22080
|
"description": "An array of code_shas for the edge-function bundles that need to be uploaded to\ncomplete the deploy.\n"
|
|
21831
22081
|
},
|
|
22082
|
+
"required_server": {
|
|
22083
|
+
"type": "array",
|
|
22084
|
+
"items": {
|
|
22085
|
+
"type": "string"
|
|
22086
|
+
},
|
|
22087
|
+
"description": "The SHA256 digest of the deploy's Netlify Server bundle, when it still needs to\nbe uploaded to complete the deploy. A deploy has at most one server, so this\nholds either nothing or a single digest.\n"
|
|
22088
|
+
},
|
|
21832
22089
|
"error_message": {
|
|
21833
22090
|
"type": "string"
|
|
21834
22091
|
},
|
|
@@ -21967,6 +22224,23 @@
|
|
|
21967
22224
|
"type": "object",
|
|
21968
22225
|
"description": "A hash mapping edge-function bundle formats to the code_sha of each bundle. The\nresponse's required_edge_functions lists which of these still need to be uploaded.\n"
|
|
21969
22226
|
},
|
|
22227
|
+
"server": {
|
|
22228
|
+
"type": "object",
|
|
22229
|
+
"description": "The deploy's Netlify Server. A deploy has at most one. The response's\nrequired_server says whether it still needs to be uploaded.\n",
|
|
22230
|
+
"required": [
|
|
22231
|
+
"sha"
|
|
22232
|
+
],
|
|
22233
|
+
"properties": {
|
|
22234
|
+
"sha": {
|
|
22235
|
+
"type": "string",
|
|
22236
|
+
"description": "The SHA256 digest of the server bundle."
|
|
22237
|
+
},
|
|
22238
|
+
"region": {
|
|
22239
|
+
"type": "string",
|
|
22240
|
+
"description": "Where the server runs. Defaults to the region configured at the site level\nwhen absent.\n"
|
|
22241
|
+
}
|
|
22242
|
+
}
|
|
22243
|
+
},
|
|
21970
22244
|
"function_schedules": {
|
|
21971
22245
|
"type": "array",
|
|
21972
22246
|
"items": {
|