@netlify/open-api 2.63.1 → 2.65.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 +2 -0
- package/dist/swagger.json +9 -2
- package/package.json +4 -2
package/dist/index.d.ts
CHANGED
|
@@ -3868,6 +3868,8 @@ export interface operations {
|
|
|
3868
3868
|
site_id: string;
|
|
3869
3869
|
};
|
|
3870
3870
|
query: {
|
|
3871
|
+
/** Filter builds by commit SHA (full SHA only; abbreviated SHAs not supported) */
|
|
3872
|
+
sha?: string;
|
|
3871
3873
|
page?: components["parameters"]["page"];
|
|
3872
3874
|
per_page?: components["parameters"]["perPage"];
|
|
3873
3875
|
};
|
package/dist/swagger.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"swagger": "2.0",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.65.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/",
|
|
8
8
|
"x-logo": {
|
|
9
|
-
"url": "netlify-logo.
|
|
9
|
+
"url": "netlify-logo.svg",
|
|
10
10
|
"href": "https://www.netlify.com/docs/",
|
|
11
11
|
"altText": "Netlify"
|
|
12
12
|
}
|
|
@@ -7615,6 +7615,13 @@
|
|
|
7615
7615
|
"build"
|
|
7616
7616
|
],
|
|
7617
7617
|
"parameters": [
|
|
7618
|
+
{
|
|
7619
|
+
"name": "sha",
|
|
7620
|
+
"type": "string",
|
|
7621
|
+
"in": "query",
|
|
7622
|
+
"required": false,
|
|
7623
|
+
"description": "Filter builds by commit SHA (full SHA only; abbreviated SHAs not supported)"
|
|
7624
|
+
},
|
|
7618
7625
|
{
|
|
7619
7626
|
"type": "integer",
|
|
7620
7627
|
"format": "int32",
|
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.
|
|
4
|
+
"version": "2.65.0",
|
|
5
5
|
"author": "Netlify",
|
|
6
6
|
"ava": {
|
|
7
7
|
"files": [
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
"node": ">=14.8.0"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
+
"@netlify/config": "^25.6.1",
|
|
18
19
|
"@redocly/cli": "^1.0.0-beta.128",
|
|
19
20
|
"analytics": "^0.2.0",
|
|
20
21
|
"analytics-plugin-ga": "^0.1.5",
|
|
@@ -55,9 +56,10 @@
|
|
|
55
56
|
"test": "run-s lint build unit",
|
|
56
57
|
"start": "run-s lint build",
|
|
57
58
|
"bundle": "redocly bundle external@latest --output external.yml",
|
|
58
|
-
"build": "run-s convert bundle redoc",
|
|
59
|
+
"build": "run-s convert config-schema bundle redoc",
|
|
59
60
|
"postbuild": "swagger2openapi external.yml -o dist/openapi.json && node src/typegen.js",
|
|
60
61
|
"convert": "node src/convert.js",
|
|
62
|
+
"config-schema": "node src/config-schema.js",
|
|
61
63
|
"bump-swagger": "node src/bump-swagger.js",
|
|
62
64
|
"redoc": "node src/docs/build.js",
|
|
63
65
|
"lint": "run-s eslint prettier",
|