GET /api/0.2/search/?fulltext=Gila+River+concentration+camp%2C+Arizona&page=22
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "total": 528,
    "limit": 25,
    "offset": 525,
    "prev_offset": 500,
    "next_offset": null,
    "page_size": 25,
    "this_page": 22,
    "num_this_page": 3,
    "prev_api": "http://ddr.densho.org/api/0.2/search/?fulltext=Gila River concentration camp, Arizona&limit=25&offset=500",
    "next_api": "",
    "objects": [
        {
            "id": "ddr-densho-291-13",
            "model": "entity",
            "index": "0 525/{'value': 528, 'relation': 'eq'}",
            "links": {
                "html": "http://ddr.densho.org/ddr-densho-291-13/",
                "json": "http://ddr.densho.org/api/0.2/ddr-densho-291-13/",
                "img": "https://ddr.densho.org/media/ddr-densho-291/ddr-densho-291-13-mezzanine-fa47328535-a.jpg",
                "thumb": "http://192.168.0.30/media/ddr-densho-291/ddr-densho-291-13-mezzanine-fa47328535-a.jpg"
            },
            "title": "Rivulet (1944)",
            "description": "The 1944 yearbook for Canal High School.",
            "extent": "8W x 11H",
            "links_children": "ddr-densho-291-13",
            "topics": [
                {
                    "term": "World War II -- Concentration camps -- Education",
                    "id": "73"
                }
            ],
            "format": "doc",
            "contributor": "Densho",
            "rights": "cc",
            "genre": "misc_document",
            "location": "Gila River concentration camp, Arizona",
            "facility": [
                {
                    "term": "Gila River",
                    "id": "3"
                }
            ],
            "status": "completed"
        },
        {
            "id": "ddr-densho-291-15",
            "model": "entity",
            "index": "1 526/{'value': 528, 'relation': 'eq'}",
            "links": {
                "html": "http://ddr.densho.org/ddr-densho-291-15/",
                "json": "http://ddr.densho.org/api/0.2/ddr-densho-291-15/",
                "img": "https://ddr.densho.org/media/ddr-densho-291/ddr-densho-291-15-mezzanine-c2d4e24920-a.jpg",
                "thumb": "http://192.168.0.30/media/ddr-densho-291/ddr-densho-291-15-mezzanine-c2d4e24920-a.jpg"
            },
            "title": "Rivulet (1945)",
            "description": "The 1945 yearbook for Canal High School.",
            "extent": "9W x 11H",
            "links_children": "ddr-densho-291-15",
            "topics": [
                {
                    "term": "World War II -- Concentration camps -- Education",
                    "id": "73"
                }
            ],
            "format": "doc",
            "language": [
                "eng"
            ],
            "contributor": "Densho",
            "rights": "cc",
            "genre": "misc_document",
            "location": "Gila River concentration camp, Arizona",
            "facility": [
                {
                    "term": "Gila River",
                    "id": "3"
                }
            ],
            "status": "completed"
        },
        {
            "id": "ddr-densho-291-14",
            "model": "entity",
            "index": "2 527/{'value': 528, 'relation': 'eq'}",
            "links": {
                "html": "http://ddr.densho.org/ddr-densho-291-14/",
                "json": "http://ddr.densho.org/api/0.2/ddr-densho-291-14/",
                "img": "https://ddr.densho.org/media/ddr-densho-291/ddr-densho-291-14-mezzanine-fb74fd9052-a.jpg",
                "thumb": "http://192.168.0.30/media/ddr-densho-291/ddr-densho-291-14-mezzanine-fb74fd9052-a.jpg"
            },
            "title": "Year's Flight (1944)",
            "description": "The 1944 yearbook for Butte High School.",
            "extent": "8.5W x 11H",
            "links_children": "ddr-densho-291-14",
            "topics": [
                {
                    "term": "World War II -- Concentration camps -- Education",
                    "id": "73"
                }
            ],
            "format": "doc",
            "language": [
                "eng"
            ],
            "contributor": "Densho",
            "rights": "cc",
            "genre": "misc_document",
            "location": "Gila River concentration camp, Arizona",
            "facility": [
                {
                    "term": "Gila River",
                    "id": "3"
                }
            ],
            "status": "completed"
        }
    ],
    "query": {
        "query": {
            "query_string": {
                "query": "Gila River concentration camp, Arizona",
                "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"
        ]
    }
}