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

{
    "data": {
        "type": "samples",
        "id": "SRS446070",
        "attributes": {
            "latitude": null,
            "longitude": null,
            "sample-metadata": [
                {
                    "key": "temperature",
                    "value": "28.7",
                    "unit": null
                },
                {
                    "key": "investigation type",
                    "value": "miens-specimen",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "United States:Texas:Brazoria National Wildlife Refuge",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2012-06-18",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "Salt Marsh",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "0.01",
                    "unit": null
                },
                {
                    "key": "pH",
                    "value": "5.2-5.2",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "454 GS FLX Titanium",
                    "unit": null
                }
            ],
            "biosample": "SAMN02044721",
            "accession": "SRS446070",
            "analysis-completed": "2017-06-20",
            "collection-date": "2012-06-18",
            "geo-loc-name": "United States:Texas:Brazoria National Wildlife Refuge",
            "sample-desc": "Sediment flash frozen at site and stored at -80C",
            "environment-biome": "Salt Marsh",
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "Bra25",
            "sample-alias": "Bra25",
            "host-tax-id": null,
            "species": null,
            "last-update": "2017-06-20T14:30:09"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Aquatic:Freshwater:Sediment"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Freshwater:Sediment?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS446070/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00001837",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001837?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS446070/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS446070?format=api"
        }
    }
}