GET /locality/21104?fields=locality,id&related_data=drillcore&related_data=reference&fields=author,year
HTTP 200 OK
Vary: Accept
Content-Type: application/json
Allow: GET, HEAD, OPTIONS

{
    "results": [
        {
            "locality": "Lagedi puurauk", 
            "id": 21104
        }
    ], 
    "related_data": {
        "reference": [
            {
                "year": "1930", 
                "author": "Orviku, Karl"
            }
        ], 
        "drillcore": [
            {
                "id": 415
            }
        ]
    }
}