GET /metagenomics/api/v1/studies/MGYS00002013/samples?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "links": {
        "first": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00002013/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00002013/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "ERS433966",
            "attributes": {
                "sample-metadata": [
                    {
                        "key": "investigation type",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "project name",
                        "value": "Antibiotic resistance in the external environment",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "78.3563333",
                        "unit": "DD"
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "India",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2008-03",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "freshwater lake biome",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "freshwater lake",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "sediment",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "sediment",
                        "unit": null
                    },
                    {
                        "key": "sequencing method",
                        "value": "Illumina HiSeq 2000",
                        "unit": null
                    },
                    {
                        "key": "depth",
                        "value": "0.1",
                        "unit": "m"
                    },
                    {
                        "key": "perturbation",
                        "value": "pharmaceutical pollution",
                        "unit": null
                    },
                    {
                        "key": "geographic location (elevation)",
                        "value": "10",
                        "unit": "m"
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "17.5741667",
                        "unit": "DD"
                    },
                    {
                        "key": "NCBI sample classification",
                        "value": "749907",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "Illumina HiSeq 2000",
                        "unit": null
                    },
                    {
                        "key": "ENA checklist",
                        "value": "GSC MIxS sediment (ERC000021)",
                        "unit": null
                    }
                ],
                "latitude": 17.5742,
                "biosample": "SAMEA2452533",
                "longitude": 78.3563,
                "accession": "ERS433966",
                "analysis-completed": "2014-05-14",
                "collection-date": null,
                "geo-loc-name": "India",
                "sample-desc": "Lake sediment from Indian Lake",
                "environment-biome": "freshwater lake biome",
                "environment-feature": "freshwater lake",
                "environment-material": "sediment",
                "sample-name": "INDIAN LAKE",
                "sample-alias": "Lake sediment from Indian Lake",
                "host-tax-id": null,
                "species": null,
                "last-update": "2015-08-13T15:31:00"
            },
            "relationships": {
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS433966/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00000388",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00000388?format=api"
                            }
                        },
                        {
                            "type": "studies",
                            "id": "MGYS00002013",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00002013?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS433966/runs?format=api"
                    }
                },
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Environmental:Aquatic:Freshwater:Lake"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Freshwater:Lake?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS433966?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 1
        }
    }
}