Okapi Okapi

Unsplash API order_by query parameter removal on GET /photos

Stopped workingSubscribe to Unsplash APIShare

Calls to GET /photos, query parameter order_by on Unsplash API stopped working on September 19, 2024.


Calls it hits

  • GET /photos
  • query parameter order_by

What to use instead of these calls

Drop order_by from your requests; the feed returns the latest photos.

In Unsplash API's words

The photos Editorial feed will no longer support the order_by parameter, instead only returning photos in the latest order (the existing default).

Unsplash API, Announcement

Facts

API
Unsplash API api.unsplash.com
Kind
Parameter removal
Announced
September 19, 2024
Takes effect
September 19, 2024
Calls after that day
Fail
Source
Announcement
Last updated
Verified
, against Unsplash API's own pages

Questions

When does this change take effect?

Calls to GET /photos, query parameter order_by on Unsplash API stopped working on September 19, 2024.

What happens to calls after September 19, 2024?

They have failed since September 19, 2024.

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

Get notifications

Subscribe to Unsplash API

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

1What to follow

Provider
  • Unsplash 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.