GET /api/0.2/search/?fulltext=Sumi,%20Kuni
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-399-8",
            "model": "entity",
            "index": "0 0/{'value': 1, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-densho-399-8/",
                "json": "https://ddr.densho.org/api/0.2/ddr-densho-399-8/",
                "img": "https://ddr.densho.org/media/ddr-densho-399/ddr-densho-399-8-mezzanine-a1b9771ab2-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-densho-399/ddr-densho-399-8-mezzanine-a1b9771ab2-a.jpg"
            },
            "title": "Envelope",
            "description": "Addressed to Kuni Sumi",
            "extent": "6.5W x 3.75H",
            "links_children": "ddr-densho-399-8",
            "format": "doc",
            "language": [
                "eng"
            ],
            "persons": [
                {
                    "namepart": "Sumi, Kuni"
                }
            ],
            "contributor": "Densho",
            "rights": "cc",
            "genre": "correspondence",
            "location": "Topaz, Utah",
            "facility": [
                {
                    "term": "Topaz (Central Utah)",
                    "id": "1"
                }
            ],
            "creation": "c. 1942",
            "status": "completed",
            "search_hidden": "Sumi, Kuni",
            "download_large": "ddr-densho-399-8-mezzanine-a1b9771ab2-a.jpg"
        }
    ],
    "query": {
        "query": {
            "query_string": {
                "query": "Sumi, Kuni",
                "fields": [
                    "id",
                    "model",
                    "links_html",
                    "links_json",
                    "links_img",
                    "links_thumb",
                    "links_children",
                    "status",
                    "public",
                    "title",
                    "description",
                    "contributor",
                    "creators",
                    "creators.namepart",
                    "facility",
                    "format",
                    "genre",
                    "geography",
                    "label",
                    "language",
                    "creation",
                    "location",
                    "persons",
                    "rights",
                    "topics",
                    "image_url",
                    "display_name",
                    "bio",
                    "extent",
                    "search_hidden"
                ],
                "analyze_wildcard": false,
                "allow_leading_wildcard": false,
                "default_operator": "AND"
            }
        },
        "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",
            "creators.namepart",
            "facility",
            "format",
            "genre",
            "geography",
            "label",
            "language",
            "creation",
            "location",
            "persons",
            "rights",
            "topics",
            "image_url",
            "display_name",
            "bio",
            "extent",
            "search_hidden"
        ]
    }
}