GET /metagenomics/api/v1/studies/MGYS00001323/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/MGYS00001323/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001323/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "ERS1015417",
            "attributes": {
                "latitude": 51.35,
                "longitude": 9.05,
                "biosample": "SAMEA3708268",
                "sample-metadata": [
                    {
                        "key": "investigation type",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "project name",
                        "value": "SB1",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2012-11",
                        "unit": null
                    },
                    {
                        "key": "sequencing method",
                        "value": "Illumina MiSeq",
                        "unit": null
                    },
                    {
                        "key": "NCBI sample classification",
                        "value": "256318",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "Illumina MiSeq",
                        "unit": null
                    },
                    {
                        "key": "ENA checklist",
                        "value": "GSC MIxS plant associated (ERC000020)",
                        "unit": null
                    },
                    {
                        "key": "plant-associated environmental package",
                        "value": "plant-associated",
                        "unit": null
                    }
                ],
                "accession": "ERS1015417",
                "analysis-completed": "2016-11-28",
                "collection-date": null,
                "geo-loc-name": "Germany",
                "sample-desc": "Taxonomic analysis of the microbial community in stored sugar beets using high-throughput sequencing of different marker genes",
                "environment-biome": "Field",
                "environment-feature": "Sugarbeet",
                "environment-material": "Sugarbeet",
                "sample-name": "Taxonomic analysis of the microbial community in stored sugar beets using high-throughput sequencing of different marker genes",
                "sample-alias": "SB1",
                "host-tax-id": 3555,
                "species": "Beta vulgaris",
                "last-update": "2016-11-28T10:42:04"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Plants"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Plants?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1015417/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00001323",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001323?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1015417/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1015417?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 1
        }
    }
}