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

{
    "data": {
        "type": "samples",
        "id": "SRS429585",
        "attributes": {
            "latitude": null,
            "longitude": null,
            "biosample": "SAMN02144231",
            "sample-metadata": [
                {
                    "key": "environment (biome)",
                    "value": "sheep rumen",
                    "unit": null
                },
                {
                    "key": "phenotype",
                    "value": "high methane producing",
                    "unit": null
                },
                {
                    "key": "NCBI sample classification",
                    "value": "749906",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina HiSeq 2000",
                    "unit": null
                },
                {
                    "key": "host",
                    "value": "Ovis aries",
                    "unit": null
                },
                {
                    "key": "isolation source",
                    "value": "sheep rumen",
                    "unit": null
                }
            ],
            "accession": "SRS429585",
            "analysis-completed": "2015-11-09",
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "rumen from high methane producing sheep",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "Generic sample from sheep gut microbiome from high methane producing sheep",
            "sample-alias": "high_methane",
            "host-tax-id": 9940,
            "species": "Ovis aries",
            "last-update": "2015-11-09T09:44:13"
        },
        "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"
                }
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS429585/runs?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS429585/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00000562",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00000562?format=api"
                        }
                    },
                    {
                        "type": "studies",
                        "id": "MGYS00002066",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00002066?format=api"
                        }
                    }
                ]
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS429585?format=api"
        }
    }
}