Removal of shuttered APIs #1110
Replies: 2 comments 11 replies
-
I've also been away for a few months (!) and I'm no longer involved at Twitter. It seems as though "advertising" shuttered or closed APIs via this project is only going to lead to disappointment for anyone wanting to use them, so best to remove, in my opinion. |
Beta Was this translation helpful? Give feedback.
-
I think that's fine - well within what anybody digging into outdated API data is going to expect, and convenient enough for everybody involved. It's also very easy to bring things back from Git history, which I think negates the value of any 'recycle bin' approach.
This is the hardest part I think... It would be really useful to get a feel for the typical reasons why a spec disappears to know how much this matters and how it's normally handled. Is there a list of the current 404s easily available somewhere? It would be interesting to do a quick sample of a few at random, and see if any obvious patterns jump out immediately. There are some cases where we could be more nuanced though, for example in the GitHub-hosted case at least, we can handle 'GitHub temporarily unavailable' vs 'repo deleted' vs 'spec file deleted' all separately. Also in official vs unofficial spec cases - if an unofficial spec is removed, to me that sounds much less likely that the API is completely gone, and so maybe we should keep hosting it ourselves, whereas if the official spec is removed then something really has changed on the provider side (either a real update or a removal entirely) and we should be doing something to handle it. |
Beta Was this translation helpful? Give feedback.
-
Following on from @andypiper's comment on issue #1052 - should we remove the definitions of shuttered APIs?
I see a few pros and cons.
Another option would be to move old/shuttered/defunct/404ing APIs to another directory within the repo, this would hide them from the UI and the API but keep the files around for research and potential moving back to "live".
Would love to hear some thoughts.
4 votes ·
Beta Was this translation helpful? Give feedback.
All reactions