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

{
    "data": {
        "type": "samples",
        "id": "SRS1151279",
        "attributes": {
            "latitude": null,
            "longitude": null,
            "sample-metadata": [
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "USA:Michigan",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2015-07-06",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "mouse",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "gut",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "fecal",
                    "unit": null
                },
                {
                    "key": "host taxid",
                    "value": "10092",
                    "unit": null
                },
                {
                    "key": "host genotype",
                    "value": "Gnotobiotic C57BL/6",
                    "unit": null
                }
            ],
            "biosample": "SAMN04225499",
            "accession": "SRS1151279",
            "analysis-completed": null,
            "collection-date": "2015-07-06",
            "geo-loc-name": null,
            "sample-desc": "day57",
            "environment-biome": "mouse",
            "environment-feature": "gut",
            "environment-material": "fecal",
            "sample-name": "unclassified_6_Jul_10_metagenome",
            "sample-alias": "unclassified_6_Jul_10_metagenome",
            "host-tax-id": 10092,
            "species": null,
            "last-update": "2020-02-03T09:58:13"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Mammals:Digestive system"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Mammals:Digestive%20system?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1151279/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00005150",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005150?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1151279/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1151279?format=api"
        }
    }
}