GET /api/0.2/search/?fulltext=Sent+to+Hopkins%2C+Minnesota
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-280-47",
            "model": "entity",
            "index": "0 0/{'value': 1, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-densho-280-47/",
                "json": "https://ddr.densho.org/api/0.2/ddr-densho-280-47/",
                "img": "https://ddr.densho.org/media/ddr-densho-280/ddr-densho-280-47-mezzanine-1a462dd9f4-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-densho-280/ddr-densho-280-47-mezzanine-1a462dd9f4-a.jpg"
            },
            "title": "Letter concerning JACL ad space",
            "description": "Letter from Peter Ohtaki informing Mrs. George S. Matsui that her prior letter had been forwarded to James Matsuoka and that they intend to buy a full-page advertisement in the JACL EDM-MDC convention booklet.",
            "extent": "8.5W x 11H",
            "links_children": "ddr-densho-280-47",
            "creators": [
                {
                    "role": "author",
                    "namepart": "Ohtaki, Peter"
                }
            ],
            "topics": [
                {
                    "term": "Community activities -- Associations and organizations -- The Japanese American Citizens League",
                    "id": "20"
                },
                {
                    "term": "Community activities -- Conventions and conferences",
                    "id": "299"
                }
            ],
            "format": "doc",
            "language": [
                "eng"
            ],
            "persons": [
                {
                    "namepart": "Matsui, Mrs. George S."
                },
                {
                    "namepart": "Hattori, Frank"
                },
                {
                    "namepart": "Hirano, Ute"
                },
                {
                    "namepart": "Matsuoka, Jim"
                },
                {
                    "namepart": "Ohtaki, Peter"
                },
                {
                    "namepart": "The Japanese Citizens League"
                },
                {
                    "namepart": "Hamanaka, Joe"
                }
            ],
            "contributor": "Densho",
            "rights": "pcc",
            "genre": "correspondence",
            "location": "Sent to Hopkins, Minnesota",
            "creation": "July 24, 1961",
            "status": "completed",
            "search_hidden": "Ohtaki, Peter author Matsui, Mrs. George S. \nHattori, Frank \nHirano, Ute \nMatsuoka, Jim \nOhtaki, Peter \nThe Japanese Citizens League \nHamanaka, Joe",
            "download_large": "ddr-densho-280-47-mezzanine-1a462dd9f4-a.jpg"
        }
    ],
    "query": {
        "query": {
            "query_string": {
                "query": "Sent to Hopkins, Minnesota",
                "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"
        ]
    }
}