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": 4,
    "limit": 25,
    "offset": 0,
    "prev_offset": null,
    "next_offset": null,
    "page_size": 25,
    "this_page": 1,
    "num_this_page": 4,
    "prev_api": "",
    "next_api": "",
    "objects": [
        {
            "id": "ddr-densho-25-27",
            "model": "entity",
            "index": "0 0/{'relation': 'eq', 'value': 4}",
            "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",
            "format": "doc",
            "status": "completed",
            "language": [
                "eng"
            ],
            "rights": "pcc",
            "genre": "misc_document",
            "links_children": "ddr-densho-25-27",
            "persons": [
                "Iseri, Matahichi"
            ],
            "topics": [
                {
                    "id": "82",
                    "term": "World War II -- Department of Justice camps"
                },
                {
                    "id": "84",
                    "term": "World War II -- \"Enemy alien\" classification"
                }
            ],
            "contributor": "Densho"
        },
        {
            "id": "ddr-densho-324-17",
            "model": "entity",
            "index": "1 1/{'relation': 'eq', 'value': 4}",
            "links": {
                "html": "http://ddr.densho.org/ddr-densho-324-17/",
                "json": "http://ddr.densho.org/api/0.2/ddr-densho-324-17/",
                "img": "https://ddr.densho.org/media/ddr-densho-324/ddr-densho-324-17-mezzanine-4f565b405c-a.jpg",
                "thumb": "http://192.168.0.30/media/ddr-densho-324/ddr-densho-324-17-mezzanine-4f565b405c-a.jpg"
            },
            "title": "Letter to Kinuta Uno at Fort Missoula",
            "description": "Correspondence from Kinuta Uno's wife and daughter discussing life at Pinedale Assembly Center.",
            "location": "Sent from Pinedale, California to Missoula, Montana",
            "creators": [
                {
                    "namepart": "Uno, Ikuko",
                    "role": "author"
                },
                {
                    "namepart": "Uno, Ryoko",
                    "role": "author"
                }
            ],
            "format": "doc",
            "status": "completed",
            "language": [
                "eng",
                "jpn"
            ],
            "facility": [
                {
                    "id": "20",
                    "term": "Pinedale"
                },
                {
                    "id": "30",
                    "term": "Fort Missoula"
                }
            ],
            "rights": "cc",
            "genre": "correspondence",
            "links_children": "ddr-densho-324-17",
            "persons": [
                "Uno, ikuko",
                "Uno, Ryoko"
            ],
            "topics": [
                {
                    "id": "62",
                    "term": "World War II -- Temporary Assembly Centers -- Living conditions"
                },
                {
                    "id": "192",
                    "term": "World War II -- Temporary Assembly Centers -- The journey"
                },
                {
                    "id": "82",
                    "term": "World War II -- Department of Justice camps"
                }
            ],
            "contributor": "Densho"
        },
        {
            "id": "ddr-densho-324-26",
            "model": "entity",
            "index": "2 2/{'relation': 'eq', 'value': 4}",
            "links": {
                "html": "http://ddr.densho.org/ddr-densho-324-26/",
                "json": "http://ddr.densho.org/api/0.2/ddr-densho-324-26/",
                "img": "https://ddr.densho.org/media/ddr-densho-324/ddr-densho-324-26-mezzanine-809d6356ad-a.jpg",
                "thumb": "http://192.168.0.30/media/ddr-densho-324/ddr-densho-324-26-mezzanine-809d6356ad-a.jpg"
            },
            "title": "Postcard send to Kinuta Uno at Fort Missoula",
            "description": "Correspondence from Kinuta Uno's daughter about their arrival at Pinedale Assembly Center.",
            "location": "Sent from Pinedale, California to Missoula, Montana",
            "creators": [
                {
                    "namepart": "Bill, Kazuko Uno",
                    "role": "author"
                }
            ],
            "format": "doc",
            "status": "completed",
            "language": [
                "eng"
            ],
            "facility": [
                {
                    "id": "20",
                    "term": "Pinedale"
                },
                {
                    "id": "30",
                    "term": "Fort Missoula"
                }
            ],
            "rights": "cc",
            "genre": "correspondence",
            "links_children": "ddr-densho-324-26",
            "persons": [
                "Bill, Kazuko Uno"
            ],
            "topics": [
                {
                    "id": "192",
                    "term": "World War II -- Temporary Assembly Centers -- The journey"
                },
                {
                    "id": "82",
                    "term": "World War II -- Department of Justice camps"
                }
            ],
            "contributor": "Densho"
        },
        {
            "id": "ddr-densho-324-18",
            "model": "entity",
            "index": "3 3/{'relation': 'eq', 'value': 4}",
            "links": {
                "html": "http://ddr.densho.org/ddr-densho-324-18/",
                "json": "http://ddr.densho.org/api/0.2/ddr-densho-324-18/",
                "img": "https://ddr.densho.org/media/ddr-densho-324/ddr-densho-324-18-mezzanine-1cbdb4a45a-a.jpg",
                "thumb": "http://192.168.0.30/media/ddr-densho-324/ddr-densho-324-18-mezzanine-1cbdb4a45a-a.jpg"
            },
            "title": "Letter to Kinuta Uno at Fort Missoula",
            "description": "",
            "location": "Sent from Pinedale, California to Missoula, Montana",
            "format": "doc",
            "status": "completed",
            "language": [
                "jpn"
            ],
            "facility": [
                {
                    "id": "20",
                    "term": "Pinedale"
                },
                {
                    "id": "30",
                    "term": "Fort Missoula"
                }
            ],
            "rights": "cc",
            "genre": "correspondence",
            "links_children": "ddr-densho-324-18",
            "topics": [
                {
                    "id": "82",
                    "term": "World War II -- Department of Justice camps"
                }
            ],
            "contributor": "Densho"
        }
    ],
    "query": {
        "query": {
            "query_string": {
                "query": "Sent from Pinedale, California to Missoula, Montana",
                "allow_leading_wildcard": false,
                "fields": [
                    "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"
                ],
                "analyze_wildcard": false,
                "default_operator": "AND"
            }
        },
        "aggs": {
            "facility": {
                "aggs": {
                    "facility_ids": {
                        "terms": {
                            "size": 1000,
                            "field": "facility.id"
                        }
                    }
                },
                "nested": {
                    "path": "facility"
                }
            },
            "topics": {
                "aggs": {
                    "topics_ids": {
                        "terms": {
                            "size": 1000,
                            "field": "topics.id"
                        }
                    }
                },
                "nested": {
                    "path": "topics"
                }
            },
            "genre": {
                "terms": {
                    "field": "genre"
                }
            },
            "format": {
                "terms": {
                    "field": "format"
                }
            },
            "rights": {
                "terms": {
                    "field": "rights"
                }
            }
        },
        "_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"
        ]
    }
}