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

{
    "data": {
        "type": "samples",
        "id": "ERS2418544",
        "attributes": {
            "latitude": 0.0,
            "longitude": 0.0,
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "metagenome",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "0.0",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "United Kingdom",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2018-03-01/2018-03-31",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "simulated",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "simulated",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "simulated",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "human-oral",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "Simulated as Illumina Reads",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "0.0",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina HiSeq 4000",
                    "unit": null
                }
            ],
            "biosample": "SAMEA4597834",
            "accession": "ERS2418544",
            "analysis-completed": "2018-04-23",
            "collection-date": "2018-03-01",
            "geo-loc-name": "United Kingdom",
            "sample-desc": "oral_community",
            "environment-biome": "simulated",
            "environment-feature": "simulated",
            "environment-material": "simulated",
            "sample-name": "oral_community_artificial_duplicates_20",
            "sample-alias": "oral_community_artificial_duplicates_20",
            "host-tax-id": null,
            "species": null,
            "last-update": "2018-04-23T09:19:08"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Engineered:Modeled:Simulated communities (sequence read mixture)"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Engineered:Modeled:Simulated%20communities%20(sequence%20read%20mixture)?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2418544/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00002348",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00002348?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2418544/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2418544?format=api"
        }
    }
}