Skip to content

Releases: love-bhardwaj/snyk-api-client

Webhooks API added

08 Mar 06:12
Compare
Choose a tag to compare
Webhooks API added Pre-release
Pre-release

Webhooks API added

  • Webhooks Snyk API group added
  • Better error handling for HTTP requests

Minor bug fix

15 Feb 18:33
Compare
Choose a tag to compare
Minor bug fix Pre-release
Pre-release

Bugfix

  • Fixes import bug in types

Pre-release candidate

14 Feb 02:54
Compare
Choose a tag to compare
Pre-release candidate Pre-release
Pre-release

Release Notes

Use the Snyk API client to consume the Snyk API without worrying about the internals of how to call the API endpoint. Each group of API has corresponding functions defined to consume the relevant API endpoints. The package still in development, happy for inputs.

  • Use ClientConfig to change client defaults example: ClientConfig.set({ apiToken });
  • Import group of related API endpoints import { Org } from "snyk-api-client";
  • User the imported object to call relavent endpoints const { response } = await Org.listUserOrgs({ apiToken: "your-api-token" })