GET /metagenomics/api/v1/studies/MGYS00005683/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/MGYS00005683/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005683/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "ERS2085072",
            "attributes": {
                "latitude": 42.7339,
                "longitude": 25.4858,
                "sample-metadata": [
                    {
                        "key": "investigation type",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "project name",
                        "value": "Gut microbiomes from 359 European pig and poultry herds (EFFORT)",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "25.4858",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Netherlands",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2015-01-01",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "pig",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "gut",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "faeces",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "host-associated",
                        "unit": null
                    },
                    {
                        "key": "sequencing method",
                        "value": "Illumina HiSeq (shotgun)",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "42.7339",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "Illumina HiSeq 2500",
                        "unit": null
                    },
                    {
                        "key": "ENA checklist",
                        "value": "ERC000013",
                        "unit": null
                    },
                    {
                        "key": "last update date",
                        "value": "2018-01-11",
                        "unit": null
                    }
                ],
                "biosample": "SAMEA104467130",
                "accession": "ERS2085072",
                "analysis-completed": "2018-11-21",
                "collection-date": "2015-01-01",
                "geo-loc-name": "Netherlands",
                "sample-desc": "F corresponds to Farm number; S corresponds to sample number",
                "environment-biome": "pig",
                "environment-feature": "gut",
                "environment-material": "faeces",
                "sample-name": "100317001",
                "sample-alias": "100317001",
                "host-tax-id": 9823,
                "species": null,
                "last-update": "2020-12-23T19:06:13"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Birds:Digestive system"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Birds:Digestive%20system?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2085072/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00003488",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00003488?format=api"
                            }
                        },
                        {
                            "type": "studies",
                            "id": "MGYS00005683",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005683?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2085072/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2085072?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 1
        }
    }
}