Get an organelle data report by taxon
Changed onGet an organelle data report in JSON format.
Request
- Base URLhttps://api.ncbi.nlm.nih.gov/datasets/v2
- AuthAPI key in header api-key
Path parameters
NCBI Taxonomy ID or name (common or scientific) at any taxonomic rank
Query parameters
Limit results to the specified organelle types.
Limit results to organelle genomes released on or after the specified date.
Limit results to organelle genomes released on or before the specified date.
If true, only return assemblies with the given NCBI Taxonomy ID, or name. Otherwise, assemblies from taxonomy subtree are included, too.
Return complete organelle reports or nucleotide accessions only.
The maximum number of organelle assemblies to return. Default is 20 and maximum is 1000. If the number of results exceeds the page size, page_token can be used to retrieve the remaining results.
A page token is returned from an OrganelleMetadata call with more than page_size results. Use this token, along with the previous OrganelleMetadata parameters, to retrieve the next page of results. When page_token is empty, all results have been retrieved.
Specify a predefined set of fields for the tabular report using built-in templates. Use of this parameter requires the HTTP header, accept: text/tab-separated-values.
Specify when to include the table header when requesting a tabular report.
Response
A successful response
Changes
- info
added the media type
application/x-ndjsonfor the response with the status - info
added the media type
text/tab-separated-valuesfor the response with the status - info
added the optional property
///to the response with the status
- info
- breaking
for the
queryrequest parameterinclude_tabular_header, default valueINCLUDE_TABULAR_HEADER_FIRST_PAGE_ONLYwas added - breaking
for the
queryrequest parameterreturned_content, default valueCOMPLETEwas added - breaking
for the
queryrequest parametersort.direction, default valueSORT_DIRECTION_UNSPECIFIEDwas added - breaking
for the
queryrequest parametertable_format, default valueORGANELLE_TABLE_FORMAT_NO_TABLEwas added - info
the
response's property default valueUNKNOWN_ASSEMBLY_ERROR_CODEwas added for the status - info
the
response's property default valueORGANELLE_TYPE_UNKNOWNwas added for the status - info
the
response's property default valueUNKNOWN_GENE_ERROR_CODEwas added for the status - info
the
response's property default valueUNKNOWN_GENE_WARNING_CODEwas added for the status - info
the
response's property default valueUNKNOWN_ORGANELLE_ERROR_CODEwas added for the status - info
the
response's property default valueUNKNOWN_TAXONOMY_ERROR_CODEwas added for the status - info
the
response's property default valueTOPOLOGY_UNKNOWNwas added for the status - info
the
response's property default valueUNKNOWN_VIRUS_ERROR_CODEwas added for the status
- breaking