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

{
    "data": {
        "type": "samples",
        "id": "SRS2960372",
        "attributes": {
            "latitude": 37.8247,
            "longitude": -121.5957,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-121.595685",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "USA: California, Tracy",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2017-06",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "Metagenome or environmental",
                    "unit": null
                },
                {
                    "key": "host taxid",
                    "value": "137520",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "37.824673",
                    "unit": null
                },
                {
                    "key": "host scientific name",
                    "value": "Hypomesus transpacificus",
                    "unit": null
                }
            ],
            "biosample": "SAMN08180270",
            "accession": "SRS2960372",
            "analysis-completed": null,
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "Gut content (GC) material collected from Delta Smelt in June (Jun), Pond Culture (PC) Trial",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "PC-Jun-GC",
            "sample-alias": "PC-Jun-GC",
            "host-tax-id": 137520,
            "species": null,
            "last-update": "2024-05-29T14:16:23"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Fish:Digestive system"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Fish:Digestive%20system?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2960372/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00006667",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006667?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2960372/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2960372?format=api"
        }
    }
}