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

{
    "data": {
        "type": "samples",
        "id": "SRS1212056",
        "attributes": {
            "biosample": "SAMN04338228",
            "longitude": null,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "NA",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Italy",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2014",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "feces",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "feces",
                    "unit": null
                },
                {
                    "key": "NCBI sample classification",
                    "value": "408170",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "454 GS Junior",
                    "unit": null
                },
                {
                    "key": "host",
                    "value": "Homo sapiens",
                    "unit": null
                },
                {
                    "key": "env_material",
                    "value": "feces",
                    "unit": null
                },
                {
                    "key": "BioSampleModel",
                    "value": "Metagenome or environmental",
                    "unit": null
                },
                {
                    "key": "label",
                    "value": "Fecal sample collect in the washout phase of the trial, after 21 days from the baseline. Subject code:7",
                    "unit": null
                }
            ],
            "latitude": null,
            "accession": "SRS1212056",
            "analysis-completed": "2016-10-04",
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "Fecal sample collect in the washout phase of the trial, after 21 days from the baseline.  Subject code:7",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "Human fecal sample- 504",
            "sample-alias": "Human fecal sample- 504",
            "host-tax-id": 9606,
            "species": "Homo sapiens",
            "last-update": "2016-10-04T16:17:23"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Human:Digestive system:Large intestine:Fecal"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Human:Digestive%20system:Large%20intestine:Fecal?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1212056/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00001250",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001250?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1212056/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1212056?format=api"
        }
    }
}