GET /metagenomics/api/v1/samples/ERS977524?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "data": {
        "type": "samples",
        "id": "ERS977524",
        "attributes": {
            "longitude": -4.0631,
            "biosample": "SAMEA3670375",
            "latitude": 52.4155,
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "metagenome",
                    "unit": null
                },
                {
                    "key": "project name",
                    "value": "WISE",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2013-05",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "miscellaneous natural or artificial environment",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "PGM Ion-Torrent",
                    "unit": null
                },
                {
                    "key": "NCBI sample classification",
                    "value": "506599",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Ion Torrent PGM",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "GSC MIxS miscellaneous natural or artificial environment (ERC000025)",
                    "unit": null
                }
            ],
            "accession": "ERS977524",
            "analysis-completed": "2015-11-20",
            "collection-date": null,
            "geo-loc-name": "United Kingdom",
            "sample-desc": "LAM2(t32)",
            "environment-biome": "Rumen microbiome",
            "environment-feature": "In-vitro fermention (RUSITEC)",
            "environment-material": "Liquid fraction",
            "sample-name": "LAM2(t32)",
            "sample-alias": "LAM 2(t32)",
            "host-tax-id": null,
            "species": null,
            "last-update": "2016-02-03T10:09:33"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Mammals:Digestive system:Stomach:Rumen"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Mammals:Digestive%20system:Stomach:Rumen?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS977524/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00000569",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00000569?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS977524/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS977524?format=api"
        }
    }
}