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

{
    "data": {
        "type": "samples",
        "id": "SRS2466002",
        "attributes": {
            "longitude": null,
            "biosample": "SAMN07556892",
            "latitude": null,
            "sample-metadata": [
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "China:Ninghe,TianJin",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2015-10-30",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "Farm",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "Pig Farm",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "colon",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "MIMS.me;MIGS/MIMS/MIMARKS.host-associated",
                    "unit": null
                },
                {
                    "key": "host growth conditions",
                    "value": "finishing",
                    "unit": null
                },
                {
                    "key": "host phenotype",
                    "value": "feed conversion ratio",
                    "unit": null
                },
                {
                    "key": "host sex",
                    "value": "female",
                    "unit": null
                },
                {
                    "key": "host scientific name",
                    "value": "Sus scrofa",
                    "unit": null
                }
            ],
            "accession": "SRS2466002",
            "analysis-completed": null,
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "L3colon1",
            "environment-biome": "Farm",
            "environment-feature": "Pig Farm",
            "environment-material": "colon",
            "sample-name": "L3colon_HVNHGCCXX_L4_1.clean.fq.gz",
            "sample-alias": "L3colon_HVNHGCCXX_L4_1.clean.fq.gz",
            "host-tax-id": null,
            "species": null,
            "last-update": "2023-08-19T08:21:37"
        },
        "relationships": {
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2466002/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00006298",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006298?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2466002/runs?format=api"
                }
            },
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Mammals:Digestive system"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Mammals:Digestive%20system?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2466002?format=api"
        }
    }
}