Fix routing to handle genomes/gene search
Fix Routing for the search hub.
- Introduce dedicated routes for gene, genomes
- FE is fine with having /api/search/gene and /api/search/genomes
- Removed /search into the repo to avoid ingress level rewrite
- Ingress will now only have /api/search forwarded to search_hub svc without URL rewrite
Gene Search
curl -X POST -H 'Content-Type: application/json' \
-d '{"genome_ids": ["a7335667-93e7-11ec-a39d-005056b38ce3"], "query": "brca2"}' \
'http://genome-search-api.review.ensembl.org/api/search/genes'
Genome Search
curl -X GET 'http://genome-search-api.review.ensembl.org/api/search/genomes?query=human'
Genome Lookup
curl -X GET 'http://genome-search-api.review.ensembl.org/api/search/genomes?species_taxonomy_id=9606'
Edited by Kamal Dodiya