Okapi Okapi

GET /api/v1/dependencies* → endpoint removal

RubyGems.org API

Stopped working

On May 24, 2023, the Dependency API was disabled after a final two week extension. Requests sent to GET /api/v1/dependencies* now fail.


Calls it hits

  • GET /api/v1/dependencies*

What to use instead of these calls

Use the Compact Index API at index.rubygems.org/info/{gem} or the Gem Version API at GET /api/v1/versions/{gem}.json instead.

In RubyGems.org API's words

The Dependency API will be disabled on May 24, after a final two week extension

RubyGems.org API, Announcement

Facts

API
RubyGems.org API rubygems.org
Kind
Endpoint removal
Announced
February 22, 2023
Takes effect
May 24, 2023
Calls after that day
Fail
Source
Announcement
Last updated
Verified
, against RubyGems.org API's own pages

Questions

When does this change take effect?

Calls to GET /api/v1/dependencies* on RubyGems.org API stopped working on May 24, 2023.

What happens to calls after May 24, 2023?

They have failed since May 24, 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.


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