GET /api/0.2/search/?fulltext=Sent+from+Rockford%2C+Illinois
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-155-1",
            "model": "entity",
            "index": "0 0/{'value': 2, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-densho-155-1/",
                "json": "https://ddr.densho.org/api/0.2/ddr-densho-155-1/",
                "img": "https://ddr.densho.org/media/ddr-densho-155/ddr-densho-155-1-mezzanine-9eefe1c446-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-densho-155/ddr-densho-155-1-mezzanine-9eefe1c446-a.jpg"
            },
            "title": "Letter from a Nisei man",
            "description": "This letter was sent to a Minidoka concentration camp administrator who worked in the procurement office.",
            "extent": "2329W x 3118H (pixels)",
            "links_children": "ddr-densho-155-1",
            "creators": [
                {
                    "role": "author",
                    "namepart": "Takakoshi, Kats"
                }
            ],
            "topics": [
                {
                    "term": "World War II -- Leaving camp -- \"Resettlement\"",
                    "id": "104"
                }
            ],
            "format": "doc",
            "language": [
                "eng"
            ],
            "persons": [
                {
                    "namepart": "Takakoshi, Kats"
                }
            ],
            "contributor": "Densho",
            "rights": "pcc",
            "genre": "correspondence",
            "location": "Sent from Rockford, Illinois",
            "facility": [
                {
                    "term": "Minidoka",
                    "id": "8"
                }
            ],
            "creation": "July 4,1943",
            "status": "completed",
            "search_hidden": "Takakoshi, Kats author Takakoshi, Kats",
            "download_large": "ddr-densho-155-1-mezzanine-9eefe1c446-a.jpg"
        },
        {
            "id": "ddr-densho-155-12",
            "model": "entity",
            "index": "1 1/{'value': 2, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-densho-155-12/",
                "json": "https://ddr.densho.org/api/0.2/ddr-densho-155-12/",
                "img": "https://ddr.densho.org/media/ddr-densho-155/ddr-densho-155-12-mezzanine-bd021f1fd2-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-densho-155/ddr-densho-155-12-mezzanine-bd021f1fd2-a.jpg"
            },
            "title": "Letter from a Nisei man",
            "description": "This letter was sent to a Minidoka concentration camp administrator who worked in the procurement office.",
            "extent": "4965W x 6476H (pixels)",
            "links_children": "ddr-densho-155-12",
            "topics": [
                {
                    "term": "World War II -- Leaving camp -- \"Resettlement\"",
                    "id": "104"
                }
            ],
            "format": "doc",
            "language": [
                "eng"
            ],
            "contributor": "Densho",
            "rights": "pcc",
            "genre": "correspondence",
            "location": "Sent from Rockford, Illinois",
            "facility": [
                {
                    "term": "Minidoka",
                    "id": "8"
                }
            ],
            "creation": "October 18, 1943",
            "status": "completed",
            "search_hidden": "",
            "download_large": "ddr-densho-155-12-mezzanine-bd021f1fd2-a.jpg"
        }
    ],
    "query": {
        "query": {
            "query_string": {
                "query": "Sent from Rockford, Illinois",
                "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"
        ]
    }
}