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

{
    "data": {
        "type": "samples",
        "id": "SRS8906947",
        "attributes": {
            "biosample": "SAMN19078909",
            "longitude": 118.09,
            "latitude": 24.48,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "118.09",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "China:Fujian",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2019-12",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "Metagenome or environmental",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "24.48",
                    "unit": null
                }
            ],
            "accession": "SRS8906947",
            "analysis-completed": null,
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "FJ02",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "FJ02",
            "sample-alias": "FJ02",
            "host-tax-id": null,
            "species": null,
            "last-update": "2023-08-19T12:16:55"
        },
        "relationships": {
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS8906947/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00006301",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006301?format=api"
                        }
                    }
                ]
            },
            "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"
                }
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS8906947/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS8906947?format=api"
        }
    }
}