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

{
    "data": {
        "type": "samples",
        "id": "SRS2486056",
        "attributes": {
            "latitude": 51.25,
            "longitude": -6.51,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-6.51",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Atlantic Ocean",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2015-01-01",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "51.25",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina MiSeq",
                    "unit": null
                },
                {
                    "key": "last update date",
                    "value": "2017-11-08",
                    "unit": null
                }
            ],
            "biosample": "SAMN07595127",
            "accession": "SRS2486056",
            "analysis-completed": "2019-04-05",
            "collection-date": "2015-01-01",
            "geo-loc-name": "Atlantic Ocean",
            "sample-desc": "Celtic Sea sediment",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "SSB_surface",
            "sample-alias": "SSB_surface",
            "host-tax-id": null,
            "species": null,
            "last-update": "2019-04-05T21:29:01"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Aquatic:Marine:Sediment"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Marine:Sediment?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2486056/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00004230",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00004230?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2486056/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2486056?format=api"
        }
    }
}