GET /metagenomics/api/v1/studies/MGYS00001729/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/MGYS00001729/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001729/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "ERS484049",
            "attributes": {
                "sample-metadata": [
                    {
                        "key": "investigation type",
                        "value": "mimarks-survey",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "10.262411",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Germany",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2010-06-01/2010-06-30",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "agricultural",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "rivulet",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "plant surface",
                        "unit": null
                    },
                    {
                        "key": "sequencing method",
                        "value": "pyrosequencing",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "49.769257",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "454 GS Junior",
                        "unit": null
                    }
                ],
                "latitude": 49.7693,
                "biosample": "SAMEA2610545",
                "longitude": 10.2624,
                "accession": "ERS484049",
                "analysis-completed": "2017-05-04",
                "collection-date": "2010-06-01",
                "geo-loc-name": "Germany",
                "sample-desc": "Lythrum salicaria surface",
                "environment-biome": "agricultural",
                "environment-feature": "rivulet",
                "environment-material": "plant surface",
                "sample-name": "LS1leave",
                "sample-alias": "LS1leave",
                "host-tax-id": 13129,
                "species": "Lythrum salicaria",
                "last-update": "2017-05-04T09:22:14"
            },
            "relationships": {
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS484049/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00001729",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001729?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS484049/runs?format=api"
                    }
                },
                "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"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS484049?format=api"
            }
        },
        {
            "type": "samples",
            "id": "ERS484050",
            "attributes": {
                "sample-metadata": [
                    {
                        "key": "investigation type",
                        "value": "mimarks-survey",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "10.262411",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Germany",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2010-06-01/2010-06-30",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "agricultural",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "rivulet",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "plant surface",
                        "unit": null
                    },
                    {
                        "key": "sequencing method",
                        "value": "pyrosequencing",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "49.769257",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "454 GS Junior",
                        "unit": null
                    }
                ],
                "latitude": 49.7693,
                "biosample": "SAMEA2610546",
                "longitude": 10.2624,
                "accession": "ERS484050",
                "analysis-completed": "2017-05-04",
                "collection-date": "2010-06-01",
                "geo-loc-name": "Germany",
                "sample-desc": "Lythrum salicaria surface",
                "environment-biome": "agricultural",
                "environment-feature": "rivulet",
                "environment-material": "plant surface",
                "sample-name": "LS2flower",
                "sample-alias": "LS2flower",
                "host-tax-id": 13129,
                "species": "Lythrum salicaria",
                "last-update": "2017-05-04T09:22:14"
            },
            "relationships": {
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS484050/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00001729",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001729?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS484050/runs?format=api"
                    }
                },
                "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"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS484050?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 2
        }
    }
}