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

{
    "data": {
        "type": "samples",
        "id": "ERS449898",
        "attributes": {
            "longitude": 77.39,
            "biosample": "SAMEA2496970",
            "latitude": 34.68,
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "metagenome",
                    "unit": null
                },
                {
                    "key": "project name",
                    "value": "DNRA in New River Estuary",
                    "unit": null
                },
                {
                    "key": "geographic location (depth)",
                    "value": "2",
                    "unit": "m"
                },
                {
                    "key": "collection date",
                    "value": "2010-04",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "pyrosequencing",
                    "unit": null
                },
                {
                    "key": "geographic location (elevation)",
                    "value": "-2",
                    "unit": "m"
                },
                {
                    "key": "NCBI sample classification",
                    "value": "77133",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Ion Torrent PGM",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "GSC MIxS sediment (ERC000021)",
                    "unit": null
                },
                {
                    "key": "sediment environmental package",
                    "value": "sediment",
                    "unit": null
                }
            ],
            "accession": "ERS449898",
            "analysis-completed": "2017-02-13",
            "collection-date": null,
            "geo-loc-name": "USA",
            "sample-desc": "nrfA genes in New River Estuary",
            "environment-biome": "estuary",
            "environment-feature": "estuary",
            "environment-material": "sediment",
            "sample-name": "nrfA genes in New River Estuary",
            "sample-alias": "nrfA_M47",
            "host-tax-id": null,
            "species": null,
            "last-update": "2017-02-13T13:47:37"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Aquatic:Marine:Intertidal zone:Estuary"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Marine:Intertidal%20zone:Estuary?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS449898/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00001462",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001462?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS449898/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS449898?format=api"
        }
    }
}