Skip to content

Get a URL for fetching bytes

GET
/objects/{object_id}/access/{access_id}
curl --request GET \
--url https://raw.githubusercontent.com/ga4gh/drs/v1/objects/example/access/example

Returns a URL that can be used to fetch the bytes of a DrsObject.

object_id
required
string format: path

DrsObject identifier

access_id
required
string format: path

An access_id from the access_methods list of a DrsObject

Ok

Media type application/json
object
url

Full URL required to get bytes

string
headers

Array of strings that need to be passed with the URL to get bytes

Array<string>
Example generated
{
"url": "example",
"headers": [
"example"
]
}