Genome

Get a download summary (preview) of a genome data package by genome assembly accession

Changed on

Get a downlaod summary (preview) of a genome data package, including counts and file sizes, in JSON format.

post/genome/download_summary

Request

  • Base URL
    https://api.ncbi.nlm.nih.gov/datasets/v2
  • Auth
    API key in header api-key

Request body

accessionsstring[]
chromosomesstring[]
include_annotation_typeV2AnnotationForAssemblyType[]
hydrated'FULLY_HYDRATED' | 'DATA_REPORT_ONLY'
include_tsvboolean

Response

A successful response

record_countinteger
assembly_countinteger
resource_updated_onstring date-time

Changes

    • info

      added the new DEFAULT enum value to the request property /

    • info

      added the optional property // to the response with the status

    • info

      added the optional property /// to the response with the status

    • breaking

      removed the enum value GENOME_GB of the request property /

    • info

      the request property default value DEFAULT was added

    • info

      the request property default value FULLY_HYDRATED was added

    • info

      the response's property default value UNKNOWN_ASSEMBLY_ERROR_CODE was added for the status

    • info

      the response's property default value UNKNOWN_ASSEMBLY_ERROR_CODE was added for the status

    • info

      the response's property default value UNKNOWN_GENE_ERROR_CODE was added for the status

    • info

      the response's property default value UNKNOWN_GENE_ERROR_CODE was added for the status

    • info

      the response's property default value UNKNOWN_GENE_WARNING_CODE was added for the status

    • info

      the response's property default value UNKNOWN_ORGANELLE_ERROR_CODE was added for the status

    • info

      the response's property default value UNKNOWN_ORGANELLE_ERROR_CODE was added for the status

    • info

      the response's property default value UNKNOWN_TAXONOMY_ERROR_CODE was added for the status

    • info

      the response's property default value UNKNOWN_TAXONOMY_ERROR_CODE was added for the status

    • info

      the response's property default value UNKNOWN_VIRUS_ERROR_CODE was added for the status

    • info

      the response's property default value UNKNOWN_VIRUS_ERROR_CODE was added for the status