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

Route to resolve multiple genes meta in a single query #13

Open
lpalbou opened this issue Mar 26, 2021 · 1 comment
Open

Route to resolve multiple genes meta in a single query #13

lpalbou opened this issue Mar 26, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@lpalbou
Copy link

lpalbou commented Mar 26, 2021

Right now, queries like https://api.geneontology.org/api/search/entity/autocomplete/WB:WBGene00019444?category=gene&rows=1 can be used to retrieve some basic meta of a gene. Equivalent can be done with http://api.geneontology.org/api/search/entity/WB%3AWBGene00019444?rows=20&start=0.

No route allows to get meta for multiple genes, to avoid multiple calls to the API / SOLr.

The refactoring of the API is a long pending work that should be prioritized at some point.

Note: anti patterns to access directly those meta from SOLr are possible, but we do need to keep an abstraction level to stop being stucked with certain technologies and versions and allow to rewrite only isolated parts of the platform when needed.

@lpalbou lpalbou added the enhancement New feature or request label Mar 26, 2021
@noxeee
Copy link

noxeee commented Apr 8, 2022

I second this. It would be great for my current project as I do not want to overwhelm the API by many requests and getting all the data at once would be awesome.

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

2 participants