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

{
    "data": {
        "type": "samples",
        "id": "ERS1572714",
        "attributes": {
            "longitude": null,
            "biosample": "SAMEA100949668",
            "latitude": null,
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "metagenome",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2015-10-13",
                    "unit": null
                },
                {
                    "key": "sewage type",
                    "value": "wastewater treatment plant",
                    "unit": null
                },
                {
                    "key": "NCBI sample classification",
                    "value": "527639",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina MiSeq",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ENA sewage checklist (ERC000036)",
                    "unit": null
                },
                {
                    "key": "name of the sampling site",
                    "value": "SP2",
                    "unit": null
                }
            ],
            "accession": "ERS1572714",
            "analysis-completed": "2017-03-13",
            "collection-date": null,
            "geo-loc-name": "Netherlands",
            "sample-desc": "Effluent UASB",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "Black Water Project",
            "sample-alias": "SP2-T2-R2",
            "host-tax-id": null,
            "species": null,
            "last-update": "2017-03-13T13:32:09"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Engineered:Wastewater"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Engineered:Wastewater?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1572714/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00001566",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001566?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1572714/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1572714?format=api"
        }
    }
}