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

{
    "total": 1,
    "limit": 25,
    "offset": 0,
    "prev_offset": null,
    "next_offset": null,
    "page_size": 25,
    "this_page": 1,
    "num_this_page": 1,
    "prev_api": "",
    "next_api": "",
    "objects": [
        {
            "id": "ddr-densho-126-1",
            "model": "entity",
            "index": "0 0/{'value': 1, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-densho-126-1/",
                "json": "https://ddr.densho.org/api/0.2/ddr-densho-126-1/",
                "img": "https://ddr.densho.org/media/ddr-densho-126/ddr-densho-126-1-mezzanine-40c20d7088-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-densho-126/ddr-densho-126-1-mezzanine-40c20d7088-a.jpg"
            },
            "title": "Poem written in camp",
            "description": "Jim Yoshihara wrote the poem \"Damned Fence\" while incarcerated at Minidoka.",
            "extent": "8Wx 10H",
            "links_children": "ddr-densho-126-1",
            "topics": [
                {
                    "term": "World War II -- Concentration camps -- Arts and literature",
                    "id": "172"
                },
                {
                    "term": "Arts and literature -- Literary arts -- Poetry",
                    "id": "246"
                }
            ],
            "format": "doc",
            "language": [
                "eng"
            ],
            "persons": [
                "Yoshihara, Jim"
            ],
            "contributor": "Densho",
            "rights": "pcc",
            "genre": "poetry",
            "location": "Minidoka concentration camp, Idaho",
            "facility": [
                {
                    "term": "Minidoka",
                    "id": "8"
                }
            ],
            "status": "completed",
            "download_large": "ddr-densho-126-1-mezzanine-40c20d7088-a.jpg"
        }
    ],
    "query": {
        "query": {
            "bool": {
                "filter": [
                    {
                        "term": {
                            "persons": "Yoshihara, Jim"
                        }
                    }
                ]
            }
        },
        "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"
        ]
    }
}