Skip to content
Snippets Groups Projects

Added new release query option and extended payload

Open Jon Keatley requested to merge integrated_release_contract_update into master

This PR contains a contract update to add in the optional query parameter release and include a release payload in the payload for the genome endpoint

Example request: http://beta.ensembl.org/api/search/genomes?query=Human&release=20243-10

Example payload

{
  "matches": [
    {
      "genome_id": "a7335667-93e7-11ec-a39d-005056b38ce3",
      "genome_tag": "grch38",
      "species_taxonomy_id": "9606",
      "organism_id": "12345",
      "common_name": "Human",
      "scientific_name": "Homo sapiens",
      "type": {
        "kind": "population",
        "value": "African Caribbean In Barbados"
      },
      "first_release": {
        "name": "2023-10",
        "type": "integrated"
      },
      "is_reference": true,
      "assembly": {
        "accession_id": "GCA_018466855.1",
        "name": "HG02559.alt.pat.f1_v2",
        "url": "https://www.ebi.ac.uk/ena/browser/view/GCA_018466855.1"
      },
      "coding_genes_count": 20446,
      "contig_n50": 56413054,
      "has_variation": true,
      "has_regulation": true,
      "annotation_provider": "Ensembl",
      "annotation_method": "Full genebuild",
      "rank": 1
    }
  ],
  "meta": {
    "total_count": 98
  }
}
Edited by Jon Keatley

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply