@netlify/open-api 2.35.1 → 2.37.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 +395 -30
- package/dist/swagger.json +114 -1
- package/package.json +3 -3
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.37.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/",
|
|
@@ -8036,6 +8036,74 @@
|
|
|
8036
8036
|
}
|
|
8037
8037
|
}
|
|
8038
8038
|
},
|
|
8039
|
+
"/deploys/{deploy_id}/validations_report": {
|
|
8040
|
+
"patch": {
|
|
8041
|
+
"operationId": "updateDeployValidations",
|
|
8042
|
+
"tags": [
|
|
8043
|
+
"deploy"
|
|
8044
|
+
],
|
|
8045
|
+
"description": "Updates the deploy validations report for a deploy.",
|
|
8046
|
+
"x-internal": true,
|
|
8047
|
+
"x-controller": "api/v1/deploys",
|
|
8048
|
+
"x-action": "validations_report",
|
|
8049
|
+
"parameters": [
|
|
8050
|
+
{
|
|
8051
|
+
"name": "deploy_id",
|
|
8052
|
+
"description": "The ID of the deploy",
|
|
8053
|
+
"type": "string",
|
|
8054
|
+
"in": "path",
|
|
8055
|
+
"required": true
|
|
8056
|
+
},
|
|
8057
|
+
{
|
|
8058
|
+
"name": "report",
|
|
8059
|
+
"in": "body",
|
|
8060
|
+
"required": true,
|
|
8061
|
+
"schema": {
|
|
8062
|
+
"type": "object",
|
|
8063
|
+
"properties": {
|
|
8064
|
+
"secrets_scan": {
|
|
8065
|
+
"type": "object"
|
|
8066
|
+
}
|
|
8067
|
+
}
|
|
8068
|
+
}
|
|
8069
|
+
}
|
|
8070
|
+
],
|
|
8071
|
+
"responses": {
|
|
8072
|
+
"200": {
|
|
8073
|
+
"description": "OK",
|
|
8074
|
+
"schema": {
|
|
8075
|
+
"type": "object",
|
|
8076
|
+
"properties": {
|
|
8077
|
+
"id": {
|
|
8078
|
+
"type": "string",
|
|
8079
|
+
"description": "The id of the deploy validations report"
|
|
8080
|
+
},
|
|
8081
|
+
"deploy_id": {
|
|
8082
|
+
"type": "string",
|
|
8083
|
+
"description": "The id of the deploy"
|
|
8084
|
+
},
|
|
8085
|
+
"secret_scan_result": {
|
|
8086
|
+
"type": "object",
|
|
8087
|
+
"properties": {
|
|
8088
|
+
"scannedFilesCount": {
|
|
8089
|
+
"type": "integer",
|
|
8090
|
+
"description": "The number of files scanned"
|
|
8091
|
+
},
|
|
8092
|
+
"secretsScanMatches": {
|
|
8093
|
+
"type": "array",
|
|
8094
|
+
"items": {
|
|
8095
|
+
"type": "string"
|
|
8096
|
+
},
|
|
8097
|
+
"description": "The list of secrets scan matches"
|
|
8098
|
+
}
|
|
8099
|
+
}
|
|
8100
|
+
}
|
|
8101
|
+
}
|
|
8102
|
+
}
|
|
8103
|
+
}
|
|
8104
|
+
}
|
|
8105
|
+
}
|
|
8106
|
+
},
|
|
8039
8107
|
"/deploys/{deploy_id}/lock": {
|
|
8040
8108
|
"post": {
|
|
8041
8109
|
"operationId": "lockDeploy",
|
|
@@ -14859,6 +14927,51 @@
|
|
|
14859
14927
|
}
|
|
14860
14928
|
},
|
|
14861
14929
|
"definitions": {
|
|
14930
|
+
"DeployValidationsReport": {
|
|
14931
|
+
"type": "object",
|
|
14932
|
+
"properties": {
|
|
14933
|
+
"id": {
|
|
14934
|
+
"type": "string",
|
|
14935
|
+
"description": "The id of the deploy validations report"
|
|
14936
|
+
},
|
|
14937
|
+
"deploy_id": {
|
|
14938
|
+
"type": "string",
|
|
14939
|
+
"description": "The id of the deploy"
|
|
14940
|
+
},
|
|
14941
|
+
"secret_scan_result": {
|
|
14942
|
+
"type": "object",
|
|
14943
|
+
"properties": {
|
|
14944
|
+
"scannedFilesCount": {
|
|
14945
|
+
"type": "integer",
|
|
14946
|
+
"description": "The number of files scanned"
|
|
14947
|
+
},
|
|
14948
|
+
"secretsScanMatches": {
|
|
14949
|
+
"type": "array",
|
|
14950
|
+
"items": {
|
|
14951
|
+
"type": "string"
|
|
14952
|
+
},
|
|
14953
|
+
"description": "The list of secrets scan matches"
|
|
14954
|
+
}
|
|
14955
|
+
}
|
|
14956
|
+
}
|
|
14957
|
+
}
|
|
14958
|
+
},
|
|
14959
|
+
"DeployValidationsReport_SecretScanResult": {
|
|
14960
|
+
"type": "object",
|
|
14961
|
+
"properties": {
|
|
14962
|
+
"scannedFilesCount": {
|
|
14963
|
+
"type": "integer",
|
|
14964
|
+
"description": "The number of files scanned"
|
|
14965
|
+
},
|
|
14966
|
+
"secretsScanMatches": {
|
|
14967
|
+
"type": "array",
|
|
14968
|
+
"items": {
|
|
14969
|
+
"type": "string"
|
|
14970
|
+
},
|
|
14971
|
+
"description": "The list of secrets scan matches"
|
|
14972
|
+
}
|
|
14973
|
+
}
|
|
14974
|
+
},
|
|
14862
14975
|
"splitTestSetup": {
|
|
14863
14976
|
"type": "object",
|
|
14864
14977
|
"properties": {
|
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.37.0",
|
|
5
5
|
"author": "Netlify",
|
|
6
6
|
"ava": {
|
|
7
7
|
"files": [
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"url": "https://github.com/netlify/open-api/issues"
|
|
13
13
|
},
|
|
14
14
|
"engines": {
|
|
15
|
-
"node": ">=14"
|
|
15
|
+
"node": ">=14.8.0"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@redocly/cli": "^1.0.0-beta.128",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"start": "run-s lint build",
|
|
57
57
|
"bundle": "redocly bundle external@latest --output external.yml",
|
|
58
58
|
"build": "run-s convert bundle redoc",
|
|
59
|
-
"postbuild": "swagger2openapi external.yml -o dist/openapi.json &&
|
|
59
|
+
"postbuild": "swagger2openapi external.yml -o dist/openapi.json && node src/typegen.js",
|
|
60
60
|
"convert": "node src/convert.js",
|
|
61
61
|
"bump-swagger": "node src/bump-swagger.js",
|
|
62
62
|
"redoc": "node src/docs/build.js",
|