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

{
    "data": {
        "type": "samples",
        "id": "SRS878219",
        "attributes": {
            "latitude": -2.0305,
            "longitude": 102.7713,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "102.77131",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Indonesia: Jambi",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2012-10-31",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "lowland rainforest",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "jungle rubber plantation",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "bulk soil",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "5.0-7.0",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "-2.03047",
                    "unit": null
                }
            ],
            "biosample": "SAMN03417128",
            "accession": "SRS878219",
            "analysis-completed": null,
            "collection-date": "2012-10-31",
            "geo-loc-name": null,
            "sample-desc": "soil sample (BJ2b)",
            "environment-biome": "lowland rainforest",
            "environment-feature": "jungle rubber plantation",
            "environment-material": "bulk soil",
            "sample-name": "BJ2b",
            "sample-alias": "BJ2b",
            "host-tax-id": null,
            "species": null,
            "last-update": "2020-04-26T10:20:52"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Terrestrial:Soil:Tropical rainforest"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Terrestrial:Soil:Tropical%20rainforest?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS878219/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00005186",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005186?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS878219/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS878219?format=api"
        }
    }
}