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

{
    "data": {
        "type": "samples",
        "id": "SRS659489",
        "attributes": {
            "latitude": 52.2457,
            "longitude": 0.4092,
            "biosample": "SAMN02910465",
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "0.40923804",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "United Kingdom: Newmarket, Suffolk",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2010-01-01",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "equine_faecal_microbiome",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "equine_faeces",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "faeces",
                    "unit": null
                },
                {
                    "key": "host taxid",
                    "value": "9796",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "52.24569",
                    "unit": null
                }
            ],
            "accession": "SRS659489",
            "analysis-completed": null,
            "collection-date": "2010-01-01",
            "geo-loc-name": null,
            "sample-desc": "SFF file of barcoded samples #SampleID BarcodeSequence NA1 ACGAGTGCGT NA2 ACGCTCGACA NA3 AGACGCACTC NA4 AGCACTGTAG NA5 ATCAGACACG NA6 ATATCGCGAG NA7 CGTGTCTCTA NA8 CTCGCGTGTC NB1 TAGTATCAGC NB3 TCTCTATGCG NB4 TGATACGTCT NB8 TACTGAGCTA NB6 CATAGTAGTG NB7 CGAGAGATAC NB5 TAACGACGTA",
            "environment-biome": "equine_faecal_microbiome",
            "environment-feature": "equine_faeces",
            "environment-material": "faeces",
            "sample-name": "Horse_newmarket_sff",
            "sample-alias": "Horse_newmarket_sff",
            "host-tax-id": 9796,
            "species": null,
            "last-update": "2020-06-29T17:08:20"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Mammals:Digestive system:Fecal"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Mammals:Digestive%20system:Fecal?format=api"
                }
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS659489/runs?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS659489/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00005544",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005544?format=api"
                        }
                    }
                ]
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS659489?format=api"
        }
    }
}