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

{
    "data": {
        "type": "samples",
        "id": "SRS1055276",
        "attributes": {
            "latitude": -40.36,
            "longitude": 175.61,
            "sample-metadata": [
                {
                    "key": "temperature",
                    "value": "39.0",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "175.61",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "New Zealand: Palmerston North",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2013-04-24",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "ENVO:animal-associated habitat",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "ENVO:animal-associated habitat",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "BTO:0004789",
                    "unit": null
                },
                {
                    "key": "altitude",
                    "value": "0.0",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "0.0",
                    "unit": null
                },
                {
                    "key": "host taxid",
                    "value": "9940",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "-40.36",
                    "unit": null
                }
            ],
            "biosample": "SAMN04018624",
            "accession": "SRS1055276",
            "analysis-completed": null,
            "collection-date": "2013-04-24",
            "geo-loc-name": null,
            "sample-desc": "This sample has been submitted by pda|kittelmanns on 2016-08-26; gut metagenome",
            "environment-biome": "ENVO:animal-associated habitat",
            "environment-feature": "ENVO:animal-associated habitat",
            "environment-material": "BTO:0004789",
            "sample-name": "Ba.S943C17aApr13",
            "sample-alias": "Ba.S943C17aApr13",
            "host-tax-id": 9940,
            "species": null,
            "last-update": "2020-06-19T00:06:01"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Mammals:Digestive system:Stomach:Rumen"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Mammals:Digestive%20system:Stomach:Rumen?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1055276/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00005535",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005535?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1055276/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1055276?format=api"
        }
    }
}