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

{
    "data": {
        "type": "samples",
        "id": "SRS1151330",
        "attributes": {
            "biosample": "SAMN04225452",
            "longitude": null,
            "latitude": null,
            "sample-metadata": [
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "USA:Michigan",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2015-06-29",
                    "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
                }
            ],
            "accession": "SRS1151330",
            "analysis-completed": null,
            "collection-date": "2015-06-29",
            "geo-loc-name": null,
            "sample-desc": "day50",
            "environment-biome": "mouse",
            "environment-feature": "gut",
            "environment-material": "fecal",
            "sample-name": "unclassified_29_Jun_14_metagenome",
            "sample-alias": "unclassified_29_Jun_14_metagenome",
            "host-tax-id": 10092,
            "species": null,
            "last-update": "2019-12-22T14:47:46"
        },
        "relationships": {
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1151330/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00005150",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005150?format=api"
                        }
                    }
                ]
            },
            "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"
                }
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1151330/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1151330?format=api"
        }
    }
}