Virus

Get a virus data report

Changed on

Get a virus data report. By default, in paged JSON format, but also available in tabular (accept: text/tab-separated-values) or JSON Lines (accept: application/x-ndjson) formats.

post/virus

Request

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

Request body

returned_content'COMPLETE' | 'ACCESSIONS_ONLY'
table_fieldsstring[]
table_formatstring
page_sizeinteger
page_tokenstring

Response

A successful response

total_countinteger
next_page_tokenstring

Changes

    • info

      the request property default value COMPLETE was added

    • info

      the response's property default value UNKNOWN was added for the status (media type: application/json)

    • info

      the response's property default value UNKNOWN was added for the status (media type: application/x-ndjson)

    • info

      the response's property default value none was added for the status (media type: application/json)

    • info

      the response's property default value none was added for the status (media type: application/x-ndjson)

    • info

      the response's property default value PURPOSE_OF_SAMPLING_UNKNOWN was added for the status (media type: application/json)

    • info

      the response's property default value PURPOSE_OF_SAMPLING_UNKNOWN was added for the status (media type: application/x-ndjson)

    • info

      the request property default value COMPLETE was removed

    • info

      added the optional property // to the response with the status (media type: application/json)

    • info

      added the optional property // to the response with the status (media type: application/x-ndjson)

    • info

      the response's property default value UNKNOWN was removed for the status (media type: application/json)

    • info

      the response's property default value UNKNOWN was removed for the status (media type: application/x-ndjson)

    • info

      the response's property default value none was removed for the status (media type: application/json)

    • info

      the response's property default value none was removed for the status (media type: application/x-ndjson)

    • info

      the response's property default value PURPOSE_OF_SAMPLING_UNKNOWN was removed for the status (media type: application/json)

    • info

      the response's property default value PURPOSE_OF_SAMPLING_UNKNOWN was removed for the status (media type: application/x-ndjson)