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

{
    "data": {
        "type": "samples",
        "id": "ERS1496756",
        "attributes": {
            "biosample": "SAMEA43981168",
            "longitude": 22.0,
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "metagenome",
                    "unit": null
                },
                {
                    "key": "project name",
                    "value": "test5_project",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2011-11-11",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "454",
                    "unit": null
                },
                {
                    "key": "NCBI sample classification",
                    "value": "749906",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "454 GS",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "GSC MIxS human gut (ERC000015)",
                    "unit": null
                },
                {
                    "key": "human gut environmental package",
                    "value": "human-gut",
                    "unit": null
                }
            ],
            "latitude": 22.0,
            "accession": "ERS1496756",
            "analysis-completed": "2017-01-09",
            "collection-date": null,
            "geo-loc-name": "Arctic Ocean",
            "sample-desc": "test5_des",
            "environment-biome": "biome",
            "environment-feature": "feature",
            "environment-material": "material",
            "sample-name": "test5_title",
            "sample-alias": "test5",
            "host-tax-id": null,
            "species": null,
            "last-update": "2017-01-09T10:28:42"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Air"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Air?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1496756/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00001379",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001379?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1496756/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1496756?format=api"
        }
    }
}