GET /photos → endpoint removal
Stopped working
On September 19, 2024, Unsplash removed support for the query parameter order_by on GET /photos. Calls using this parameter fail after that date, as the feed will only return photos in the latest order.
Calls it hits
GET /photosquery 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).
Facts
- API
- Unsplash API
api.unsplash.com - Kind
- Endpoint 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.