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

{
    "data": {
        "type": "samples",
        "id": "SRS1143789",
        "attributes": {
            "latitude": 51.1011,
            "longitude": 10.3512,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "10.35121455",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Germany:Hainich Duen",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2011-05",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "Metagenome or environmental",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "51.10106636",
                    "unit": null
                }
            ],
            "biosample": "SAMN04194051",
            "accession": "SRS1143789",
            "analysis-completed": null,
            "collection-date": "2011-05-01",
            "geo-loc-name": null,
            "sample-desc": "HEW39",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "kka324",
            "sample-alias": "kka324",
            "host-tax-id": null,
            "species": null,
            "last-update": "2025-01-21T03:05:39"
        },
        "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/SRS1143789/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00005502",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005502?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1143789/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1143789?format=api"
        }
    }
}