GET /metagenomics/api/v1/studies/MGYS00000830/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/MGYS00000830/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00000830/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "SRS479746",
            "attributes": {
                "longitude": null,
                "biosample": "SAMN02352883",
                "latitude": null,
                "sample-metadata": [
                    {
                        "key": "investigation type",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "project name",
                        "value": "analysis of bacterial and archaeal communities at the initial methanogenic phases (IMP)",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "missing",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "China: Shanghai",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2012-9-25",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "fresh landfill leachate",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "the initial methanogenic phases (IMP)",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "water",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "MIGS/MIMS/MIMARKS.wastewater",
                        "unit": null
                    },
                    {
                        "key": "NCBI sample classification",
                        "value": "527639",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "454 GS FLX",
                        "unit": null
                    }
                ],
                "accession": "SRS479746",
                "analysis-completed": "2016-05-04",
                "collection-date": null,
                "geo-loc-name": null,
                "sample-desc": "MIMS Environmental/Metagenome sample from bacteria",
                "environment-biome": null,
                "environment-feature": null,
                "environment-material": null,
                "sample-name": "MIMS Environmental/Metagenome sample from bacteria",
                "sample-alias": "IMP",
                "host-tax-id": null,
                "species": null,
                "last-update": "2016-05-04T10:09:38"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Engineered:Wastewater"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Engineered:Wastewater?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS479746/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00000830",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00000830?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS479746/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS479746?format=api"
            }
        },
        {
            "type": "samples",
            "id": "SRS479747",
            "attributes": {
                "longitude": null,
                "biosample": "SAMN02352884",
                "latitude": null,
                "sample-metadata": [
                    {
                        "key": "investigation type",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "project name",
                        "value": "analysis of bacterial and archaeal communities at the stable methanogenic phases (SMP)",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "missing",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "China: Shanghai",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "25-Sep-2012",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "old landfill leachate",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "the stable methanogenic phases (SMP)",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "water",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "MIGS/MIMS/MIMARKS.wastewater",
                        "unit": null
                    },
                    {
                        "key": "NCBI sample classification",
                        "value": "527639",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "454 GS FLX",
                        "unit": null
                    }
                ],
                "accession": "SRS479747",
                "analysis-completed": "2016-05-04",
                "collection-date": null,
                "geo-loc-name": null,
                "sample-desc": "MIMS Environmental/Metagenome sample from bacteria",
                "environment-biome": null,
                "environment-feature": null,
                "environment-material": null,
                "sample-name": "MIMS Environmental/Metagenome sample from bacteria",
                "sample-alias": "SMP",
                "host-tax-id": null,
                "species": null,
                "last-update": "2016-05-04T10:09:38"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Engineered:Wastewater"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Engineered:Wastewater?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS479747/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00000830",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00000830?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS479747/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS479747?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 2
        }
    }
}