GET /api/0.2/search/?fulltext=creators:Gottfried,%20Alex
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-67-225",
            "model": "entity",
            "index": "0 0/{'value': 1, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-densho-67-225/",
                "json": "https://ddr.densho.org/api/0.2/ddr-densho-67-225/",
                "img": "https://ddr.densho.org/media/ddr-densho-67/ddr-densho-67-225-mezzanine-e2f83bff47-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-densho-67/ddr-densho-67-225-mezzanine-e2f83bff47-a.jpg"
            },
            "title": "Testimony of Alex Gottfried, American Civil Liberties Union of Washington",
            "description": "Written testimony of Alex Gottfried, representing the American Civil Liberties Union of Washington. This testimony was presented at the CWRIC hearing in Seattle, Washington, on Friday, September 11, 1981, in the section titled \"Organizations.\"",
            "extent": "2460W x 3205H (pixels)",
            "links_children": "ddr-densho-67-225",
            "creators": [
                {
                    "role": "author",
                    "namepart": "Gottfried, Alex"
                }
            ],
            "topics": [
                {
                    "term": "Redress and reparations -- Commission on Wartime Relocation and Internment of Civilians (CWRIC) -- Hearings -- Seattle, Washington hearings",
                    "id": "217"
                }
            ],
            "format": "doc",
            "language": [
                "eng"
            ],
            "persons": [
                "Gottfried, Alex"
            ],
            "contributor": "Densho",
            "rights": "pdm",
            "genre": "misc_document",
            "location": "Seattle, Washington",
            "status": "completed",
            "download_large": "ddr-densho-67-225-mezzanine-e2f83bff47-a.jpg"
        }
    ],
    "query": {
        "query": {
            "bool": {
                "must": [
                    {
                        "nested": {
                            "path": "creators",
                            "query": {
                                "term": {
                                    "creators.namepart": "Gottfried, Alex"
                                }
                            }
                        }
                    }
                ]
            }
        },
        "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"
        ]
    }
}