@netlify/open-api 2.47.0 → 2.49.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 +25 -0
- package/dist/swagger.json +137 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1317,6 +1317,12 @@ export interface components {
|
|
|
1317
1317
|
skew_protection_token?: string;
|
|
1318
1318
|
function_schedules?: components["schemas"]["functionSchedule"][];
|
|
1319
1319
|
};
|
|
1320
|
+
deployEnvironmentVariable: {
|
|
1321
|
+
key: string;
|
|
1322
|
+
value: string;
|
|
1323
|
+
is_secret?: boolean;
|
|
1324
|
+
scopes: ("builds" | "functions" | "runtime" | "post-processing")[];
|
|
1325
|
+
};
|
|
1320
1326
|
/**
|
|
1321
1327
|
* @description Deploy files can be provided in two ways:
|
|
1322
1328
|
* 1. As a JSON object using 'files' (a hash mapping file paths to SHA1 digests), OR
|
|
@@ -1344,6 +1350,25 @@ export interface components {
|
|
|
1344
1350
|
branch?: string;
|
|
1345
1351
|
framework?: string;
|
|
1346
1352
|
framework_version?: string;
|
|
1353
|
+
/**
|
|
1354
|
+
* @description A list of deploy-specific environment variable data. Data specified this way applies only
|
|
1355
|
+
* to this specific deploy and is merged into any existing environment variables set on the
|
|
1356
|
+
* account and site.
|
|
1357
|
+
*
|
|
1358
|
+
* Deploy-specific environment variable data takes precedence over account and site
|
|
1359
|
+
* environment variable data: For example, a deploy-specific variable with the key `NODE_ENV`
|
|
1360
|
+
* will take priority over any existing site- and account-level environment variable data
|
|
1361
|
+
* with the key `NODE_ENV`.
|
|
1362
|
+
*
|
|
1363
|
+
* Environment variable data may be provided at one of two times:
|
|
1364
|
+
*
|
|
1365
|
+
* - When creating a new Deploy with deploy files (most common)
|
|
1366
|
+
* - When finalizing an existing Deploy with deploy files
|
|
1367
|
+
*
|
|
1368
|
+
* Once set, environment variables for a specific deploy cannot be modified. Subsequent
|
|
1369
|
+
* attempts to modify environment variable data for a deploy will be ignored.
|
|
1370
|
+
*/
|
|
1371
|
+
environment?: components["schemas"]["deployEnvironmentVariable"][];
|
|
1347
1372
|
};
|
|
1348
1373
|
pluginParams: {
|
|
1349
1374
|
pinned_version?: string;
|
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.49.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/",
|
|
@@ -5791,6 +5791,41 @@
|
|
|
5791
5791
|
},
|
|
5792
5792
|
"framework_version": {
|
|
5793
5793
|
"type": "string"
|
|
5794
|
+
},
|
|
5795
|
+
"environment": {
|
|
5796
|
+
"description": "A list of deploy-specific environment variable data. Data specified this way applies only\nto this specific deploy and is merged into any existing environment variables set on the\naccount and site.\n\nDeploy-specific environment variable data takes precedence over account and site\nenvironment variable data: For example, a deploy-specific variable with the key `NODE_ENV`\nwill take priority over any existing site- and account-level environment variable data\nwith the key `NODE_ENV`.\n\nEnvironment variable data may be provided at one of two times:\n\n- When creating a new Deploy with deploy files (most common)\n- When finalizing an existing Deploy with deploy files\n\nOnce set, environment variables for a specific deploy cannot be modified. Subsequent\nattempts to modify environment variable data for a deploy will be ignored.\n",
|
|
5797
|
+
"type": "array",
|
|
5798
|
+
"items": {
|
|
5799
|
+
"type": "object",
|
|
5800
|
+
"required": [
|
|
5801
|
+
"key",
|
|
5802
|
+
"value",
|
|
5803
|
+
"scopes"
|
|
5804
|
+
],
|
|
5805
|
+
"properties": {
|
|
5806
|
+
"key": {
|
|
5807
|
+
"type": "string"
|
|
5808
|
+
},
|
|
5809
|
+
"value": {
|
|
5810
|
+
"type": "string"
|
|
5811
|
+
},
|
|
5812
|
+
"is_secret": {
|
|
5813
|
+
"type": "boolean"
|
|
5814
|
+
},
|
|
5815
|
+
"scopes": {
|
|
5816
|
+
"type": "array",
|
|
5817
|
+
"items": {
|
|
5818
|
+
"type": "string",
|
|
5819
|
+
"enum": [
|
|
5820
|
+
"builds",
|
|
5821
|
+
"functions",
|
|
5822
|
+
"runtime",
|
|
5823
|
+
"post-processing"
|
|
5824
|
+
]
|
|
5825
|
+
}
|
|
5826
|
+
}
|
|
5827
|
+
}
|
|
5828
|
+
}
|
|
5794
5829
|
}
|
|
5795
5830
|
}
|
|
5796
5831
|
},
|
|
@@ -6303,6 +6338,41 @@
|
|
|
6303
6338
|
},
|
|
6304
6339
|
"framework_version": {
|
|
6305
6340
|
"type": "string"
|
|
6341
|
+
},
|
|
6342
|
+
"environment": {
|
|
6343
|
+
"description": "A list of deploy-specific environment variable data. Data specified this way applies only\nto this specific deploy and is merged into any existing environment variables set on the\naccount and site.\n\nDeploy-specific environment variable data takes precedence over account and site\nenvironment variable data: For example, a deploy-specific variable with the key `NODE_ENV`\nwill take priority over any existing site- and account-level environment variable data\nwith the key `NODE_ENV`.\n\nEnvironment variable data may be provided at one of two times:\n\n- When creating a new Deploy with deploy files (most common)\n- When finalizing an existing Deploy with deploy files\n\nOnce set, environment variables for a specific deploy cannot be modified. Subsequent\nattempts to modify environment variable data for a deploy will be ignored.\n",
|
|
6344
|
+
"type": "array",
|
|
6345
|
+
"items": {
|
|
6346
|
+
"type": "object",
|
|
6347
|
+
"required": [
|
|
6348
|
+
"key",
|
|
6349
|
+
"value",
|
|
6350
|
+
"scopes"
|
|
6351
|
+
],
|
|
6352
|
+
"properties": {
|
|
6353
|
+
"key": {
|
|
6354
|
+
"type": "string"
|
|
6355
|
+
},
|
|
6356
|
+
"value": {
|
|
6357
|
+
"type": "string"
|
|
6358
|
+
},
|
|
6359
|
+
"is_secret": {
|
|
6360
|
+
"type": "boolean"
|
|
6361
|
+
},
|
|
6362
|
+
"scopes": {
|
|
6363
|
+
"type": "array",
|
|
6364
|
+
"items": {
|
|
6365
|
+
"type": "string",
|
|
6366
|
+
"enum": [
|
|
6367
|
+
"builds",
|
|
6368
|
+
"functions",
|
|
6369
|
+
"runtime",
|
|
6370
|
+
"post-processing"
|
|
6371
|
+
]
|
|
6372
|
+
}
|
|
6373
|
+
}
|
|
6374
|
+
}
|
|
6375
|
+
}
|
|
6306
6376
|
}
|
|
6307
6377
|
}
|
|
6308
6378
|
},
|
|
@@ -19301,6 +19371,37 @@
|
|
|
19301
19371
|
}
|
|
19302
19372
|
}
|
|
19303
19373
|
},
|
|
19374
|
+
"deployEnvironmentVariable": {
|
|
19375
|
+
"type": "object",
|
|
19376
|
+
"required": [
|
|
19377
|
+
"key",
|
|
19378
|
+
"value",
|
|
19379
|
+
"scopes"
|
|
19380
|
+
],
|
|
19381
|
+
"properties": {
|
|
19382
|
+
"key": {
|
|
19383
|
+
"type": "string"
|
|
19384
|
+
},
|
|
19385
|
+
"value": {
|
|
19386
|
+
"type": "string"
|
|
19387
|
+
},
|
|
19388
|
+
"is_secret": {
|
|
19389
|
+
"type": "boolean"
|
|
19390
|
+
},
|
|
19391
|
+
"scopes": {
|
|
19392
|
+
"type": "array",
|
|
19393
|
+
"items": {
|
|
19394
|
+
"type": "string",
|
|
19395
|
+
"enum": [
|
|
19396
|
+
"builds",
|
|
19397
|
+
"functions",
|
|
19398
|
+
"runtime",
|
|
19399
|
+
"post-processing"
|
|
19400
|
+
]
|
|
19401
|
+
}
|
|
19402
|
+
}
|
|
19403
|
+
}
|
|
19404
|
+
},
|
|
19304
19405
|
"deployFiles": {
|
|
19305
19406
|
"type": "object",
|
|
19306
19407
|
"description": "Deploy files can be provided in two ways:\n1. As a JSON object using 'files' (a hash mapping file paths to SHA1 digests), OR\n2. As a zip file using one of these methods:\n - Set Content-Type to 'application/zip' and send the zip file as the raw request body\n - Include the zip file content in the 'zip' field of this JSON object with Content-Type 'application/json'\n",
|
|
@@ -19474,6 +19575,41 @@
|
|
|
19474
19575
|
},
|
|
19475
19576
|
"framework_version": {
|
|
19476
19577
|
"type": "string"
|
|
19578
|
+
},
|
|
19579
|
+
"environment": {
|
|
19580
|
+
"description": "A list of deploy-specific environment variable data. Data specified this way applies only\nto this specific deploy and is merged into any existing environment variables set on the\naccount and site.\n\nDeploy-specific environment variable data takes precedence over account and site\nenvironment variable data: For example, a deploy-specific variable with the key `NODE_ENV`\nwill take priority over any existing site- and account-level environment variable data\nwith the key `NODE_ENV`.\n\nEnvironment variable data may be provided at one of two times:\n\n- When creating a new Deploy with deploy files (most common)\n- When finalizing an existing Deploy with deploy files\n\nOnce set, environment variables for a specific deploy cannot be modified. Subsequent\nattempts to modify environment variable data for a deploy will be ignored.\n",
|
|
19581
|
+
"type": "array",
|
|
19582
|
+
"items": {
|
|
19583
|
+
"type": "object",
|
|
19584
|
+
"required": [
|
|
19585
|
+
"key",
|
|
19586
|
+
"value",
|
|
19587
|
+
"scopes"
|
|
19588
|
+
],
|
|
19589
|
+
"properties": {
|
|
19590
|
+
"key": {
|
|
19591
|
+
"type": "string"
|
|
19592
|
+
},
|
|
19593
|
+
"value": {
|
|
19594
|
+
"type": "string"
|
|
19595
|
+
},
|
|
19596
|
+
"is_secret": {
|
|
19597
|
+
"type": "boolean"
|
|
19598
|
+
},
|
|
19599
|
+
"scopes": {
|
|
19600
|
+
"type": "array",
|
|
19601
|
+
"items": {
|
|
19602
|
+
"type": "string",
|
|
19603
|
+
"enum": [
|
|
19604
|
+
"builds",
|
|
19605
|
+
"functions",
|
|
19606
|
+
"runtime",
|
|
19607
|
+
"post-processing"
|
|
19608
|
+
]
|
|
19609
|
+
}
|
|
19610
|
+
}
|
|
19611
|
+
}
|
|
19612
|
+
}
|
|
19477
19613
|
}
|
|
19478
19614
|
}
|
|
19479
19615
|
},
|