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

{
    "data": {
        "type": "samples",
        "id": "SRS1228049",
        "attributes": {
            "biosample": "SAMN04360672",
            "longitude": -96.15,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-96.15",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "USA: Southern Minnesota",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2013-07-01",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "45.01",
                    "unit": null
                }
            ],
            "latitude": 45.01,
            "accession": "SRS1228049",
            "analysis-completed": null,
            "collection-date": "2013-07-01",
            "geo-loc-name": null,
            "sample-desc": "This sample has been submitted by pda|fernand3 on 2015-12-30; soil metagenome",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "B713M104x",
            "sample-alias": "B713M104x",
            "host-tax-id": null,
            "species": null,
            "last-update": "2020-01-23T19:46:13"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Terrestrial:Soil:Agricultural"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Terrestrial:Soil:Agricultural?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1228049/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00005161",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005161?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1228049/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1228049?format=api"
        }
    }
}