GET /api/0.2/search/?fulltext=Sent+from+Pinedale%2C+California+to+Missoula%2C+Montana
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-25-27",
            "model": "entity",
            "index": "0 0/1",
            "links": {
                "html": "http://ddr.densho.org/ddr-densho-25-27/",
                "json": "http://ddr.densho.org/api/0.2/ddr-densho-25-27/",
                "img": "https://ddr.densho.org/media/ddr-densho-25/ddr-densho-25-27-mezzanine-c07d788cb6-a.jpg",
                "thumb": "http://192.168.0.30/media/ddr-densho-25/ddr-densho-25-27-mezzanine-c07d788cb6-a.jpg"
            },
            "title": "Change of Residence Notice",
            "description": "Considered a \"dangerous enemy alien,\" Matahichi Iseri was separated from his family and sent to the Department of Justice internment camp at Fort Missoula, Montana. In June 1942, he received a Change of Residence Notice certificate, which indicated that his request to join his family at the Pinedale Assembly Center in California had been approved.",
            "location": "Issued at Fort Missoula, Montana",
            "role": "",
            "parent_id": "ddr-densho-25",
            "extent": "2128W x 1329H (pixels)",
            "record_lastmod": "2015-03-13T14:02:27",
            "links_children": "ddr-densho-25-27",
            "genre": "misc_document",
            "format": "doc",
            "credit": "Courtesy of the Yamada Family Collection",
            "creation": "June 19, 1942",
            "sort": 1,
            "organization_id": "ddr-densho",
            "record_created": "2014-02-05T13:47:33",
            "signature_id": "ddr-densho-25-27-mezzanine-c07d788cb6",
            "alternate_id": "[denshouid: denshopd-p25-00027]",
            "topics": [
                {
                    "id": "82",
                    "term": "World War II: Department of Justice camps"
                },
                {
                    "id": "84",
                    "term": "World War II: \"Enemy alien\" classification"
                }
            ],
            "_fields": [
                "id",
                "record_created",
                "record_lastmod",
                "status",
                "public",
                "sort",
                "title",
                "description",
                "creation",
                "location",
                "creators",
                "language",
                "genre",
                "format",
                "extent",
                "contributor",
                "alternate_id",
                "digitize_person",
                "digitize_organization",
                "digitize_date",
                "credit",
                "rights",
                "rights_statement",
                "topics",
                "persons",
                "facility",
                "chronology",
                "geography",
                "parent",
                "signature_id"
            ],
            "lineage": [
                {
                    "label": "27",
                    "idpart": "eid",
                    "id": "ddr-densho-25-27",
                    "model": "entity"
                },
                {
                    "label": "25",
                    "idpart": "cid",
                    "id": "ddr-densho-25",
                    "model": "collection"
                }
            ],
            "links_parent": "ddr-densho-25",
            "rights": "pcc",
            "persons": [
                "Iseri, Matahichi"
            ],
            "contributor": "Densho",
            "digitize_person": "Unknown",
            "digitize_date": "2014-02-06T08:56:11",
            "topics_id": [
                "82",
                "84"
            ],
            "digitize_organization": "Densho",
            "language": [
                "eng"
            ],
            "collection_id": "ddr-densho-25",
            "status": "completed"
        }
    ],
    "query": {
        "query": {
            "query_string": {
                "fields": [
                    "model",
                    "status",
                    "public",
                    "title",
                    "description",
                    "contributor",
                    "creators",
                    "facility",
                    "format",
                    "genre",
                    "geography",
                    "label",
                    "language",
                    "location",
                    "persons",
                    "rights",
                    "topics"
                ],
                "default_operator": "AND",
                "analyze_wildcard": false,
                "query": "Sent from Pinedale, California to Missoula, Montana",
                "allow_leading_wildcard": false
            }
        },
        "aggs": {
            "genre": {
                "terms": {
                    "field": "genre"
                }
            },
            "facility": {
                "nested": {
                    "path": "facility"
                },
                "aggs": {
                    "facility_ids": {
                        "terms": {
                            "field": "facility.id",
                            "size": 1000
                        }
                    }
                }
            },
            "rights": {
                "terms": {
                    "field": "rights"
                }
            },
            "topics": {
                "nested": {
                    "path": "topics"
                },
                "aggs": {
                    "topics_ids": {
                        "terms": {
                            "field": "topics.id",
                            "size": 1000
                        }
                    }
                }
            },
            "format": {
                "terms": {
                    "field": "format"
                }
            }
        }
    },
    "aggregations": {
        "genre": {
            "doc_count": "key"
        },
        "facility": {},
        "rights": {
            "doc_count": "key"
        },
        "topics": {
            "doc_count": "key"
        },
        "format": {
            "doc_count": "key"
        }
    }
}