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

{
    "data": {
        "type": "samples",
        "id": "SRS1966297",
        "attributes": {
            "latitude": 52.4586,
            "longitude": 13.2887,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "13.288657",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Germany: Berlin",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2016-08",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "Metagenome or environmental",
                    "unit": null
                },
                {
                    "key": "host taxid",
                    "value": "9823",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "52.458569",
                    "unit": null
                },
                {
                    "key": "host scientific name",
                    "value": "Sus scrofa",
                    "unit": null
                }
            ],
            "biosample": "SAMN06315442",
            "accession": "SRS1966297",
            "analysis-completed": null,
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "Weaned Piglet 4",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "2016_CRC_WP4",
            "sample-alias": "2016_CRC_WP4",
            "host-tax-id": 9823,
            "species": null,
            "last-update": "2024-03-09T01:25:59"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Mammals:Digestive system:Fecal"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Mammals:Digestive%20system:Fecal?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1966297/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00006621",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006621?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1966297/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1966297?format=api"
        }
    }
}