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

{
    "data": {
        "type": "samples",
        "id": "SRS1212629",
        "attributes": {
            "latitude": -32.8083,
            "longitude": -66.0879,
            "biosample": "SAMN04350609",
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-66.08791",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Argentina:SanLuis:La Carolina",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2015-05-26",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "terrestrial biome",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "River",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "sediment",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "0.0-20.0",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "-32.808285",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina MiSeq",
                    "unit": null
                },
                {
                    "key": "last update date",
                    "value": "2015-12-19",
                    "unit": null
                }
            ],
            "accession": "SRS1212629",
            "analysis-completed": "2019-04-06",
            "collection-date": "2015-05-26",
            "geo-loc-name": "Argentina:SanLuis:La Carolina",
            "sample-desc": "This sample has been submitted by pda|josebonilla on 2015-12-19; sediment metagenome",
            "environment-biome": "terrestrial biome",
            "environment-feature": "River",
            "environment-material": "sediment",
            "sample-name": "Sample.9.16S",
            "sample-alias": "Sample.9.16S",
            "host-tax-id": null,
            "species": null,
            "last-update": "2019-04-06T08:18:12"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Aquatic:Freshwater:Groundwater:Acid Mine Drainage"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Freshwater:Groundwater:Acid%20Mine%20Drainage?format=api"
                }
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1212629/runs?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1212629/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00004401",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00004401?format=api"
                        }
                    }
                ]
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1212629?format=api"
        }
    }
}