GET /api/0.2/search/?fulltext=%22Tazuma,%20Tazuma%22
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-densho-24-3",
            "model": "entity",
            "index": "0 0/{'value': 2, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-densho-24-3/",
                "json": "https://ddr.densho.org/api/0.2/ddr-densho-24-3/",
                "img": "https://ddr.densho.org/media/ddr-densho-24/ddr-densho-24-3-mezzanine-7592d87fdd-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-densho-24/ddr-densho-24-3-mezzanine-7592d87fdd-a.jpg"
            },
            "title": "Photo of an Issei man",
            "description": "Bunshiro Tazuma, 29 years old.",
            "links_children": "ddr-densho-24-3",
            "format": "img",
            "language": [
                "eng"
            ],
            "persons": [
                {
                    "namepart": "Tazuma, Tazuma"
                }
            ],
            "contributor": "Densho",
            "rights": "pcc",
            "genre": "photograph",
            "location": "Billings, Montana",
            "creation": "1913",
            "status": "completed",
            "search_hidden": "Tazuma, Tazuma",
            "download_large": "ddr-densho-24-3-mezzanine-7592d87fdd-a.jpg"
        },
        {
            "id": "ddr-densho-24-14",
            "model": "entity",
            "index": "1 1/{'value': 2, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-densho-24-14/",
                "json": "https://ddr.densho.org/api/0.2/ddr-densho-24-14/",
                "img": "https://ddr.densho.org/media/ddr-densho-24/ddr-densho-24-14-mezzanine-056da150dd-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-densho-24/ddr-densho-24-14-mezzanine-056da150dd-a.jpg"
            },
            "title": "Interior, the Tazuma Ten-Cent Store",
            "description": "Sawano Tazuma (left) and Misao Tanaka inside the Tazuma Ten-Cent Store located at 12th Avenue and Jackson Street.",
            "links_children": "ddr-densho-24-14",
            "topics": [
                {
                    "term": "Industry and employment -- Small business -- General stores",
                    "id": "370"
                }
            ],
            "format": "img",
            "language": [
                "eng"
            ],
            "persons": [
                {
                    "namepart": "Tazuma, Tazuma"
                },
                {
                    "namepart": "Tanaka, Misao"
                }
            ],
            "contributor": "Densho",
            "rights": "pcc",
            "genre": "photograph",
            "location": "Seattle, Washington",
            "creation": "1930s",
            "status": "completed",
            "search_hidden": "Tazuma, Tazuma \nTanaka, Misao",
            "download_large": "ddr-densho-24-14-mezzanine-056da150dd-a.jpg"
        }
    ],
    "query": {
        "query": {
            "query_string": {
                "query": "\"Tazuma, Tazuma\"",
                "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"
        ]
    }
}