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

{
    "data": {
        "type": "samples",
        "id": "SRS1338814",
        "attributes": {
            "biosample": "SAMN04549595",
            "sample-metadata": [
                {
                    "key": "temperature",
                    "value": "30.0",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "-103.00346",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "USA: Texas, Big Bend National Park",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2009-03-17",
                    "unit": null
                },
                {
                    "key": "salinity",
                    "value": "221.0",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "29.14979",
                    "unit": null
                }
            ],
            "latitude": 29.1498,
            "longitude": -103.0035,
            "accession": "SRS1338814",
            "analysis-completed": null,
            "collection-date": "2009-03-17",
            "geo-loc-name": null,
            "sample-desc": "This sample has been submitted by pda|ecaraway on 2017-03-11; soil metagenome",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "J18C025",
            "sample-alias": "J18C025",
            "host-tax-id": null,
            "species": null,
            "last-update": "2020-11-30T10:28:00"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Aquatic:Thermal springs:Hot (42-90C)"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Thermal%20springs:Hot%20(42-90C)?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1338814/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00005669",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005669?format=api"
                        }
                    },
                    {
                        "type": "studies",
                        "id": "MGYS00005670",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005670?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1338814/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1338814?format=api"
        }
    }
}