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

Deprecate legacy /annotator endpoint #29

Open
newgene opened this issue Aug 5, 2024 · 0 comments · May be fixed by #36
Open

Deprecate legacy /annotator endpoint #29

newgene opened this issue Aug 5, 2024 · 0 comments · May be fixed by #36
Assignees
Labels
enhancement New feature or request

Comments

@newgene
Copy link
Member

newgene commented Aug 5, 2024

Currently, we still support /annotator endpoint for back-compalibility:

[old]GET /annotator/<curie> same as [new]GET /curie/<curie>
[old]POST /annotator same as [new]POST /trapi

We should make these steps to deprecate /annotator endpoint eventually:

  1. [currently] keep legacy /annotator endpoint support for now and notify users to use the new endpoints
  2. ask ITRB to set up redirection of /annotator to proper new URL for both GET and POST
  3. remove /annotator endpoint support from our own application
  4. [in the future] when there is no or very few requests sending to /annotator we can ask to remove the redirection
@newgene newgene added the enhancement New feature or request label Aug 5, 2024
@ctrl-schaff ctrl-schaff linked a pull request Aug 12, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants