GET /metagenomics/api/v1/studies/MGYS00000751/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/MGYS00000751/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00000751/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "SRS403323",
            "attributes": {
                "latitude": null,
                "longitude": null,
                "sample-metadata": [
                    {
                        "key": "investigation type",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "project name",
                        "value": "fungal diversity",
                        "unit": null
                    },
                    {
                        "key": "geographic location (depth)",
                        "value": "0-10cm",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Gutianshan National Nature Reserve, China",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "April_2009",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "subtropical forest",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "soil",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "MIGS/MIMS/MIMARKS.soil",
                        "unit": null
                    },
                    {
                        "key": "elevation",
                        "value": "251 - 620",
                        "unit": null
                    },
                    {
                        "key": "NCBI sample classification",
                        "value": "410658",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "454 GS FLX Titanium",
                        "unit": null
                    }
                ],
                "biosample": "SAMN01985539",
                "accession": "SRS403323",
                "analysis-completed": "2016-04-20",
                "collection-date": null,
                "geo-loc-name": null,
                "sample-desc": "MIMS Environmental/Metagenome sample from Fungi",
                "environment-biome": null,
                "environment-feature": null,
                "environment-material": null,
                "sample-name": "MIMS Environmental/Metagenome sample from Fungi",
                "sample-alias": "CSP_fungal_ITS",
                "host-tax-id": null,
                "species": null,
                "last-update": "2016-04-20T21:42:08"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Environmental:Terrestrial:Soil:Forest soil"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Terrestrial:Soil:Forest%20soil?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS403323/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00000751",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00000751?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS403323/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS403323?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 1
        }
    }
}