GET /api/0.2/search/?fulltext=Sacred+Hearts+Bazaar%2C+Tokyo%2C+Japan
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-2-4",
            "model": "entity",
            "index": "0 0/{'relation': 'eq', 'value': 2}",
            "links": {
                "html": "http://ddr.densho.org/ddr-one-2-4/",
                "json": "http://ddr.densho.org/api/0.2/ddr-one-2-4/",
                "img": "https://ddr.densho.org/media/ddr-one-2/ddr-one-2-4-master-9de9e37ed7-a.jpg",
                "thumb": "http://192.168.0.30/media/ddr-one-2/ddr-one-2-4-master-9de9e37ed7-a.jpg"
            },
            "title": "Sacred Hearts Bazaar",
            "description": "Black and white photographic print of two unidentified young girls seated on the ground eating food sold at the Sacred Hearts Bazaar in Tokyo. Inscribed on back: \"21 SEPT 49/SACRED HEARTS BAZAAR.\"",
            "language": [
                "eng"
            ],
            "genre": "photograph",
            "location": "Sacred Hearts Bazaar, Tokyo, Japan",
            "links_children": "ddr-one-2-4",
            "creators": [
                {
                    "namepart": "Sakai, Shiuko",
                    "role": "photographer"
                }
            ],
            "format": "img",
            "topics": [
                {
                    "id": "165",
                    "term": "Japan -- Post-World War II"
                },
                {
                    "id": "380",
                    "term": "Japan -- United States civilians"
                }
            ],
            "status": "completed",
            "rights": "cc",
            "contributor": "Oregon Nikkei Endowment"
        },
        {
            "id": "ddr-one-2-3",
            "model": "entity",
            "index": "1 1/{'relation': 'eq', 'value': 2}",
            "links": {
                "html": "http://ddr.densho.org/ddr-one-2-3/",
                "json": "http://ddr.densho.org/api/0.2/ddr-one-2-3/",
                "img": "https://ddr.densho.org/media/ddr-one-2/ddr-one-2-3-master-ba7f297c7b-a.jpg",
                "thumb": "http://192.168.0.30/media/ddr-one-2/ddr-one-2-3-master-ba7f297c7b-a.jpg"
            },
            "title": "Sacred Hearts Bazaar",
            "description": "Black and white photographic print of two unidentified young girls seated on the ground eating food sold at the Sacred Hearts Bazaar in Tokyo.",
            "genre": "photograph",
            "location": "Sacred Hearts Bazaar, Tokyo, Japan",
            "links_children": "ddr-one-2-3",
            "creators": [
                {
                    "namepart": "Sakai, Shiuko",
                    "role": "photographer"
                }
            ],
            "format": "img",
            "topics": [
                {
                    "id": "165",
                    "term": "Japan -- Post-World War II"
                },
                {
                    "id": "380",
                    "term": "Japan -- United States civilians"
                }
            ],
            "status": "completed",
            "rights": "cc",
            "contributor": "Oregon Nikkei Endowment"
        }
    ],
    "query": {
        "aggs": {
            "topics": {
                "aggs": {
                    "topics_ids": {
                        "terms": {
                            "field": "topics.id",
                            "size": 1000
                        }
                    }
                },
                "nested": {
                    "path": "topics"
                }
            },
            "genre": {
                "terms": {
                    "field": "genre"
                }
            },
            "rights": {
                "terms": {
                    "field": "rights"
                }
            },
            "facility": {
                "aggs": {
                    "facility_ids": {
                        "terms": {
                            "field": "facility.id",
                            "size": 1000
                        }
                    }
                },
                "nested": {
                    "path": "facility"
                }
            },
            "format": {
                "terms": {
                    "field": "format"
                }
            }
        },
        "query": {
            "query_string": {
                "query": "Sacred Hearts Bazaar, Tokyo, 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"
                ],
                "analyze_wildcard": false,
                "default_operator": "AND",
                "allow_leading_wildcard": false
            }
        },
        "_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"
        ]
    }
}