snyk-labs / pysnyk

A Python client for the Snyk API.

Home Page:https://snyk.docs.apiary.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[FEAT]: Prepare PySnyk for deprecation of V1 List All Projects

Gil-Tohar-Forter opened this issue · comments

Is there an existing feature request for this?

  • I have searched the existing feature requests

Description

Snyk has brought this PSA:

We are reaching out to inform you about an upcoming change to our API services. As part of our ongoing efforts to improve our platform and provide you with the best possible API experience, we are deprecating the List all Projects v1 API and migrating to new GA REST List all projects API.

The decision to deprecate this API is part and parcel of Snyk’s wider initiative to gradually migrate all v1 API endpoints to a new REST API designed to provide a more consistent, friendly, and easy-to-use API framework.

PySnyk will be using a deprecated API without an update

Additional Information

No response

Is this going to be done, or do we need to move off the PySnyk library? Is there something I am missing? My scripts are no longer working with the list all calls.

The latest version of the library should be using the REST API under the hood, rather than the V1 API that's now EOL.

Could you include specific details of what's not working for you and we can take a look.

Hey @garethr

Do we have aggregated-issues equivalent endpoint for the REST API?

I'm trying to update following url:
https://snyk.io/api/v1/org/{{org_id}}/project/{{project_id}}/aggregated-issues

If yes, it will be really appreciated if you can share.

Lastly, i believe this repo is still under maintenance and still working for v1 to rest migration. Correct me if I am wrong.