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

{
    "data": {
        "type": "samples",
        "id": "ERS2606431",
        "attributes": {
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "metagenome",
                    "unit": null
                },
                {
                    "key": "project name",
                    "value": "Passalid Beetle2",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "-91.10481",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "USA",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2012-11-30",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "biome",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "microbial feature",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "bodily fluid",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "host-associated",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "illumina",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "30.40267",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "unspecified",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ERC000013",
                    "unit": null
                },
                {
                    "key": "last update date",
                    "value": "2018-07-11",
                    "unit": null
                }
            ],
            "latitude": 30.4027,
            "biosample": "SAMEA4786495",
            "longitude": -91.1048,
            "accession": "ERS2606431",
            "analysis-completed": "2019-06-26",
            "collection-date": "2012-11-30",
            "geo-loc-name": "USA",
            "sample-desc": "MG2 Taxonomy ID:256318",
            "environment-biome": "biome",
            "environment-feature": "microbial feature",
            "environment-material": "bodily fluid",
            "sample-name": "mgs163214",
            "sample-alias": "mgs163214",
            "host-tax-id": null,
            "species": null,
            "last-update": "2019-06-26T15:32:52"
        },
        "relationships": {
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2606431/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00005050",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005050?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2606431/runs?format=api"
                }
            },
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Insecta:Digestive system"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Insecta:Digestive%20system?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2606431?format=api"
        }
    }
}