News for hackers. Stuff that matters.
Re:The right way to turn off your old APIs by ozim on Saturday January 23, 2021 @03:31AM (#25880662)
Then you might find some cases, where an API endpoint is called once a month o once a year but it is critical, that will bite you back really hard.
Re:The right way to turn off your old APIs by vegetablepotpie on Saturday January 23, 2021 @09:07AM (#25882303)
One solution I’ve seen posted here (can’t remember the link) is to put a sleep in some call and step it up every day/week/month until retirement.

That way when the application slows down, people complain, a story is created to figure out why, and the answer will be the library is deprecated and needs to be migrated.

The calls can always be made, they just get more expensive.

Re:The right way to turn off your old APIs by michaelt on Saturday January 23, 2021 @06:14AM (#25881458)
Naturally, you would combine any planned API delay or outage with conventional deprecation steps like updating documentation well in advance, posting to your blog, twitter and mailing list, e-mailing every identifiable user of the deprecated API, and having your account managers reach out to paying customers who use the API.