GET /api/0.2/search/?fulltext=Nishi+Ibara%2C+Japan
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-259-58",
            "model": "entity",
            "index": "0 0/{'value': 1, 'relation': 'eq'}",
            "links": {
                "html": "http://ddr.densho.org/ddr-densho-259-58/",
                "json": "http://ddr.densho.org/api/0.2/ddr-densho-259-58/",
                "img": "https://ddr.densho.org/media/ddr-densho-259/ddr-densho-259-58-mezzanine-d8034112f2-a.jpg",
                "thumb": "http://ddrstatic.local/media/ddr-densho-259/ddr-densho-259-58-mezzanine-d8034112f2-a.jpg"
            },
            "title": "School portrait of a boy in Japan",
            "description": "Caption by Homer Yasui: \"This is a schoolboy portrait of [Masuo Yasui] in Japan around [age] 14 or 15. He attended Kojokwan High School, which was located in Nishi (west) Ibara [He] didn't graduate from high school because he emigrated to the United States before then. At best, he may have been the equivalent of an American junior in high school when he left Japan forever, to arrive in Seattle alone.\"",
            "extent": "2.25W x 3.25H",
            "links_children": "ddr-densho-259-58",
            "topics": [
                {
                    "term": "Japan -- Pre-World War II",
                    "id": "163"
                },
                {
                    "term": "Education",
                    "id": "31"
                }
            ],
            "format": "img",
            "language": [
                "eng"
            ],
            "persons": [
                "Yasui, Masuo"
            ],
            "contributor": "Densho",
            "rights": "pcc",
            "genre": "portrait",
            "location": "Nishi Ibara, Japan",
            "status": "completed"
        }
    ],
    "query": {
        "query": {
            "query_string": {
                "query": "Nishi Ibara, Japan",
                "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"
        ]
    }
}