GET /api/0.2/search/?fulltext=creators:Watanabe,%20Dutch
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-densho-171-109",
            "model": "entity",
            "index": "0 0/{'value': 2, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-densho-171-109/",
                "json": "https://ddr.densho.org/api/0.2/ddr-densho-171-109/",
                "img": "https://ddr.densho.org/media/ddr-densho-171/ddr-densho-171-109-mezzanine-e77b9156ae-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-densho-171/ddr-densho-171-109-mezzanine-e77b9156ae-a.jpg"
            },
            "title": "Student essay: \"Is it fair to the fighting men?\"",
            "description": "Excerpt: \"Is it fair to the soldiers, sailors, and marines, who fight in blizzards, snow, hot deserts, and mud up to their knees; when miners, factory workers...\"",
            "extent": "1766W x 2658H (pixels)",
            "links_children": "ddr-densho-171-109",
            "creators": [
                {
                    "role": "author",
                    "namepart": "Watanabe, Dutch"
                }
            ],
            "topics": [
                {
                    "term": "World War II -- Concentration camps -- Education",
                    "id": "73"
                },
                {
                    "term": "Arts and literature -- Literary arts -- Essays",
                    "id": "240"
                }
            ],
            "format": "doc",
            "language": [
                "eng"
            ],
            "persons": [
                "Watanabe, Dutch"
            ],
            "contributor": "Densho",
            "rights": "cc",
            "genre": "essay",
            "location": "Minidoka concentration camp, Idaho",
            "facility": [
                {
                    "term": "Minidoka",
                    "id": "8"
                }
            ],
            "status": "completed",
            "download_large": "ddr-densho-171-109-mezzanine-e77b9156ae-a.jpg"
        },
        {
            "id": "ddr-densho-171-146",
            "model": "entity",
            "index": "1 1/{'value': 2, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-densho-171-146/",
                "json": "https://ddr.densho.org/api/0.2/ddr-densho-171-146/",
                "img": "https://ddr.densho.org/media/ddr-densho-171/ddr-densho-171-146-mezzanine-c7e98cebc6-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-densho-171/ddr-densho-171-146-mezzanine-c7e98cebc6-a.jpg"
            },
            "title": "Student essay: \"Mission accomplished\"",
            "description": "Excerpt: \"'Well boys we're allmost home,' say the pilot to his crew.\"",
            "extent": "1742W x 2674H (pixels)",
            "links_children": "ddr-densho-171-146",
            "creators": [
                {
                    "role": "author",
                    "namepart": "Watanabe, Dutch"
                }
            ],
            "topics": [
                {
                    "term": "World War II -- Concentration camps -- Education",
                    "id": "73"
                },
                {
                    "term": "Arts and literature -- Literary arts -- Essays",
                    "id": "240"
                }
            ],
            "format": "doc",
            "language": [
                "eng"
            ],
            "persons": [
                "Watanabe, Dutch"
            ],
            "contributor": "Densho",
            "rights": "cc",
            "genre": "essay",
            "location": "Minidoka concentration camp, Idaho",
            "facility": [
                {
                    "term": "Minidoka",
                    "id": "8"
                }
            ],
            "status": "completed",
            "download_large": "ddr-densho-171-146-mezzanine-c7e98cebc6-a.jpg"
        }
    ],
    "query": {
        "query": {
            "bool": {
                "must": [
                    {
                        "nested": {
                            "path": "creators",
                            "query": {
                                "term": {
                                    "creators.namepart": "Watanabe, Dutch"
                                }
                            }
                        }
                    }
                ]
            }
        },
        "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"
        ]
    }
}