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

{
    "data": {
        "type": "samples",
        "id": "ERS1574549",
        "attributes": {
            "latitude": 44.3833,
            "longitude": 117.3118,
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "metagenome",
                    "unit": null
                },
                {
                    "key": "project name",
                    "value": "microbial community",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "117.3118",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "China",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2015-01-01",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "fermentation pit",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "fermentation",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "fermentation grains",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "microbial mat/biofilm",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "Miseq",
                    "unit": null
                },
                {
                    "key": "elevation",
                    "value": "0.0",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "44.3833",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina MiSeq",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ERC000019",
                    "unit": null
                },
                {
                    "key": "last update date",
                    "value": "2017-03-01",
                    "unit": null
                }
            ],
            "biosample": "SAMEA102325918",
            "accession": "ERS1574549",
            "analysis-completed": "2018-11-26",
            "collection-date": "2015-01-01",
            "geo-loc-name": "China",
            "sample-desc": "fermented_grains",
            "environment-biome": "fermentation pit",
            "environment-feature": "fermentation",
            "environment-material": "fermentation grains",
            "sample-name": "I253",
            "sample-alias": "I253",
            "host-tax-id": null,
            "species": null,
            "last-update": "2018-11-26T11:37:11"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Engineered:Food production:Fermented beverages"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Engineered:Food%20production:Fermented%20beverages?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1574549/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00003508",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00003508?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1574549/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1574549?format=api"
        }
    }
}