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

{
    "data": {
        "type": "samples",
        "id": "SRS674624",
        "attributes": {
            "longitude": null,
            "biosample": "SAMN02953209",
            "latitude": null,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "54.117617 N 0.957747 W",
                    "unit": null
                },
                {
                    "key": "geographic location (depth)",
                    "value": "10 cm",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "United Kingdom: farmers field, Ganthorpe",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2012-12-07",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "agricultural soil",
                    "unit": null
                },
                {
                    "key": "NCBI sample classification",
                    "value": "410658",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "454 GS FLX",
                    "unit": null
                },
                {
                    "key": "isolation source",
                    "value": "agricultural soil",
                    "unit": null
                }
            ],
            "accession": "SRS674624",
            "analysis-completed": "2016-06-06",
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "Agricultural soil control pre incubation pot 30",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "Agricultural.control.spike1.day0.pot30",
            "sample-alias": "1030",
            "host-tax-id": null,
            "species": null,
            "last-update": "2016-06-06T14:02:45"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Terrestrial:Soil"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Terrestrial:Soil?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS674624/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00001009",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001009?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS674624/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS674624?format=api"
        }
    }
}