This call will return the details of a DRS object.
https://cavatica-ga4gh-api.sbgenomics.com/ga4gh/drs/v1/objects/{object_id}Request
Example request
GET ga4gh/drs/v1/objects/5c24cd21e4b08832c2f94e9c HTTP/1.1
Host: cavatica-ga4gh-api.sbgenomics.com
X-SBG-Auth-Token: 3259c50e1ac5436eb8f1273259740f75GET /ga4gh/drs/v1/objects/5c24cd21e4b08832c2f94e9c HTTP/1.1
Host: cavatica-ga4gh-api.sbgenomics.com
X-SBG-Auth-Token: 3259c50e1ac5436eb8f1273259740f75Header Fields
Key | Description of value |
|---|---|
| Your CAVATICA authentication token. |
Path parameters
Key | Description of value |
|---|---|
| The ID of the DRS object i.e. a file in your project. |
Response
See a list of CAVATICA-specific response codes that may be contained in the body of the response.
Response body
The response object contains information about the DRS object. The information is structured using the following key-value pairs:
Key | Data type of value | Description of value |
|---|---|---|
| String | ID of the DRS object. |
| String | The name of the DRS object. |
| String | The size of the file. |
| Dictionary | This dictionary contains two fields:
|
| String | A drs:// URI, as defined in the DRS documentation, that tells clients how to access this object. The intent of this field is to make DRS objects self-contained, and therefore easier for clients to store and pass around. |
| String | The time and date the object was originally created. |
| String | The time and date the object was last updated. |
| String | Information about the file type. |
| This dictionary contains these fields:
|
Example response body
{
"id": "5c24cd21e4b08832c2f94e9c",
"name": "7ee5a028a6bc0812b1b10aec200b57ac_gdc_realn.bam",
"size": 11305017366,
"checksums": [
{
"type": "etag",
"checksum": "4c555f6a344a35dd75fa4086bb94dccb-43"
}
],
"self_uri": "drs://cavatica-ga4gh-api.sbgenomics.com/5c24cd21e4b08832c2f94e9c",
"created_time": "2018-12-27T13:01:21Z",
"updated_time": "2018-12-27T13:01:21Z",
"mime_type": "application/json",
"access_methods": [
{
"type": "s3",
"region": "us-east-1",
"access_id": "aws-us-east-1"
}
]
}