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

{
    "data": {
        "type": "samples",
        "id": "SRS699892",
        "attributes": {
            "biosample": "SAMN03025392",
            "longitude": 121.41,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "121.41",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Australia: Yilgarn Craton",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2013-04-01",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "sediment",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "acid salt lake",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "sediment",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "20.0",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "-33.25",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina MiSeq",
                    "unit": null
                },
                {
                    "key": "last update date",
                    "value": "2015-06-23",
                    "unit": null
                }
            ],
            "latitude": -33.25,
            "accession": "SRS699892",
            "analysis-completed": "2018-11-26",
            "collection-date": "2013-04-01",
            "geo-loc-name": "Australia: Yilgarn Craton",
            "sample-desc": "This sample has been submitted by Harvard University on 2015-06-02; sediment metagenome",
            "environment-biome": "sediment",
            "environment-feature": "acid salt lake",
            "environment-material": "sediment",
            "sample-name": "Yilgarn Craton Acid Salt Lake Sediment Metagenome",
            "sample-alias": "Yilgarn Craton Acid Salt Lake Sediment Metagenome",
            "host-tax-id": null,
            "species": null,
            "last-update": "2018-11-26T18:51:23"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Aquatic:Freshwater:Lotic:Acidic"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Freshwater:Lotic:Acidic?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS699892/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00003595",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00003595?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS699892/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS699892?format=api"
        }
    }
}