GET /metagenomics/api/v1/studies/MGYS00000798/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/MGYS00000798/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00000798/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "SRS471920",
            "attributes": {
                "latitude": null,
                "longitude": null,
                "sample-metadata": [
                    {
                        "key": "investigation type",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "project name",
                        "value": "Manure refinement",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "39 57 54.6 N, 116 12 59.3 E",
                        "unit": null
                    },
                    {
                        "key": "geographic location (depth)",
                        "value": "0-0.4 m",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Beijing, China",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2012.08.16",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "soil",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "rhizosphere",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "rhizosphere?soil?",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "MIGS/MIMS/MIMARKS.soil",
                        "unit": null
                    },
                    {
                        "key": "elevation",
                        "value": "59 m",
                        "unit": null
                    },
                    {
                        "key": "soil type",
                        "value": "sandy and loam",
                        "unit": null
                    },
                    {
                        "key": "NCBI sample classification",
                        "value": "939928",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "454 GS FLX",
                        "unit": null
                    }
                ],
                "biosample": "SAMN02324090",
                "accession": "SRS471920",
                "analysis-completed": "2016-05-02",
                "collection-date": null,
                "geo-loc-name": null,
                "sample-desc": "MIMS Environmental/Metagenome sample from rhizosphere metagenome",
                "environment-biome": null,
                "environment-feature": null,
                "environment-material": null,
                "sample-name": "MIMS Environmental/Metagenome sample from rhizosphere metagenome",
                "sample-alias": "Impact of manure refinement on apple rhizosphere bacteria community",
                "host-tax-id": null,
                "species": null,
                "last-update": "2016-05-02T13:18:29"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Plants:Rhizosphere"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Plants:Rhizosphere?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS471920/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00000798",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00000798?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS471920/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS471920?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 1
        }
    }
}