GET /api/0.2/search/?fulltext=Sante+Fe%2C+New+Mexico
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "total": 2,
    "limit": 25,
    "offset": 0,
    "prev_offset": null,
    "next_offset": null,
    "page_size": 25,
    "this_page": 1,
    "num_this_page": 2,
    "prev_api": "",
    "next_api": "",
    "objects": [
        {
            "id": "ddr-one-5-203",
            "model": "entity",
            "index": "0 0/{'value': 2, 'relation': 'eq'}",
            "links": {
                "html": "http://ddr.densho.org/ddr-one-5-203/",
                "json": "http://ddr.densho.org/api/0.2/ddr-one-5-203/",
                "img": "https://ddr.densho.org/media/ddr-one-5/ddr-one-5-203-mezzanine-eccbc08d35-a.jpg",
                "thumb": "http://192.168.0.30/media/ddr-one-5/ddr-one-5-203-mezzanine-eccbc08d35-a.jpg"
            },
            "title": "Family Camp Applicant Now Interned at Santa Fe, New Mexico",
            "description": "Photocopy of a declassified memo on Keizaburo Koyama on his request to be reunited with his family in Minidoka, Idaho. Two initials are next to the option for \"Parole to WRA without rehearing\" option. On the bottom is written seven statements on Koyama including his occupation being a dentist, his memberships, his Army report, that he has no dual citizenship, and that he received many affidavits from Caucasians.",
            "extent": "1 photocopy: 8.50 W x 14 H",
            "links_children": "ddr-one-5-203",
            "topics": [
                {
                    "term": "World War II -- Family reunification",
                    "id": "527"
                }
            ],
            "format": "doc",
            "language": [
                "eng"
            ],
            "persons": [
                "Koyama, Keizaburo",
                "War Relocation Authority",
                "Immigration and Naturalization Service",
                "Sokoku Kai"
            ],
            "contributor": "Oregon Nikkei Endowment; Portland, Oregon",
            "geography": [
                {
                    "term": "New Mexico",
                    "id": "502"
                },
                {
                    "term": "Idaho",
                    "id": "491"
                }
            ],
            "rights": "cc",
            "genre": "blank_form",
            "location": "Sante Fe, New Mexico",
            "facility": [
                {
                    "term": "Minidoka",
                    "id": "8"
                },
                {
                    "term": "Santa Fe",
                    "id": "27"
                }
            ],
            "status": "completed"
        },
        {
            "id": "ddr-densho-310-1",
            "model": "entity",
            "index": "1 1/{'value': 2, 'relation': 'eq'}",
            "links": {
                "html": "http://ddr.densho.org/ddr-densho-310-1/",
                "json": "http://ddr.densho.org/api/0.2/ddr-densho-310-1/",
                "img": "https://ddr.densho.org/media/ddr-densho-310/ddr-densho-310-1-mezzanine-1b483a0e29-a.jpg",
                "thumb": "http://192.168.0.30/media/ddr-densho-310/ddr-densho-310-1-mezzanine-1b483a0e29-a.jpg"
            },
            "title": "Buddhist ministers at Sante Fe internment camp",
            "description": "A group photograph of the Buddhist ministers interned at Sante Fe internment camp. Etsuko Osaki's father, Tatsuya Ichikawa, is in the second row, third from the left. Ichikawa was picked up by the FBI in April 1942. He remained separated from his family for two years before they reunited in Crystal City internment camp.",
            "extent": "1 photograph",
            "links_children": "ddr-densho-310-1",
            "topics": [
                {
                    "term": "Religion and churches",
                    "id": "29"
                },
                {
                    "term": "Religion and churches -- Buddhism",
                    "id": "395"
                },
                {
                    "term": "World War II -- Department of Justice camps",
                    "id": "82"
                }
            ],
            "format": "img",
            "persons": [
                "Ichikawa, Tatsuya"
            ],
            "contributor": "Densho",
            "rights": "cc",
            "genre": "photograph",
            "location": "Sante Fe, New Mexico",
            "facility": [
                {
                    "term": "Santa Fe",
                    "id": "27"
                }
            ],
            "status": "completed"
        }
    ],
    "query": {
        "query": {
            "query_string": {
                "query": "Sante Fe, New Mexico",
                "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",
                    "extent"
                ],
                "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",
            "facility",
            "format",
            "genre",
            "geography",
            "label",
            "language",
            "location",
            "persons",
            "rights",
            "topics",
            "image_url",
            "display_name",
            "bio",
            "extent"
        ]
    }
}