Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a simple mechanism for deprecating an API #86

Open
newgene opened this issue Aug 29, 2022 · 2 comments
Open

Create a simple mechanism for deprecating an API #86

newgene opened this issue Aug 29, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@newgene
Copy link
Member

newgene commented Aug 29, 2022

Could be something like this in the config file:

DEPRECATED  = True
DEPRECATION_MESSAGE = "..."
DEPRECATION_REDIRECTION= "<redirection_url>"

Then the API landing page shows deprecation msg and redirect to a new URL in 10s.

@newgene newgene added the enhancement New feature or request label Aug 29, 2022
@colleenXu
Copy link

Other APIs to remove?

All of the semmed APIs below could maybe be removed, since they are replaced by semmeddb...

Maybe umlschem? I'm not sure where that's from...

And we have confirmation from Text Mining team (internal Translator Slack link) that they don't need the BioThings text mining co-occurrence API anymore...

@erikyao
Copy link
Contributor

erikyao commented Sep 8, 2022

Also consider "DEPRECATED_DATE", after which the API is not accessible (redirected to elsewhere)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants