GET /datasets/{id}
This method returns a single dataset.
Name | Value |
---|---|
Request Protocol | GET |
Requires API Key | No |
Cache Time | 0 seconds |
- A
404
error is returned if an item is not found.
GET /datasets/{id}
Parameter | Type | Value | Required | Default | Description |
---|---|---|---|---|---|
indent | input | boolean | no | false | Add indentation to response |
type | input | - | no | dataset_id | Define whether id = dataset_id or id = dataset_name |
- JSON
GET /datasets/{id}
- http://api.pharmacodb.ca/v1/datasets/1
- http://api.pharmacodb.ca/v1/datasets/ccle?type=name
- http://api.pharmacodb.ca/v1/datasets/1?indent=true
JSON, using the dataset CCLE.
{
"id": 1,
"name": "CCLE"
}