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

{
    "data": {
        "type": "samples",
        "id": "SRS152874",
        "attributes": {
            "biosample": "SAMN00191252",
            "longitude": -83.0,
            "latitude": 40.0,
            "sample-metadata": [
                {
                    "key": "temperature",
                    "value": "31.0",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "-83.0",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "USA",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2007-10-30",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "biome",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "wastewater treatment plant",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "anaerobic digester sludge",
                    "unit": null
                },
                {
                    "key": "altitude",
                    "value": "0.0",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "0.0",
                    "unit": null
                },
                {
                    "key": "elevation",
                    "value": "244.0",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "40.0",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "454 GS FLX",
                    "unit": null
                }
            ],
            "accession": "SRS152874",
            "analysis-completed": "2017-03-30",
            "collection-date": "2007-10-30",
            "geo-loc-name": "USA",
            "sample-desc": "Reactor U3 YearMonth 200710",
            "environment-biome": "biome",
            "environment-feature": "wastewater treatment plant",
            "environment-material": "anaerobic digester sludge",
            "sample-name": "U3m0710",
            "sample-alias": "U3m0710",
            "host-tax-id": null,
            "species": null,
            "last-update": "2017-03-30T16:06:24"
        },
        "relationships": {
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS152874/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00001677",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001677?format=api"
                        }
                    }
                ]
            },
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Engineered:Bioreactor:Continuous culture"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Engineered:Bioreactor:Continuous%20culture?format=api"
                }
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS152874/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS152874?format=api"
        }
    }
}