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

{
    "data": {
        "type": "samples",
        "id": "SRS1332024",
        "attributes": {
            "biosample": "SAMN04539359",
            "longitude": null,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "not applicable",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "France",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2014",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "cheese",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "cheese",
                    "unit": null
                },
                {
                    "key": "NCBI sample classification",
                    "value": "870726",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina MiSeq",
                    "unit": null
                },
                {
                    "key": "host",
                    "value": "cheese",
                    "unit": null
                },
                {
                    "key": "env_material",
                    "value": "cheese",
                    "unit": null
                },
                {
                    "key": "BioSampleModel",
                    "value": "MIMS.me,MIGS/MIMS/MIMARKS.host-associated",
                    "unit": null
                }
            ],
            "latitude": null,
            "accession": "SRS1332024",
            "analysis-completed": "2016-06-28",
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "Saint_Nectaire_Factory3_sample3_core_fungi",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "Saint_Nectaire_Factory3_sample3_core_fungi",
            "sample-alias": "SN3_2014_3_core_fun",
            "host-tax-id": null,
            "species": null,
            "last-update": "2016-06-28T16:52:37"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Engineered:Food production:Dairy products"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Engineered:Food%20production:Dairy%20products?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1332024/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00001153",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001153?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1332024/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1332024?format=api"
        }
    }
}