GET /metagenomics/api/v1/publications/24800821/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/24800821/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/publications/24800821/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "SRS557369",
            "attributes": {
                "sample-metadata": [
                    {
                        "key": "investigation type",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Nanticoke Harbour, ON, Canada",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2011-01-01",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "plankton community",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "water",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "454 GS FLX Titanium",
                        "unit": null
                    },
                    {
                        "key": "last update date",
                        "value": "2015-06-23",
                        "unit": null
                    }
                ],
                "latitude": null,
                "biosample": "SAMN02615834",
                "longitude": null,
                "accession": "SRS557369",
                "analysis-completed": "2019-04-05",
                "collection-date": "2011-01-01",
                "geo-loc-name": "Nanticoke Harbour, ON, Canada",
                "sample-desc": "Keywords: GSC:MIxS;MIMS:3.0",
                "environment-biome": "plankton community",
                "environment-feature": null,
                "environment-material": null,
                "sample-name": "Nanticoke plankton",
                "sample-alias": "Nanticoke plankton",
                "host-tax-id": null,
                "species": null,
                "last-update": "2019-04-05T20:54:32"
            },
            "relationships": {
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS557369/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00004203",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00004203?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS557369/runs?format=api"
                    }
                },
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Environmental:Aquatic:Marine"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Marine?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS557369?format=api"
            }
        },
        {
            "type": "samples",
            "id": "SRS553118",
            "attributes": {
                "sample-metadata": [
                    {
                        "key": "investigation type",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Bayside Harbour, NS, Canada",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2011-01-01",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "plankton community",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "water",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "454 GS FLX Titanium",
                        "unit": null
                    },
                    {
                        "key": "last update date",
                        "value": "2015-06-23",
                        "unit": null
                    }
                ],
                "latitude": null,
                "biosample": "SAMN02615833",
                "longitude": null,
                "accession": "SRS553118",
                "analysis-completed": "2019-04-05",
                "collection-date": "2011-01-01",
                "geo-loc-name": "Bayside Harbour, NS, Canada",
                "sample-desc": "This sample has been submitted by RCEES, Chinese Academy of Sciences on 2014-02-20; marine metagenome",
                "environment-biome": "plankton community",
                "environment-feature": null,
                "environment-material": null,
                "sample-name": "Bayside plankton",
                "sample-alias": "Bayside plankton",
                "host-tax-id": null,
                "species": null,
                "last-update": "2019-04-05T20:53:57"
            },
            "relationships": {
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS553118/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00004202",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00004202?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS553118/runs?format=api"
                    }
                },
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Environmental:Aquatic:Marine"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Marine?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS553118?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 2
        }
    }
}