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

{
    "data": {
        "type": "samples",
        "id": "SRS3868045",
        "attributes": {
            "biosample": "SAMN10033796",
            "longitude": -93.6319,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-93.6319",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "USA:Ames, Iowa",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "UBERON:0004111",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "UBERON:0005636",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "intestinal contents",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "42.0308",
                    "unit": null
                }
            ],
            "latitude": 42.0308,
            "accession": "SRS3868045",
            "analysis-completed": null,
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "d7-ic-ther-058",
            "environment-biome": "UBERON:0004111",
            "environment-feature": "UBERON:0005636",
            "environment-material": "intestinal contents",
            "sample-name": "d7-ic-ther-058_S150_L001_R1_001.fastq.gz",
            "sample-alias": "d7-ic-ther-058_S150_L001_R1_001.fastq.gz",
            "host-tax-id": null,
            "species": null,
            "last-update": "2020-05-06T18:41:17"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Birds:Digestive system"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Birds:Digestive%20system?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS3868045/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00005316",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005316?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS3868045/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS3868045?format=api"
        }
    }
}