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

{
    "data": {
        "type": "samples",
        "id": "ERS1031566",
        "attributes": {
            "biosample": "SAMEA3724417",
            "longitude": 30.5,
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "mimarks-survey",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "30.5",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "China",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2014-01-01/2014-12-31",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "pig manure",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "anearobic bioreactor",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "pig manure",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "Miseq",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina MiSeq",
                    "unit": null
                }
            ],
            "latitude": 102.5,
            "accession": "ERS1031566",
            "analysis-completed": "2017-03-27",
            "collection-date": "2014-01-01",
            "geo-loc-name": "China",
            "sample-desc": "biogas",
            "environment-biome": "pig manure",
            "environment-feature": "anearobic bioreactor",
            "environment-material": "pig manure",
            "sample-name": "10032",
            "sample-alias": "10032",
            "host-tax-id": null,
            "species": null,
            "last-update": "2017-03-27T15:00:17"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Engineered:Wastewater:Water and sludge"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Engineered:Wastewater:Water%20and%20sludge?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1031566/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00001653",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001653?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1031566/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1031566?format=api"
        }
    }
}