Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support REST APIs #62

Merged
merged 1 commit into from
Jul 1, 2022
Merged

feat: support REST APIs #62

merged 1 commit into from
Jul 1, 2022

Conversation

lili2311
Copy link
Contributor

@lili2311 lili2311 commented Jun 30, 2022

  • Tests written and linted ℹ︎
  • Documentation written ℹ︎
  • Commit history is tidy ℹ︎

What this does

Add support for Snyk REST APIs by letting each request specify if it uses the REST or v1 url. REST API url is calculated automatically from the API url for v1 to retain the same host.

Needed for REST support in snyk/snyk-api-import#342

@lili2311 lili2311 requested a review from a team as a code owner June 30, 2022 14:38
@lili2311 lili2311 self-assigned this Jun 30, 2022
@lili2311 lili2311 force-pushed the feat/support-rest-api branch from 154c0c1 to 1c61377 Compare June 30, 2022 14:44
@lili2311 lili2311 merged commit 3ba69fc into develop Jul 1, 2022
@lili2311 lili2311 deleted the feat/support-rest-api branch July 1, 2022 08:08
@aarlaud
Copy link
Contributor

aarlaud commented Jul 1, 2022

🎉 This PR is included in version 1.7.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants