GET /metagenomics/api/v1/studies/MGYS00003442/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/MGYS00003442/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00003442/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "ERS2794212",
            "attributes": {
                "biosample": "SAMEA4976141",
                "longitude": 7.6921,
                "sample-metadata": [
                    {
                        "key": "investigation type",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "project name",
                        "value": "Broiler chicken metagenomics",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "7.6921",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Ireland",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2018-01-01",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "Broiler Chicken",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "Gastrointestinal tract",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "caecum",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "host-associated",
                        "unit": null
                    },
                    {
                        "key": "sequencing method",
                        "value": "Illumina HiSeq4000",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "53.1424",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "Illumina HiSeq 4000",
                        "unit": null
                    },
                    {
                        "key": "ENA checklist",
                        "value": "ERC000013",
                        "unit": null
                    },
                    {
                        "key": "last update date",
                        "value": "2018-10-16",
                        "unit": null
                    }
                ],
                "latitude": 53.1424,
                "accession": "ERS2794212",
                "analysis-completed": "2018-11-02",
                "collection-date": "2018-01-01",
                "geo-loc-name": "Ireland",
                "sample-desc": "Broiler caecal samples",
                "environment-biome": "Broiler Chicken",
                "environment-feature": "Gastrointestinal tract",
                "environment-material": "caecum",
                "sample-name": "A",
                "sample-alias": "A",
                "host-tax-id": 9031,
                "species": "Gallus gallus",
                "last-update": "2018-11-02T15:12:04"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Animal:Digestive system"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Animal:Digestive%20system?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2794212/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00003442",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00003442?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2794212/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2794212?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 1
        }
    }
}