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

{
    "data": {
        "type": "samples",
        "id": "SRS1716981",
        "attributes": {
            "longitude": -72.56,
            "biosample": "SAMN05762698",
            "latitude": 41.27,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-72.56",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "USA:Connecticut",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2014-09-23",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "wetland",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "coast",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "sediment",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "0.0-0.02",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "41.27",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina MiSeq",
                    "unit": null
                },
                {
                    "key": "last update date",
                    "value": "2016-09-29",
                    "unit": null
                }
            ],
            "accession": "SRS1716981",
            "analysis-completed": "2019-04-06",
            "collection-date": "2014-09-23",
            "geo-loc-name": "USA:Connecticut",
            "sample-desc": "Vegetated sediemets",
            "environment-biome": "wetland",
            "environment-feature": "coast",
            "environment-material": "sediment",
            "sample-name": "S1_L1_R1_V",
            "sample-alias": "S1_L1_R1_V",
            "host-tax-id": null,
            "species": null,
            "last-update": "2019-04-06T13:49:29"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Aquatic:Marine:Coastal:Sediment"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Marine:Coastal:Sediment?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1716981/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00004444",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00004444?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1716981/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1716981?format=api"
        }
    }
}