GET /metagenomics/api/v1/studies/MGYS00001007/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/MGYS00001007/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001007/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "SRS676709",
            "attributes": {
                "latitude": null,
                "longitude": null,
                "sample-metadata": [
                    {
                        "key": "geographic location (longitude)",
                        "value": "42.96 N 85.66 W",
                        "unit": null
                    },
                    {
                        "key": "geographic location (depth)",
                        "value": "<1 ft",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "USA: Michigan",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2007-08",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "Agricultural soil growing corn",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "Agricultural soil",
                        "unit": null
                    },
                    {
                        "key": "elevation",
                        "value": "640 ft",
                        "unit": null
                    },
                    {
                        "key": "NCBI sample classification",
                        "value": "410658",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "Illumina MiSeq",
                        "unit": null
                    }
                ],
                "biosample": "SAMN02950725",
                "accession": "SRS676709",
                "analysis-completed": "2016-06-06",
                "collection-date": null,
                "geo-loc-name": null,
                "sample-desc": "MIMS Environmental/Metagenome sample from Microorganisms from unlabeled ethylbenzene fed soil microcosms SIP Unlabel EB 1",
                "environment-biome": null,
                "environment-feature": null,
                "environment-material": null,
                "sample-name": "MIMS Environmental/Metagenome sample from Microorganisms from unlabeled ethylbenzene fed soil microcosms SIP Unlabel EB 1",
                "sample-alias": "SIP Unlabel EB 1",
                "host-tax-id": null,
                "species": null,
                "last-update": "2016-06-06T14:02:03"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Environmental:Terrestrial:Soil:Contaminated"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Terrestrial:Soil:Contaminated?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS676709/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00001007",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001007?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS676709/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS676709?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 1
        }
    }
}