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

{
    "data": {
        "type": "samples",
        "id": "SRS2138869",
        "attributes": {
            "biosample": "SAMN06718357",
            "longitude": 116.058,
            "latitude": 36.4636,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "116.058",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "China: Xiaomei River, Liaocheng",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2016-03-15",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "freshwater river",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "wetlands",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "sediment",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "20.0",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "36.4636",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina HiSeq 4000",
                    "unit": null
                },
                {
                    "key": "last update date",
                    "value": "2018-04-11",
                    "unit": null
                }
            ],
            "accession": "SRS2138869",
            "analysis-completed": "2019-06-17",
            "collection-date": "2016-03-15",
            "geo-loc-name": "China: Xiaomei River, Liaocheng",
            "sample-desc": "MIMS Environmental/Metagenome sample from sediment metagenome XMR",
            "environment-biome": "freshwater river",
            "environment-feature": "wetlands",
            "environment-material": "sediment",
            "sample-name": "XMR",
            "sample-alias": "XMR",
            "host-tax-id": null,
            "species": null,
            "last-update": "2019-06-17T17:42:23"
        },
        "relationships": {
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2138869/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00005024",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005024?format=api"
                        }
                    }
                ]
            },
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Aquatic:Freshwater:Lotic:Sediment"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Freshwater:Lotic:Sediment?format=api"
                }
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2138869/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2138869?format=api"
        }
    }
}