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

{
    "data": {
        "type": "samples",
        "id": "SRS881341",
        "attributes": {
            "latitude": null,
            "longitude": null,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "53.415851 N 9.413412 W",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Germany",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "14-Jan-2013",
                    "unit": null
                },
                {
                    "key": "sample collection device or method",
                    "value": "Shaking",
                    "unit": null
                },
                {
                    "key": "sample material processing",
                    "value": "Biological replicate",
                    "unit": null
                },
                {
                    "key": "NCBI sample classification",
                    "value": "1118232",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "AB 3130xL Genetic Analyzer",
                    "unit": null
                },
                {
                    "key": "host",
                    "value": "Apple",
                    "unit": null
                },
                {
                    "key": "isolation source",
                    "value": "Soil attached to apple roots",
                    "unit": null
                },
                {
                    "key": "sample size",
                    "value": "505 ml falcon tube",
                    "unit": null
                },
                {
                    "key": "BioSampleModel",
                    "value": "Metagenome or environmental",
                    "unit": null
                },
                {
                    "key": "source_material_id",
                    "value": "30",
                    "unit": null
                }
            ],
            "biosample": "SAMN03433239",
            "accession": "SRS881341",
            "analysis-completed": "2017-01-11",
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "Treated RD soil",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "Temperature",
            "sample-alias": "KM4T502",
            "host-tax-id": 3750,
            "species": "Malus domestica",
            "last-update": "2017-01-11T11:12:13"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Plants:Root"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Plants:Root?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS881341/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00001398",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001398?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS881341/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS881341?format=api"
        }
    }
}