GET /metagenomics/api/v1/studies/MGYS00001713/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/MGYS00001713/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001713/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "ERS1669916",
            "attributes": {
                "latitude": 0.5949,
                "biosample": "SAMEA103980748",
                "longitude": -47.2986,
                "sample-metadata": [
                    {
                        "key": "investigation type",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "-47.29861",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Brazil",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2016-11-12",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "Amazon",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "Sea",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "Water",
                        "unit": null
                    },
                    {
                        "key": "sequencing method",
                        "value": "Ion semiconductor sequencing",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "0.594889",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "Ion Torrent PGM",
                        "unit": null
                    }
                ],
                "accession": "ERS1669916",
                "analysis-completed": "2017-04-27",
                "collection-date": "2016-11-12",
                "geo-loc-name": "Brazil",
                "sample-desc": "Sample obtained at Atalaia's beach during the low tidal with sterile bottles",
                "environment-biome": "Amazon",
                "environment-feature": "Sea",
                "environment-material": "Water",
                "sample-name": "MAR_Salinas",
                "sample-alias": "MAR_S_2017",
                "host-tax-id": null,
                "species": null,
                "last-update": "2017-04-27T15:10:00"
            },
            "relationships": {
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1669916/runs?format=api"
                    }
                },
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Environmental:Aquatic:Freshwater:Groundwater"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Freshwater:Groundwater?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1669916/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00001713",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001713?format=api"
                            }
                        }
                    ]
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1669916?format=api"
            }
        },
        {
            "type": "samples",
            "id": "ERS1681977",
            "attributes": {
                "latitude": 0.6168,
                "biosample": "SAMEA104017139",
                "longitude": -47.3361,
                "sample-metadata": [
                    {
                        "key": "investigation type",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "-47.336056",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Brazil",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2016-11-12",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "Amazon",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "Mangrove",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "Sediment",
                        "unit": null
                    },
                    {
                        "key": "sequencing method",
                        "value": "semiconductor",
                        "unit": null
                    },
                    {
                        "key": "elevation",
                        "value": "0.0",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "0.616778",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "Ion Torrent PGM",
                        "unit": null
                    }
                ],
                "accession": "ERS1681977",
                "analysis-completed": "2017-04-27",
                "collection-date": "2016-11-12",
                "geo-loc-name": "Brazil",
                "sample-desc": "Sample obtained at Salinopolis' mangrove during the low tidal with sterile bottles",
                "environment-biome": "Amazon",
                "environment-feature": "Mangrove",
                "environment-material": "Sediment",
                "sample-name": "MANGUE_salinas",
                "sample-alias": "1",
                "host-tax-id": null,
                "species": null,
                "last-update": "2017-04-27T15:10:00"
            },
            "relationships": {
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1681977/runs?format=api"
                    }
                },
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Environmental:Aquatic:Freshwater:Groundwater"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Freshwater:Groundwater?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1681977/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00001713",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001713?format=api"
                            }
                        }
                    ]
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1681977?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 2
        }
    }
}