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

{
    "data": {
        "type": "samples",
        "id": "ERS15542868",
        "attributes": {
            "longitude": -1.0084,
            "biosample": "SAMEA113546447",
            "latitude": 53.292,
            "sample-metadata": [
                {
                    "key": "project name",
                    "value": "PRJEB62543",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "-1.00844",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "United Kingdom",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2019",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "agricultural ecosystem",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "sandy loam",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "agricultural soil",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "0.2",
                    "unit": null
                },
                {
                    "key": "elevation",
                    "value": "50.0",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "53.292",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ERC000022",
                    "unit": null
                }
            ],
            "accession": "ERS15542868",
            "analysis-completed": null,
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "Field_soil2",
            "environment-biome": "agricultural ecosystem",
            "environment-feature": "sandy loam",
            "environment-material": "agricultural soil",
            "sample-name": "FOC_S2_ITS",
            "sample-alias": "FOC_S2_ITS",
            "host-tax-id": null,
            "species": null,
            "last-update": "2023-06-29T16:48:17"
        },
        "relationships": {
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS15542868/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00006243",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006243?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS15542868/runs?format=api"
                }
            },
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Terrestrial:Soil"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Terrestrial:Soil?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS15542868?format=api"
        }
    }
}