GET /api/0.2/search/?fulltext=persons:Tschirky,%20Oscar
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "total": 2,
    "limit": 25,
    "offset": 0,
    "prev_offset": null,
    "next_offset": null,
    "page_size": 25,
    "this_page": 1,
    "num_this_page": 2,
    "prev_api": "",
    "next_api": "",
    "objects": [
        {
            "id": "ddr-njpa-1-2192",
            "model": "entity",
            "index": "0 0/{'value': 2, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-njpa-1-2192/",
                "json": "https://ddr.densho.org/api/0.2/ddr-njpa-1-2192/",
                "img": "https://ddr.densho.org/media/ddr-njpa-1/ddr-njpa-1-2192-mezzanine-f6b0fa0473-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-njpa-1/ddr-njpa-1-2192-mezzanine-f6b0fa0473-a.jpg"
            },
            "title": "Clipping regarding Oscar Tschirky",
            "description": "Caption on front: \"The 'host par excellence' Oscar of the Waldorf. From a recent studio photograph. (New York Times Studios.)\"",
            "extent": "2.5W x 3.75H",
            "links_children": "ddr-njpa-1-2192",
            "creators": [
                {
                    "role": "photographer",
                    "namepart": "New York Times Studios"
                }
            ],
            "format": "doc",
            "language": [
                "eng"
            ],
            "persons": [
                "Tschirky, Oscar"
            ],
            "contributor": "Hawai'i Times Photo Archives Foundation",
            "rights": "pcc",
            "genre": "clipping",
            "location": "New York, New York",
            "status": "completed",
            "download_large": "ddr-njpa-1-2192-mezzanine-f6b0fa0473-a.jpg"
        },
        {
            "id": "ddr-njpa-1-2193",
            "model": "entity",
            "index": "1 1/{'value': 2, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-njpa-1-2193/",
                "json": "https://ddr.densho.org/api/0.2/ddr-njpa-1-2193/",
                "img": "https://ddr.densho.org/media/ddr-njpa-1/ddr-njpa-1-2193-mezzanine-b473d83508-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-njpa-1/ddr-njpa-1-2193-mezzanine-b473d83508-a.jpg"
            },
            "title": "Clipping regarding Oscar Tschirky",
            "description": "Caption on front: \"A birthday party at the Waldorf-Astoria: Oscar Tschirky, who for forty-one years has been known as 'Oscar the Waldorf,' is congratulated by other members of the staff of the hotel on his 67th birthday. (Times Wide World Photos.)\"",
            "extent": "6.75W x 4.75H",
            "links_children": "ddr-njpa-1-2193",
            "creators": [
                {
                    "role": "publisher",
                    "namepart": "Times Wide World"
                }
            ],
            "format": "doc",
            "language": [
                "eng"
            ],
            "persons": [
                "Tschirky, Oscar"
            ],
            "contributor": "Hawai'i Times Photo Archives Foundation",
            "rights": "pcc",
            "genre": "clipping",
            "location": "New York, New York",
            "status": "completed",
            "download_large": "ddr-njpa-1-2193-mezzanine-b473d83508-a.jpg"
        }
    ],
    "query": {
        "query": {
            "bool": {
                "filter": [
                    {
                        "term": {
                            "persons": "Tschirky, Oscar"
                        }
                    }
                ]
            }
        },
        "aggs": {
            "facility": {
                "nested": {
                    "path": "facility"
                },
                "aggs": {
                    "facility_ids": {
                        "terms": {
                            "field": "facility.id",
                            "size": 1000
                        }
                    }
                }
            },
            "format": {
                "terms": {
                    "field": "format"
                }
            },
            "genre": {
                "terms": {
                    "field": "genre"
                }
            },
            "rights": {
                "terms": {
                    "field": "rights"
                }
            },
            "topics": {
                "nested": {
                    "path": "topics"
                },
                "aggs": {
                    "topics_ids": {
                        "terms": {
                            "field": "topics.id",
                            "size": 1000
                        }
                    }
                }
            }
        },
        "_source": [
            "id",
            "model",
            "links_html",
            "links_json",
            "links_img",
            "links_thumb",
            "links_children",
            "status",
            "public",
            "title",
            "description",
            "contributor",
            "creators",
            "facility",
            "format",
            "genre",
            "geography",
            "label",
            "language",
            "location",
            "persons",
            "rights",
            "topics",
            "image_url",
            "display_name",
            "bio",
            "extent"
        ]
    }
}