Okapi Okapi

Snyk API /v1/org/{id}/projects endpoint removal

Stopped workingSubscribe to Snyk APIShare

On December 22, 2023, the /v1/org/{id}/projects endpoint stopped working. Calls targeting this endpoint fail after that date following the plan to sunset the API announced on June 22, 2023.


Calls it hits

  • /v1/org/{id}/projects

What to use instead of these calls

Call the REST API GET /rest/orgs/{org_id}/projects?version=... (List all Projects for an Org) and page with its cursor links.

In Snyk API's words

On June 22, 2023, Snyk announced the plan to sunset the List all projects V1 API with end-of-life on December 22, 2023, in favor of the REST List all projects API

Snyk API, Announcement

Facts

API
Snyk API api.snyk.io
Kind
Endpoint removal
Announced
June 22, 2023
Takes effect
December 22, 2023
Calls after that day
Fail
Source
Announcement
Last updated
Verified
, against Snyk API's own pages

Questions

When does this change take effect?

Calls to /v1/org/{id}/projects on Snyk API stopped working on December 22, 2023.

What happens to calls after December 22, 2023?

They have failed since December 22, 2023.

How do I find the calls this hits in my code?

Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.


More from Snyk API 3

  1. POST /v1/group/{id}/audit*Removal Stopped working
  2. POST /v1/org/{id}/audit*Removal Stopped working
  3. /v1/reporting/*Removal Stopped working

You fixed this one by hand.

Okapi opens the pull request with the fix before the next breaking change reaches your code.

Add to GitHub

Get notifications

Subscribe to Snyk API

Hear about each breaking change Snyk API announces, in your feed reader, calendar or Slack.

1What to follow

Provider
  • Snyk API

2Where to get it

/breaking-changes/feed.xml

Paste it into Feedly, Inoreader, NetNewsWire or any reader. New changes show up as they're announced.