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

{
    "data": {
        "type": "samples",
        "id": "SRS1310233",
        "attributes": {
            "longitude": -77.0947,
            "biosample": "SAMN04360061",
            "latitude": 38.9847,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-77.09471",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "USA",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2014-05-29",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "human skin",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "Ph-R",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "Ss",
                    "unit": null
                },
                {
                    "key": "host taxid",
                    "value": "9606",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "38.984653",
                    "unit": null
                }
            ],
            "accession": "SRS1310233",
            "analysis-completed": null,
            "collection-date": "2014-05-29",
            "geo-loc-name": null,
            "sample-desc": "This sample has been submitted by pda|conlans on 2016-02-26; human skin metagenome",
            "environment-biome": "human skin",
            "environment-feature": "Ph-R",
            "environment-material": "Ss",
            "sample-name": "MET0700",
            "sample-alias": "MET0700",
            "host-tax-id": 9606,
            "species": "Homo sapiens",
            "last-update": "2020-05-20T08:49:48"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Human:Skin"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Human:Skin?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1310233/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00000604",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00000604?format=api"
                        }
                    },
                    {
                        "type": "studies",
                        "id": "MGYS00005379",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005379?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1310233/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1310233?format=api"
        }
    }
}