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

{
    "data": {
        "type": "samples",
        "id": "SRS2221167",
        "attributes": {
            "latitude": 22.75,
            "longitude": -158.0,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-158.0",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "USA: Hawaii, Station ALOHA, North Pacific Subtropical Gyre",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2014-06-11",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "Ocean Biome",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "Oceanic Gyre",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "Sea Water",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "5.0",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "22.75",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina MiSeq",
                    "unit": null
                }
            ],
            "biosample": "SAMN07162533",
            "accession": "SRS2221167",
            "analysis-completed": "2018-09-04",
            "collection-date": "2014-06-11",
            "geo-loc-name": "USA: Hawaii, Station ALOHA, North Pacific Subtropical Gyre",
            "sample-desc": "Light Control",
            "environment-biome": "Ocean Biome",
            "environment-feature": "Oceanic Gyre",
            "environment-material": "Sea Water",
            "sample-name": "CONTROL2_T-6",
            "sample-alias": "263DOCGO_RNH4B_5_GCATGGCTCTAA",
            "host-tax-id": null,
            "species": null,
            "last-update": "2018-09-04T19:08:13"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Aquatic:Marine:Oceanic"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Marine:Oceanic?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2221167/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00002817",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00002817?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2221167/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2221167?format=api"
        }
    }
}