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

{
    "data": {
        "type": "samples",
        "id": "SRS4292247",
        "attributes": {
            "latitude": 38.547,
            "longitude": -121.878,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-121.878",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "USA:California",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2015-05-06",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "grassland biome",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "compost pile",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "compost",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "MIMARKS.survey;MIGS/MIMS/MIMARKS.soil",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "0.1 m",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "38.547",
                    "unit": null
                }
            ],
            "biosample": "SAMN10821052",
            "accession": "SRS4292247",
            "analysis-completed": null,
            "collection-date": "2015-05-06",
            "geo-loc-name": null,
            "sample-desc": "Added to Jar B2J24 at T00h",
            "environment-biome": "grassland biome",
            "environment-feature": "compost pile",
            "environment-material": "compost",
            "sample-name": "C27",
            "sample-alias": "C27",
            "host-tax-id": null,
            "species": null,
            "last-update": "2024-01-17T09:18:51"
        },
        "relationships": {
            "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"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS4292247/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00005208",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005208?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS4292247/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS4292247?format=api"
        }
    }
}