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

{
    "total": 6,
    "limit": 25,
    "offset": 0,
    "prev_offset": null,
    "next_offset": null,
    "page_size": 25,
    "this_page": 1,
    "num_this_page": 6,
    "prev_api": "",
    "next_api": "",
    "objects": [
        {
            "id": "ddr-densho-339-8",
            "model": "entity",
            "index": "0 0/{'value': 6, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-densho-339-8/",
                "json": "https://ddr.densho.org/api/0.2/ddr-densho-339-8/",
                "img": "https://ddr.densho.org/media/ddr-densho-339/ddr-densho-339-8-mezzanine-bd3e752952-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-densho-339/ddr-densho-339-8-mezzanine-bd3e752952-a.jpg"
            },
            "title": "Group in Heart Mountain",
            "description": "Back row, 3rd from right: Asano Ota. Back row, 2nd from right: Sadaichi Ota",
            "extent": "Unknown",
            "links_children": "ddr-densho-339-8",
            "format": "img",
            "persons": [
                "Ota, Asano",
                "Ota, Sadaichi"
            ],
            "contributor": "Densho",
            "rights": "cc",
            "genre": "photograph",
            "location": "Cody, Wyoming",
            "facility": [
                {
                    "term": "Heart Mountain",
                    "id": "5"
                }
            ],
            "status": "completed",
            "download_large": "ddr-densho-339-8-mezzanine-bd3e752952-a.jpg"
        },
        {
            "id": "ddr-densho-339-16",
            "model": "entity",
            "index": "1 1/{'value': 6, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-densho-339-16/",
                "json": "https://ddr.densho.org/api/0.2/ddr-densho-339-16/",
                "img": "https://ddr.densho.org/media/ddr-densho-339/ddr-densho-339-16-mezzanine-2725ae26fc-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-densho-339/ddr-densho-339-16-mezzanine-2725ae26fc-a.jpg"
            },
            "title": "Ota Family in Heart Mountain",
            "description": "From left to right: Doris Ota Saito, Wes Ota, Asano Ota, Molly Ota, unknown.",
            "extent": "Unknown",
            "links_children": "ddr-densho-339-16",
            "format": "img",
            "persons": [
                "Saito, Doris Ota",
                "Ota, Asano",
                "Ota, Wes",
                "Ota, Molly"
            ],
            "contributor": "Densho",
            "rights": "cc",
            "genre": "photograph",
            "location": "Cody, Wyoming",
            "facility": [
                {
                    "term": "Heart Mountain",
                    "id": "5"
                }
            ],
            "status": "completed",
            "download_large": "ddr-densho-339-16-mezzanine-2725ae26fc-a.jpg"
        },
        {
            "id": "ddr-densho-339-7",
            "model": "entity",
            "index": "2 2/{'value': 6, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-densho-339-7/",
                "json": "https://ddr.densho.org/api/0.2/ddr-densho-339-7/",
                "img": "https://ddr.densho.org/media/ddr-densho-339/ddr-densho-339-7-mezzanine-76424d6bd9-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-densho-339/ddr-densho-339-7-mezzanine-76424d6bd9-a.jpg"
            },
            "title": "Group in Heart Mountain",
            "description": "Top row, far left: Asano Ota.",
            "extent": "Unknown",
            "links_children": "ddr-densho-339-7",
            "format": "img",
            "persons": [
                "Ota, Asano"
            ],
            "contributor": "Densho",
            "rights": "cc",
            "genre": "photograph",
            "location": "Cody, Wyoming",
            "facility": [
                {
                    "term": "Heart Mountain",
                    "id": "5"
                }
            ],
            "status": "completed",
            "download_large": "ddr-densho-339-7-mezzanine-76424d6bd9-a.jpg"
        },
        {
            "id": "ddr-densho-339-9",
            "model": "entity",
            "index": "3 3/{'value': 6, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-densho-339-9/",
                "json": "https://ddr.densho.org/api/0.2/ddr-densho-339-9/",
                "img": "https://ddr.densho.org/media/ddr-densho-339/ddr-densho-339-9-mezzanine-eddb945996-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-densho-339/ddr-densho-339-9-mezzanine-eddb945996-a.jpg"
            },
            "title": "Sadaichi and Asano Ota at Heart Mountain",
            "description": "",
            "extent": "Unknown",
            "links_children": "ddr-densho-339-9",
            "format": "img",
            "persons": [
                "Ota, Asano",
                "Ota, Sadaichi"
            ],
            "contributor": "Densho",
            "rights": "cc",
            "genre": "photograph",
            "location": "Cody, Wyoming",
            "facility": [
                {
                    "term": "Heart Mountain",
                    "id": "5"
                }
            ],
            "status": "completed",
            "download_large": "ddr-densho-339-9-mezzanine-eddb945996-a.jpg"
        },
        {
            "id": "ddr-densho-339-31",
            "model": "entity",
            "index": "4 4/{'value': 6, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-densho-339-31/",
                "json": "https://ddr.densho.org/api/0.2/ddr-densho-339-31/",
                "img": "https://ddr.densho.org/media/ddr-densho-339/ddr-densho-339-31-mezzanine-d998b6b8ec-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-densho-339/ddr-densho-339-31-mezzanine-d998b6b8ec-a.jpg"
            },
            "title": "Handbag crocheted by Asano Ota",
            "description": "A handbag Asano Ota crocheted while she was in camp. An etching of Heart Mountain on the handle.",
            "extent": "Unknown",
            "links_children": "ddr-densho-339-31",
            "topics": [
                {
                    "term": "World War II -- Concentration camps -- Arts and literature",
                    "id": "172"
                },
                {
                    "term": "Arts and literature -- Visual arts -- Needlecrafts",
                    "id": "264"
                }
            ],
            "format": "img",
            "language": [
                "eng"
            ],
            "persons": [
                "Ota, Asano"
            ],
            "contributor": "Densho",
            "rights": "cc",
            "genre": "ephemera",
            "location": "Cody, Wyoming",
            "facility": [
                {
                    "term": "Heart Mountain",
                    "id": "5"
                }
            ],
            "status": "completed",
            "download_large": "ddr-densho-339-31-mezzanine-d998b6b8ec-a.jpg"
        },
        {
            "id": "ddr-densho-339-32",
            "model": "entity",
            "index": "5 5/{'value': 6, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-densho-339-32/",
                "json": "https://ddr.densho.org/api/0.2/ddr-densho-339-32/",
                "img": "https://ddr.densho.org/media/ddr-densho-339/ddr-densho-339-32-mezzanine-35778e8efa-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-densho-339/ddr-densho-339-32-mezzanine-35778e8efa-a.jpg"
            },
            "title": "Embroidery of Heart Mountain",
            "description": "An embroidered piece by Asano Ota showing Heart Mountain.",
            "extent": "Unknown",
            "links_children": "ddr-densho-339-32",
            "topics": [
                {
                    "term": "World War II -- Concentration camps -- Arts and literature",
                    "id": "172"
                },
                {
                    "term": "Arts and literature -- Visual arts -- Needlecrafts",
                    "id": "264"
                }
            ],
            "format": "img",
            "language": [
                "eng"
            ],
            "persons": [
                "Ota, Asano"
            ],
            "contributor": "Densho",
            "rights": "cc",
            "genre": "ephemera",
            "location": "Cody, Wyoming",
            "facility": [
                {
                    "term": "Heart Mountain",
                    "id": "5"
                }
            ],
            "status": "completed",
            "download_large": "ddr-densho-339-32-mezzanine-35778e8efa-a.jpg"
        }
    ],
    "query": {
        "query": {
            "bool": {
                "filter": [
                    {
                        "term": {
                            "persons": "Ota, Asano"
                        }
                    }
                ]
            }
        },
        "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"
        ]
    }
}