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

{
    "data": {
        "type": "samples",
        "id": "SRS3271382",
        "attributes": {
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "116.82711",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "China",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2017-10-07",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "23.38402",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina MiSeq",
                    "unit": null
                },
                {
                    "key": "last update date",
                    "value": "2018-05-09",
                    "unit": null
                }
            ],
            "longitude": 116.8271,
            "biosample": "SAMN09092934",
            "latitude": 23.384,
            "accession": "SRS3271382",
            "analysis-completed": "2019-04-07",
            "collection-date": "2017-10-07",
            "geo-loc-name": "China",
            "sample-desc": "This sample has been submitted by pda|lab427 on 2018-05-09; sediment metagenome",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "bacteria community in the sendiment from China",
            "sample-alias": "bacteria community in the sendiment from China",
            "host-tax-id": null,
            "species": null,
            "last-update": "2019-04-07T05:56:54"
        },
        "relationships": {
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS3271382/runs?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS3271382/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00004529",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00004529?format=api"
                        }
                    }
                ]
            },
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Aquatic:Freshwater:Lotic:Sediment"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Freshwater:Lotic:Sediment?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS3271382?format=api"
        }
    }
}