Gathering detailed insights and metrics for @netlify/open-api
Gathering detailed insights and metrics for @netlify/open-api
Gathering detailed insights and metrics for @netlify/open-api
Gathering detailed insights and metrics for @netlify/open-api
npm install @netlify/open-api
99.7
Supply Chain
100
Quality
88.5
Maintenance
100
Vulnerability
100
License
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
263 Stars
973 Commits
84 Forks
55 Watching
20 Branches
75 Contributors
Updated on 27 Nov 2024
Minified
Minified + Gzipped
Go (88.29%)
JavaScript (5.98%)
HTML (4%)
CSS (0.97%)
Makefile (0.76%)
Cumulative downloads
Total Downloads
Last day
-21.6%
21,267
Compared to previous day
Last week
-3%
150,900
Compared to previous week
Last month
-4.2%
671,190
Compared to previous month
Last year
32.3%
7,244,932
Compared to previous year
This repository contains Netlify's API definition in the Open API format, formerly known as Swagger.
It's still a work in progress and we welcome feedback and contributions.
The swagger.yml
file is the master copy of the Open API 2.0 definition. Additional context on using the API can be found on our docs site.
The spec is published and versioned for various ecosystems:
You can view the definition using Swagger UI by visiting open-api.netlify.com which provides limited interaction with the API from the browser.
1$ go get github.com/netlify/open-api/...
See CONTRIBUTING.md for details on how this client is developed and generated.
We have a fully featured JS/Node.js client that implements some of the same 'porcelain' methods that the go client does in addition to the open-api methods.
See github.com/netlify/build/tree/main/packages/js-client for more details.
You can also consume the swagger spec as an npm module:
1$ npm install @netlify/open-api 2# or 3$ yarn add @netlify/open-api
1import spec from '@netlify/open-api' // import the spec object into your project
The module also ships a copy of the original yml
spec file at @netlify/open-api/js/dist/swagger.yml
. You can use these with generic swagger/open-api clients:
Swagger's JS client can dynamically create a client from a spec either from a URL or spec object.
See the swagger-js client:
1<script src='browser/swagger-client.js' type='text/javascript'></script> 2<script> 3var swaggerClient = new SwaggerClient('https://open-api.netlify.com/swagger.json'); 4</script>
See CONTRIBUTING.md for more info on how to make contributions to this project.
MIT. See LICENSE for more details.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
all changesets reviewed
Reason
license file detected
Details
Reason
packaging workflow detected
Details
Reason
security policy file detected
Details
Reason
binaries present in source code
Details
Reason
dependency not pinned by hash detected -- score normalized to 3
Details
Reason
2 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 1
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
21 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-18
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More