GET /metagenomics/api/v1/studies/MGYS00002147/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/MGYS00002147/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00002147/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "SRS532178",
            "attributes": {
                "sample-metadata": [
                    {
                        "key": "investigation type",
                        "value": "miens-survey",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "116.56",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Beijing,China",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "microbiome,16S barcoded pyrosequencing",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "human-oral",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "40.73",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "454 GS FLX Titanium",
                        "unit": null
                    },
                    {
                        "key": "host sex",
                        "value": "female",
                        "unit": null
                    },
                    {
                        "key": "host scientific name",
                        "value": "Homo sapiens",
                        "unit": null
                    }
                ],
                "longitude": 116.56,
                "biosample": "SAMN02584163",
                "latitude": 40.73,
                "accession": "SRS532178",
                "analysis-completed": "2018-01-22",
                "collection-date": null,
                "geo-loc-name": "Beijing,China",
                "sample-desc": "Keywords: GSC:MIxS;MIMARKS:4.0",
                "environment-biome": "microbiome,16S barcoded pyrosequencing",
                "environment-feature": null,
                "environment-material": null,
                "sample-name": "A",
                "sample-alias": "A",
                "host-tax-id": 9606,
                "species": "Homo sapiens",
                "last-update": "2018-01-22T16:38:26"
            },
            "relationships": {
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS532178/runs?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS532178/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00002147",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00002147?format=api"
                            }
                        }
                    ]
                },
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Human:Digestive system:Oral"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Human:Digestive%20system:Oral?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS532178?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 1
        }
    }
}