@netlify/open-api 2.23.1 → 2.24.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/swagger.json +79 -1
- 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.
|
|
4
|
+
"version": "2.24.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/",
|
|
@@ -4467,6 +4467,53 @@
|
|
|
4467
4467
|
}
|
|
4468
4468
|
}
|
|
4469
4469
|
},
|
|
4470
|
+
"/purge": {
|
|
4471
|
+
"post": {
|
|
4472
|
+
"operationId": "purgeCache",
|
|
4473
|
+
"description": "Purges cached content from Netlify's CDN. Supports purging by Cache-Tag.",
|
|
4474
|
+
"tags": [
|
|
4475
|
+
"purge"
|
|
4476
|
+
],
|
|
4477
|
+
"consumes": [
|
|
4478
|
+
"application/json"
|
|
4479
|
+
],
|
|
4480
|
+
"parameters": [
|
|
4481
|
+
{
|
|
4482
|
+
"name": "payload",
|
|
4483
|
+
"in": "body",
|
|
4484
|
+
"schema": {
|
|
4485
|
+
"type": "object",
|
|
4486
|
+
"properties": {
|
|
4487
|
+
"site_id": {
|
|
4488
|
+
"type": "string"
|
|
4489
|
+
},
|
|
4490
|
+
"site_slug": {
|
|
4491
|
+
"type": "string"
|
|
4492
|
+
},
|
|
4493
|
+
"cache_tags": {
|
|
4494
|
+
"type": "array",
|
|
4495
|
+
"items": {
|
|
4496
|
+
"type": "string"
|
|
4497
|
+
}
|
|
4498
|
+
}
|
|
4499
|
+
}
|
|
4500
|
+
},
|
|
4501
|
+
"required": true
|
|
4502
|
+
}
|
|
4503
|
+
],
|
|
4504
|
+
"responses": {
|
|
4505
|
+
"202": {
|
|
4506
|
+
"description": "OK"
|
|
4507
|
+
},
|
|
4508
|
+
"400": {
|
|
4509
|
+
"description": "Invalid request parameters"
|
|
4510
|
+
},
|
|
4511
|
+
"404": {
|
|
4512
|
+
"description": "Site not found"
|
|
4513
|
+
}
|
|
4514
|
+
}
|
|
4515
|
+
}
|
|
4516
|
+
},
|
|
4470
4517
|
"/sites/{site_id}/snippets": {
|
|
4471
4518
|
"parameters": [
|
|
4472
4519
|
{
|
|
@@ -5496,6 +5543,9 @@
|
|
|
5496
5543
|
},
|
|
5497
5544
|
"framework": {
|
|
5498
5545
|
"type": "string"
|
|
5546
|
+
},
|
|
5547
|
+
"framework_version": {
|
|
5548
|
+
"type": "string"
|
|
5499
5549
|
}
|
|
5500
5550
|
}
|
|
5501
5551
|
},
|
|
@@ -5922,6 +5972,9 @@
|
|
|
5922
5972
|
},
|
|
5923
5973
|
"framework": {
|
|
5924
5974
|
"type": "string"
|
|
5975
|
+
},
|
|
5976
|
+
"framework_version": {
|
|
5977
|
+
"type": "string"
|
|
5925
5978
|
}
|
|
5926
5979
|
}
|
|
5927
5980
|
},
|
|
@@ -15447,6 +15500,23 @@
|
|
|
15447
15500
|
}
|
|
15448
15501
|
}
|
|
15449
15502
|
},
|
|
15503
|
+
"purge": {
|
|
15504
|
+
"type": "object",
|
|
15505
|
+
"properties": {
|
|
15506
|
+
"site_id": {
|
|
15507
|
+
"type": "string"
|
|
15508
|
+
},
|
|
15509
|
+
"site_slug": {
|
|
15510
|
+
"type": "string"
|
|
15511
|
+
},
|
|
15512
|
+
"cache_tags": {
|
|
15513
|
+
"type": "array",
|
|
15514
|
+
"items": {
|
|
15515
|
+
"type": "string"
|
|
15516
|
+
}
|
|
15517
|
+
}
|
|
15518
|
+
}
|
|
15519
|
+
},
|
|
15450
15520
|
"deploy": {
|
|
15451
15521
|
"type": "object",
|
|
15452
15522
|
"properties": {
|
|
@@ -15652,6 +15722,9 @@
|
|
|
15652
15722
|
},
|
|
15653
15723
|
"framework": {
|
|
15654
15724
|
"type": "string"
|
|
15725
|
+
},
|
|
15726
|
+
"framework_version": {
|
|
15727
|
+
"type": "string"
|
|
15655
15728
|
}
|
|
15656
15729
|
}
|
|
15657
15730
|
},
|
|
@@ -16985,6 +17058,7 @@
|
|
|
16985
17058
|
"environmentVariables",
|
|
16986
17059
|
"file",
|
|
16987
17060
|
"metadata",
|
|
17061
|
+
"purge",
|
|
16988
17062
|
"snippet"
|
|
16989
17063
|
]
|
|
16990
17064
|
},
|
|
@@ -17105,6 +17179,10 @@
|
|
|
17105
17179
|
"name": "snippet",
|
|
17106
17180
|
"x-displayName": "Snippet"
|
|
17107
17181
|
},
|
|
17182
|
+
{
|
|
17183
|
+
"name": "purge",
|
|
17184
|
+
"x-displayName": "Cache purge"
|
|
17185
|
+
},
|
|
17108
17186
|
{
|
|
17109
17187
|
"name": "dnsZone",
|
|
17110
17188
|
"x-displayName": "DNS zone"
|