GET /metagenomics/api/v1/studies/MGYS00000871/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/MGYS00000871/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00000871/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "SRS584124",
            "attributes": {
                "latitude": null,
                "biosample": "SAMN02678185",
                "longitude": null,
                "sample-metadata": [
                    {
                        "key": "investigation type",
                        "value": "miens-survey",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "8.16596 S 34.97907 W",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Brazil",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "24-Apr-2012",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "landfill leachate",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "sanitary landfill leachate collection pond",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "water",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "MIGS/MIMS/MIMARKS.wastewater",
                        "unit": null
                    },
                    {
                        "key": "sample collection device or method",
                        "value": "airtight plastic container",
                        "unit": null
                    },
                    {
                        "key": "pH",
                        "value": "7.66",
                        "unit": null
                    },
                    {
                        "key": "wastewater type",
                        "value": "raw landfill leachate",
                        "unit": null
                    },
                    {
                        "key": "NCBI sample classification",
                        "value": "527639",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "454 GS FLX Titanium",
                        "unit": null
                    }
                ],
                "accession": "SRS584124",
                "analysis-completed": "2016-05-10",
                "collection-date": null,
                "geo-loc-name": null,
                "sample-desc": "Raw leachate generated from waste that was landfilled in 2011/ 2012",
                "environment-biome": null,
                "environment-feature": null,
                "environment-material": null,
                "sample-name": "L1yo",
                "sample-alias": "L1yo",
                "host-tax-id": null,
                "species": null,
                "last-update": "2016-05-10T16:27:01"
            },
            "relationships": {
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS584124/runs?format=api"
                    }
                },
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Environmental:Terrestrial:Soil:Contaminated"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Terrestrial:Soil:Contaminated?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS584124/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00000871",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00000871?format=api"
                            }
                        }
                    ]
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS584124?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 1
        }
    }
}