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

{
    "data": {
        "type": "samples",
        "id": "ERS1880729",
        "attributes": {
            "biosample": "SAMEA104221711",
            "longitude": -80.4106,
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "mimarks-survey",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "-80.41062",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "USA",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2014-10-02",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "freshwater environment",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "tap water",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "water",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "water",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "Illumina MiSeq",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "37.22629",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina MiSeq",
                    "unit": null
                }
            ],
            "latitude": 37.2263,
            "accession": "ERS1880729",
            "analysis-completed": "2017-08-29",
            "collection-date": "2014-10-02",
            "geo-loc-name": "USA",
            "sample-desc": "hot water system sample",
            "environment-biome": "freshwater environment",
            "environment-feature": "tap water",
            "environment-material": "water",
            "sample-name": "2DC2.BF.T1",
            "sample-alias": "2DC2.BF.T1",
            "host-tax-id": null,
            "species": null,
            "last-update": "2017-08-29T09:52:56"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Engineered:Built environment"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Engineered:Built%20environment?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1880729/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00001928",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001928?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1880729/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1880729?format=api"
        }
    }
}