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

{
    "data": {
        "type": "samples",
        "id": "ERS1643945",
        "attributes": {
            "latitude": 19.9975,
            "longitude": 73.7898,
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "metagenome",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "73.7898",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "India",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2012-06-24",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "Terrestrial",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "Research station",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "Organic material",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "host-associated",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "Illumina",
                    "unit": null
                },
                {
                    "key": "host common name",
                    "value": "Chicken",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "19.9975",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina MiSeq",
                    "unit": null
                },
                {
                    "key": "host body site",
                    "value": "Cecum",
                    "unit": null
                }
            ],
            "biosample": "SAMEA103954777",
            "accession": "ERS1643945",
            "analysis-completed": "2017-04-19",
            "collection-date": "2012-06-24",
            "geo-loc-name": "India",
            "sample-desc": "Chicken Cecal Microbiome",
            "environment-biome": "Terrestrial",
            "environment-feature": "Research station",
            "environment-material": "Organic material",
            "sample-name": "1003_C",
            "sample-alias": "1003_C",
            "host-tax-id": 9031,
            "species": "Gallus gallus",
            "last-update": "2017-04-19T16:51:04"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Birds:Digestive system:Fecal"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Birds:Digestive%20system:Fecal?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1643945/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00001698",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001698?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1643945/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1643945?format=api"
        }
    }
}