Skip to content

Add release details to ebi search endpoints

Jon Keatley requested to merge integrated_release_endpoints_update into master

This MR is to extend species search to include release information as described in https://www.ebi.ac.uk/panda/jira/browse/ENSWBSITES-2911.

Changes

  • Added release to genome object to hold the first release (name, type) a genome was part of
  • Added a feature enum to support backwards compatibility while sharing code
  • Added /v1/ and /v2/ versions of /genomes. /v1/ is the same as calling /genomes and was added for symmetry.
  • /v2/ filters by release when provided or f"({RELEASE_TYPE}:partial OR {RELEASE_IS_CURRENT}:1)" if release not provided
  • API contract updated to include /v2/, /v1/ was not included because I couldn't find a reasonable way to do so
  • Tests updated to work with the changes - I fear it was not correct to being with, bad practices meant I failed to run it before making changes
Edited by Jon Keatley

Merge request reports

Loading