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

{
    "data": {
        "type": "samples",
        "id": "SRS1757192",
        "attributes": {
            "longitude": null,
            "biosample": "SAMN05929098",
            "latitude": null,
            "sample-metadata": [
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "United Kingdom: Cambridge",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2016-04-01",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "Laboratory contaminants",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "Class 2 laboratory",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "bacteria",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina MiSeq",
                    "unit": null
                },
                {
                    "key": "last update date",
                    "value": "2017-10-27",
                    "unit": null
                }
            ],
            "accession": "SRS1757192",
            "analysis-completed": "2018-11-02",
            "collection-date": "2016-04-01",
            "geo-loc-name": "United Kingdom: Cambridge",
            "sample-desc": "Faecal microbiota of cats with patent infection by T. cati, as well as that of negative controls and environmental controls. B046, environmental control.",
            "environment-biome": "Laboratory contaminants",
            "environment-feature": "Class 2 laboratory",
            "environment-material": "bacteria",
            "sample-name": "Faecal microbiota of cats with patent infection by T. cati, as well as that of negative controls and environmental controls. B046, environmental control.",
            "sample-alias": "B046",
            "host-tax-id": 9685,
            "species": "Felis catus",
            "last-update": "2018-11-02T10:50:22"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Animal:Digestive system:Fecal"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Animal:Digestive%20system:Fecal?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1757192/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00003433",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00003433?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1757192/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1757192?format=api"
        }
    }
}