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

{
    "data": {
        "type": "samples",
        "id": "ERS233527",
        "attributes": {
            "latitude": 52.9653,
            "longitude": 0.9258,
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "metagenome",
                    "unit": null
                },
                {
                    "key": "project name",
                    "value": "Stiffkey_Saltmarsh_Sediment_SIP",
                    "unit": null
                },
                {
                    "key": "geographic location (depth)",
                    "value": "0.01",
                    "unit": "m"
                },
                {
                    "key": "collection date",
                    "value": "2011-05-31",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "sediment",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "Illumina",
                    "unit": null
                },
                {
                    "key": "elevation",
                    "value": "0.001",
                    "unit": "m"
                },
                {
                    "key": "geographic location (elevation)",
                    "value": "0.001",
                    "unit": "m"
                },
                {
                    "key": "NCBI sample classification",
                    "value": "408169",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina HiSeq 1000",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "GSC MIxS sediment (ERC000021)",
                    "unit": null
                }
            ],
            "biosample": "SAMEA2062906",
            "accession": "ERS233527",
            "analysis-completed": "2013-07-15",
            "collection-date": "2011-05-31",
            "geo-loc-name": "United Kingdom",
            "sample-desc": "13C fraction F2 (light)",
            "environment-biome": "marine salt marsh biome ENVO:01000022",
            "environment-feature": "saline water habitat ENVO:00002227",
            "environment-material": "sediment ENVO:01000119",
            "sample-name": "Stiffkey saltmarsh sediment SIP DMSP12 (light)",
            "sample-alias": "SIP_DMSP12",
            "host-tax-id": null,
            "species": null,
            "last-update": "2015-08-13T15:30:54"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Aquatic:Marine:Intertidal zone:Salt marsh"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Marine:Intertidal%20zone:Salt%20marsh?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS233527/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00000320",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00000320?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS233527/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS233527?format=api"
        }
    }
}