The SRA API is a swagger 2.0 compliant API. As such, it is described by a json file that can be used to build additional clients in many other languages. See https://swagger.io/ for more details.

sra_get_swagger_json_url(version = "1.0")

Arguments

version

character(1), the API version

Value

character(1), the URL of the swagger.json file.

Examples

sra_get_swagger_json_url()
#> [1] "https://api-omicidx.cancerdatasci.org/sra/1.0/swagger.json"