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

{
    "data": {
        "type": "samples",
        "id": "ERS1573124",
        "attributes": {
            "latitude": 45.9332,
            "longitude": 129.9822,
            "biosample": "SAMEA101257168",
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "metagenome",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "129.9822",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Pacific Ocean",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2015-08-26",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "marine",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "hydrothemal vent",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "diffuse fluid",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "water",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "Illumina Next-Seq paired end reads with 30 bp overlap",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "45.9332",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "NextSeq 500",
                    "unit": null
                }
            ],
            "accession": "ERS1573124",
            "analysis-completed": "2017-08-25",
            "collection-date": "2015-08-26",
            "geo-loc-name": "Pacific Ocean",
            "sample-desc": "Diffuse fluid metagenome from Marker 113 vent taken in 2015",
            "environment-biome": "marine",
            "environment-feature": "hydrothemal vent",
            "environment-material": "diffuse fluid",
            "sample-name": "FS915_Marker113_DNA",
            "sample-alias": "FS915_Marker113_DNA",
            "host-tax-id": null,
            "species": null,
            "last-update": "2017-08-25T09:01:39"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Aquatic:Marine:Hydrothermal vents:Diffuse flow"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Marine:Hydrothermal%20vents:Diffuse%20flow?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1573124/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00001926",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001926?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1573124/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1573124?format=api"
        }
    }
}