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

{
    "data": {
        "type": "samples",
        "id": "SRS2635514",
        "attributes": {
            "latitude": 35.5003,
            "longitude": -80.0232,
            "sample-metadata": [
                {
                    "key": "temperature",
                    "value": "28.0",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "-80.02319",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "USA: North Carolina",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2016-07-18",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "small river",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "stream",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "water",
                    "unit": null
                },
                {
                    "key": "pH",
                    "value": "6.07",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "35.50027",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina HiSeq 2500",
                    "unit": null
                },
                {
                    "key": "last update date",
                    "value": "2017-10-28",
                    "unit": null
                }
            ],
            "biosample": "SAMN07839332",
            "accession": "SRS2635514",
            "analysis-completed": "2019-06-17",
            "collection-date": "2016-07-18",
            "geo-loc-name": "USA: North Carolina",
            "sample-desc": "Uwharrie Control A",
            "environment-biome": "small river",
            "environment-feature": "stream",
            "environment-material": "water",
            "sample-name": "Sample_Uwharrie_Control_UW_A_4",
            "sample-alias": "Sample_Uwharrie_Control_UW_A_4",
            "host-tax-id": null,
            "species": null,
            "last-update": "2019-06-17T20:16:26"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Engineered:Bioremediation:Terephthalate:Wastewater"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Engineered:Bioremediation:Terephthalate:Wastewater?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2635514/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00005036",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005036?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2635514/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2635514?format=api"
        }
    }
}