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

{
    "total": 3,
    "limit": 25,
    "offset": 0,
    "prev_offset": null,
    "next_offset": null,
    "page_size": 25,
    "this_page": 1,
    "num_this_page": 3,
    "prev_api": "",
    "next_api": "",
    "objects": [
        {
            "id": "ddr-densho-179-119",
            "model": "entity",
            "index": "0 0/{'value': 3, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-densho-179-119/",
                "json": "https://ddr.densho.org/api/0.2/ddr-densho-179-119/",
                "img": "https://ddr.densho.org/media/ddr-densho-179/ddr-densho-179-119-mezzanine-12fb6574ee-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-densho-179/ddr-densho-179-119-mezzanine-12fb6574ee-a.jpg"
            },
            "title": "U.S. soldiers",
            "description": "T/4 Stanley Ito, Sgt. Warren Sakuma, 1st Lt. John Flagler, 1st Lt. Lawrence Boggs, Sgt. Shigeru Sato, T/3 Harry Okano, T/4 Frank Mizuno, T/3 Osami Yamamoto, Sgt. Tom Matsumoto, Sgt. Bob Oda, 1st Lt. John Flagler, Sgt. Tomotsu Nagao, Sgt. Akira Nakamura.",
            "extent": "762W (pixels)",
            "links_children": "ddr-densho-179-119",
            "topics": [
                {
                    "term": "World War II -- Military service -- Military Intelligence Service",
                    "id": "91"
                },
                {
                    "term": "Japan -- Okinawa",
                    "id": "379"
                }
            ],
            "format": "img",
            "language": [
                "eng"
            ],
            "persons": [
                "Sakuma, Warren",
                "Flagler, John",
                "Boggs, Lawrence",
                "Sato, Shigeru",
                "Okano, Harry",
                "Mizuno, Frank",
                "Yamamoto, Osami",
                "Matsumoto, Tom",
                "Oda, Bob",
                "Flagler, John",
                "Nagao, Tomotsu",
                "Nakamura, Akira"
            ],
            "contributor": "Densho",
            "rights": "pcc",
            "genre": "photograph",
            "location": "Okinawa, Japan",
            "status": "completed",
            "download_large": "ddr-densho-179-119-mezzanine-12fb6574ee-a.jpg"
        },
        {
            "id": "ddr-densho-179-120",
            "model": "entity",
            "index": "1 1/{'value': 3, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-densho-179-120/",
                "json": "https://ddr.densho.org/api/0.2/ddr-densho-179-120/",
                "img": "https://ddr.densho.org/media/ddr-densho-179/ddr-densho-179-120-mezzanine-3814b28e81-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-densho-179/ddr-densho-179-120-mezzanine-3814b28e81-a.jpg"
            },
            "title": "U.S. soldier",
            "description": "1st Lt. John Flagler.",
            "extent": "762W (pixels)",
            "links_children": "ddr-densho-179-120",
            "topics": [
                {
                    "term": "World War II -- Military service -- Military Intelligence Service",
                    "id": "91"
                },
                {
                    "term": "Japan -- Okinawa",
                    "id": "379"
                }
            ],
            "format": "img",
            "language": [
                "eng"
            ],
            "persons": [
                "Flagler, John"
            ],
            "contributor": "Densho",
            "rights": "pcc",
            "genre": "photograph",
            "location": "Okinawa, Japan",
            "status": "completed",
            "download_large": "ddr-densho-179-120-mezzanine-3814b28e81-a.jpg"
        },
        {
            "id": "ddr-densho-179-123",
            "model": "entity",
            "index": "2 2/{'value': 3, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-densho-179-123/",
                "json": "https://ddr.densho.org/api/0.2/ddr-densho-179-123/",
                "img": "https://ddr.densho.org/media/ddr-densho-179/ddr-densho-179-123-mezzanine-d36af70577-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-densho-179/ddr-densho-179-123-mezzanine-d36af70577-a.jpg"
            },
            "title": "Nisei soldiers",
            "description": "T/3 Akira Nakamura, 1st Lt. John Flagler, T/3 Shigeru Sato, T/3 Frank Mizuno, T/3 Harry Okano, T/3 Robert Oda.",
            "extent": "762W (pixels)",
            "links_children": "ddr-densho-179-123",
            "topics": [
                {
                    "term": "World War II -- Military service -- Military Intelligence Service",
                    "id": "91"
                },
                {
                    "term": "Japan -- Okinawa",
                    "id": "379"
                }
            ],
            "format": "img",
            "language": [
                "eng"
            ],
            "persons": [
                "Nakamura, Akira",
                "Flagler, John",
                "Sato, Shigeru",
                "Mizuno, Frank",
                "Okano, Harry",
                "Oda, Robert"
            ],
            "contributor": "Densho",
            "rights": "pcc",
            "genre": "photograph",
            "location": "Okinawa, Japan",
            "status": "completed",
            "download_large": "ddr-densho-179-123-mezzanine-d36af70577-a.jpg"
        }
    ],
    "query": {
        "query": {
            "bool": {
                "filter": [
                    {
                        "term": {
                            "persons": "Flagler, John"
                        }
                    }
                ]
            }
        },
        "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"
        ]
    }
}