GET /api/0.2/search/?fulltext=persons:Corbett,%20Gretchen
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-317-31",
            "model": "entity",
            "index": "0 0/{'value': 3, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-densho-317-31/",
                "json": "https://ddr.densho.org/api/0.2/ddr-densho-317-31/",
                "img": "https://ddr.densho.org/media/ddr-densho-317/ddr-densho-317-31-mezzanine-e303c3f20c-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-densho-317/ddr-densho-317-31-mezzanine-e303c3f20c-a.jpg"
            },
            "title": "Scene stills from the Farewell to Manzanar film",
            "description": "Caption on reverse: \"93086.\"",
            "extent": "8.5W x 11H",
            "links_children": "ddr-densho-317-31",
            "creators": [
                {
                    "role": "photographer",
                    "namepart": "Narita, Barbara P."
                }
            ],
            "topics": [
                {
                    "term": "Arts and literature -- Performing arts -- Film -- Dramas",
                    "id": "252"
                }
            ],
            "format": "img",
            "persons": [
                "Kikumura, Akemi",
                "Corbett, Gretchen"
            ],
            "contributor": "Densho",
            "rights": "pcc",
            "genre": "photograph",
            "location": "California",
            "status": "completed",
            "download_large": "ddr-densho-317-31-mezzanine-e303c3f20c-a.jpg"
        },
        {
            "id": "ddr-densho-317-33",
            "model": "entity",
            "index": "1 1/{'value': 3, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-densho-317-33/",
                "json": "https://ddr.densho.org/api/0.2/ddr-densho-317-33/",
                "img": "https://ddr.densho.org/media/ddr-densho-317/ddr-densho-317-33-mezzanine-f5dbf90ddb-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-densho-317/ddr-densho-317-33-mezzanine-f5dbf90ddb-a.jpg"
            },
            "title": "Scene stills from the Farewell to Manzanar film",
            "description": "Caption on reverse: \"93088.\"",
            "extent": "8.5W x 11H",
            "links_children": "ddr-densho-317-33",
            "creators": [
                {
                    "role": "photographer",
                    "namepart": "Narita, Barbara P."
                }
            ],
            "topics": [
                {
                    "term": "Arts and literature -- Performing arts -- Film -- Dramas",
                    "id": "252"
                }
            ],
            "format": "img",
            "persons": [
                "Shimoda, Yuki",
                "Corbett, Gretchen",
                "Saito, James"
            ],
            "contributor": "Densho",
            "rights": "pcc",
            "genre": "photograph",
            "location": "California",
            "facility": [
                {
                    "term": "Manzanar",
                    "id": "7"
                }
            ],
            "status": "completed",
            "download_large": "ddr-densho-317-33-mezzanine-f5dbf90ddb-a.jpg"
        },
        {
            "id": "ddr-densho-317-16",
            "model": "entity",
            "index": "2 2/{'value': 3, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-densho-317-16/",
                "json": "https://ddr.densho.org/api/0.2/ddr-densho-317-16/",
                "img": "https://ddr.densho.org/media/ddr-densho-317/ddr-densho-317-16-mezzanine-8a97ad53d3-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-densho-317/ddr-densho-317-16-mezzanine-8a97ad53d3-a.jpg"
            },
            "title": "Scene still in the Manzanar hospital",
            "description": "",
            "extent": "8W x 6H",
            "links_children": "ddr-densho-317-16",
            "creators": [
                {
                    "role": "photographer",
                    "namepart": "Narita, Barbara P."
                }
            ],
            "topics": [
                {
                    "term": "World War II -- Concentration camps -- Medical care and health issues",
                    "id": "70"
                }
            ],
            "format": "img",
            "persons": [
                "McCarthy, Nobu",
                "Takeshita, Dori",
                "Shimoda, Yuki",
                "Corbett, Gretchen"
            ],
            "contributor": "Densho",
            "rights": "pcc",
            "genre": "photograph",
            "location": "California",
            "facility": [
                {
                    "term": "Manzanar",
                    "id": "7"
                }
            ],
            "status": "completed",
            "download_large": "ddr-densho-317-16-mezzanine-8a97ad53d3-a.jpg"
        }
    ],
    "query": {
        "query": {
            "bool": {
                "filter": [
                    {
                        "term": {
                            "persons": "Corbett, Gretchen"
                        }
                    }
                ]
            }
        },
        "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"
        ]
    }
}