Skip to content

Add available_datasets to genome /details endpoint#82

Open
bilalebi wants to merge 1 commit intomainfrom
add-available-datasets
Open

Add available_datasets to genome /details endpoint#82
bilalebi wants to merge 1 commit intomainfrom
add-available-datasets

Conversation

@bilalebi
Copy link
Contributor

@bilalebi bilalebi commented Jan 16, 2026

Description

Add available_datasets to genome /details endpoint

Review App URL(s)

Example(s)

Query

http://127.0.0.1:8014/api/metadata/genome/a7335667-93e7-11ec-a39d-005056b38ce3/details

Response

{
  "genome_id": "a7335667-93e7-11ec-a39d-005056b38ce3",
  "genome_tag": "grch38",
  "common_name": "Human",
  "scientific_name": "Homo sapiens",
  "species_taxonomy_id": "9606",
  "type": null,
  "is_reference": true,
  "assembly": {
    "accession_id": "GCA_000001405.29",
    "name": "GRCh38.p14",
    "url": "https://identifiers.org/insdc.gca/GCA_000001405.29"
  },
  "release": {
    "name": "2025-02",
    "type": "integrated"
  },
  "taxonomy_id": "9606",
  "assembly_provider": null,
  "assembly_level": "chromosome",
  "assembly_date": "2013-12",
  "annotation_provider": {
    "name": "Ensembl",
    "url": "https://www.ensembl.org"
  },
  "annotation_method": "Ensembl Genebuild",
  "annotation_version": "44",
  "annotation_date": "2023-03",
  "number_of_genomes_in_group": 565,
  "available_datasets": [                  <----- newly added field
    "regulatory_features",
    "assembly",
    "homologies",
    "genebuild",
    "variation"
  ]
}

Dependencies

This PR: Ensembl/ensembl-metadata-api#180 should be merged first for this to work properly

@bilalebi bilalebi self-assigned this Jan 16, 2026
@veidenberg veidenberg requested a review from azangru January 19, 2026 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant