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

{
    "data": {
        "type": "samples",
        "id": "SRS2731131",
        "attributes": {
            "biosample": "SAMN08126961",
            "sample-metadata": [
                {
                    "key": "temperature",
                    "value": "3.0",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "-111.40686",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Mexico:Gulf of California",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2014-10-21",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "marine",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "hydrothermal vent",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "sediment",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "1.15-1.2",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "27.30509",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina MiSeq",
                    "unit": null
                },
                {
                    "key": "last update date",
                    "value": "2017-12-05",
                    "unit": null
                }
            ],
            "latitude": 27.3051,
            "longitude": -111.4069,
            "accession": "SRS2731131",
            "analysis-completed": "2019-04-07",
            "collection-date": "2014-10-21",
            "geo-loc-name": "Mexico:Gulf of California",
            "sample-desc": "This sample has been submitted by pda|hgmorrison on 2017-12-05; sediment metagenome",
            "environment-biome": "marine",
            "environment-feature": "hydrothermal vent",
            "environment-material": "sediment",
            "sample-name": "P11_2",
            "sample-alias": "P11_2",
            "host-tax-id": null,
            "species": null,
            "last-update": "2019-04-07T01:34:33"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Aquatic:Marine:Sediment"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Marine:Sediment?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2731131/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00004507",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00004507?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2731131/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2731131?format=api"
        }
    }
}