GET /metagenomics/api/v1/studies/MGYS00002070/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/MGYS00002070/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00002070/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "ERS438002",
            "attributes": {
                "latitude": -35.1069,
                "biosample": "SAMEA2468442",
                "longitude": 139.2724,
                "sample-metadata": [
                    {
                        "key": "investigation type",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "project name",
                        "value": "ASS lime injection",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "139.27242482",
                        "unit": "DD"
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Australia",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "01/02/2013",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "Grassland",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "Farmland",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "Clay",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "soil",
                        "unit": null
                    },
                    {
                        "key": "sequencing method",
                        "value": "Illumina Miseq",
                        "unit": null
                    },
                    {
                        "key": "depth",
                        "value": "0.55",
                        "unit": "m"
                    },
                    {
                        "key": "geographic location (elevation)",
                        "value": "50",
                        "unit": "m"
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "-35.10687009",
                        "unit": "DD"
                    },
                    {
                        "key": "NCBI sample classification",
                        "value": "410658",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "Illumina MiSeq",
                        "unit": null
                    },
                    {
                        "key": "ENA checklist",
                        "value": "GSC MIxS soil (ERC000022)",
                        "unit": null
                    }
                ],
                "accession": "ERS438002",
                "analysis-completed": "2014-04-29",
                "collection-date": "2013-02-01",
                "geo-loc-name": "Australia",
                "sample-desc": "ASS lime injection - injection site",
                "environment-biome": "Grassland",
                "environment-feature": "Farmland",
                "environment-material": "Clay",
                "sample-name": "MLb06",
                "sample-alias": "ASS lime injection - injection site",
                "host-tax-id": null,
                "species": null,
                "last-update": "2015-08-13T15:30:57"
            },
            "relationships": {
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS438002/runs?format=api"
                    }
                },
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Environmental:Terrestrial:Soil:Clay"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Terrestrial:Soil:Clay?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS438002/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00000373",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00000373?format=api"
                            }
                        },
                        {
                            "type": "studies",
                            "id": "MGYS00002070",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00002070?format=api"
                            }
                        }
                    ]
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS438002?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 1
        }
    }
}