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

{
    "data": {
        "type": "samples",
        "id": "SRS1114965",
        "attributes": {
            "latitude": null,
            "longitude": null,
            "biosample": "SAMN03329563",
            "sample-metadata": [
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "China",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2014-05-14",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "Marine waters",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "Open ocean and harbors",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "water",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "454 GS FLX Titanium",
                    "unit": null
                },
                {
                    "key": "last update date",
                    "value": "2015-10-28",
                    "unit": null
                }
            ],
            "accession": "SRS1114965",
            "analysis-completed": "2019-04-05",
            "collection-date": "2014-05-14",
            "geo-loc-name": "China",
            "sample-desc": "This sample has been submitted by pda|maynemarie on 2015-10-17; marine metagenome",
            "environment-biome": "Marine waters",
            "environment-feature": "Open ocean and harbors",
            "environment-material": "water",
            "sample-name": "Ballast water 1",
            "sample-alias": "Ballast water 1",
            "host-tax-id": null,
            "species": null,
            "last-update": "2019-04-05T17:28:50"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Aquatic:Marine:Coastal"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Marine:Coastal?format=api"
                }
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1114965/runs?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1114965/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00004087",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00004087?format=api"
                        }
                    }
                ]
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1114965?format=api"
        }
    }
}