ebi-gene-expression-group / atlas-web-single-cell

Single Cell Expression Atlas web application
Apache License 2.0
5 stars 5 forks source link

[Feature/182154560] [Backend] New gene search endpoint #303

Closed ke4 closed 1 year ago

ke4 commented 1 year ago

Changes:

This change adds a new endpoint for gene search (/json/gene-search). This is more or less the duplicate of the existing gene search endpoint (/json/search) with a small change. We are not generating the data for the UI facets (checkbox and dropdown (multi-select) groups) anymore in the backend. We move it to the front end. That means we could also simplify the structure of the results key in the response of this endpoint removing the facets from there. When the gene search refactors/epic has finished we can safely deprecate and remove the current gene search endpoint and probably we could do a bit more code cleaning/simplifying.