GET /metagenomics/api/v1/publications/23516617/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/publications/23516617/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/publications/23516617/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "ERS212677",
            "attributes": {
                "sample-metadata": [
                    {
                        "key": "investigation type",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "project name",
                        "value": "Smoking Cessation Trial",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "8.550",
                        "unit": "DD"
                    },
                    {
                        "key": "collection date",
                        "value": "2009-2010",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "human",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "city",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "ethanol pbs",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "human-gut",
                        "unit": null
                    },
                    {
                        "key": "sequencing method",
                        "value": "Pyrosequencing",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "47.367",
                        "unit": "DD"
                    },
                    {
                        "key": "NCBI sample classification",
                        "value": "749906",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "454 GS FLX Titanium",
                        "unit": null
                    }
                ],
                "latitude": 47.367,
                "biosample": "SAMEA1713587",
                "longitude": 8.55,
                "accession": "ERS212677",
                "analysis-completed": "2013-09-02",
                "collection-date": null,
                "geo-loc-name": "Switzerland",
                "sample-desc": "Human gut metagenome, stool sample",
                "environment-biome": "host-associated biome",
                "environment-feature": "host-associated habitat",
                "environment-material": "faeces",
                "sample-name": "Stool sample",
                "sample-alias": "Stool sample",
                "host-tax-id": 9606,
                "species": "Homo sapiens",
                "last-update": "2015-08-13T15:30:54"
            },
            "relationships": {
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS212677/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00000319",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00000319?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS212677/runs?format=api"
                    }
                },
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Human:Digestive system:Large intestine:Fecal"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Human:Digestive%20system:Large%20intestine:Fecal?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS212677?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 1
        }
    }
}