GET /api/0.2/search/?fulltext=United%20States%20Secretary%20of%20State
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "total": 3,
    "limit": 25,
    "offset": 0,
    "prev_offset": null,
    "next_offset": null,
    "page_size": 25,
    "this_page": 1,
    "num_this_page": 3,
    "prev_api": "",
    "next_api": "",
    "objects": [
        {
            "id": "ddr-densho-446-111",
            "model": "entity",
            "index": "0 0/{'value': 3, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-densho-446-111/",
                "json": "https://ddr.densho.org/api/0.2/ddr-densho-446-111/",
                "img": "https://ddr.densho.org/media/ddr-densho-446/ddr-densho-446-111-mezzanine-66ca8e718a-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-densho-446/ddr-densho-446-111-mezzanine-66ca8e718a-a.jpg"
            },
            "title": "Letter from Ai Chih Tsai to U.S. Department of Justice",
            "description": "Request for assistance changing Tsai's status to Chinese Formosan, friendly alien, and a path to U.S. citizenship [final draft]",
            "extent": "8W x 10.5H",
            "links_children": "ddr-densho-446-111",
            "creators": [
                {
                    "role": "author",
                    "namepart": "Tsai, Ai Chih"
                }
            ],
            "topics": [
                {
                    "term": "World War II -- Military service",
                    "id": "88"
                },
                {
                    "term": "Immigration and citizenship",
                    "id": "1"
                },
                {
                    "term": "World War II -- \"Enemy alien\" classification",
                    "id": "84"
                }
            ],
            "format": "doc",
            "language": [
                "eng"
            ],
            "persons": [
                {
                    "namepart": "Tsai, Ai Chih"
                },
                {
                    "namepart": "United States Secretary of State"
                },
                {
                    "namepart": "Edwin F. Stanton"
                },
                {
                    "namepart": "United States Department of Justice"
                },
                {
                    "namepart": "United States Navy"
                },
                {
                    "namepart": "United States Department of War"
                },
                {
                    "namepart": "University of Chicago Divinity School"
                },
                {
                    "namepart": "Anderson, Harrison Ray"
                },
                {
                    "namepart": "Fourth Presbyterian Church"
                }
            ],
            "contributor": "Densho",
            "rights": "cc",
            "genre": "correspondence",
            "location": "Washington, District of Columbia",
            "creation": "April 5, 1945",
            "status": "completed",
            "search_hidden": "Tsai, Ai Chih author Tsai, Ai Chih \nUnited States Secretary of State \nEdwin F. Stanton \nUnited States Department of Justice \nUnited States Navy \nUnited States Department of War \nUniversity of Chicago Divinity School \nAnderson, Harrison Ray \nFourth Presbyterian Church",
            "download_large": "ddr-densho-446-111-mezzanine-66ca8e718a-a.jpg"
        },
        {
            "id": "ddr-densho-446-113",
            "model": "entity",
            "index": "1 1/{'value': 3, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-densho-446-113/",
                "json": "https://ddr.densho.org/api/0.2/ddr-densho-446-113/",
                "img": "https://ddr.densho.org/media/ddr-densho-446/ddr-densho-446-113-mezzanine-2e31049084-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-densho-446/ddr-densho-446-113-mezzanine-2e31049084-a.jpg"
            },
            "title": "Letter from Ai Chih Tsai to U.S. Department of Justice",
            "description": "Request for assistance changing Tsai's status to Chinese Formosan, friendly alien, and a path to U.S. citizenship [typed draft]",
            "extent": "Tsai, Ai Chih; U.S. Secretary of State; Edwin F. Stanton; U.S. Department of Justice; U.S. Navy; U.S. Department of War; University of Chicago Divinity School; Anderson, Harrison Ray; Fourth Presbyterian Church (Chicago)",
            "links_children": "ddr-densho-446-113",
            "creators": [
                {
                    "role": "author",
                    "namepart": "Tsai, Ai Chih"
                }
            ],
            "topics": [
                {
                    "term": "World War II -- Military service",
                    "id": "88"
                },
                {
                    "term": "Immigration and citizenship",
                    "id": "1"
                },
                {
                    "term": "World War II -- \"Enemy alien\" classification",
                    "id": "84"
                }
            ],
            "format": "doc",
            "language": [
                "eng"
            ],
            "persons": [
                {
                    "namepart": "Tsai, Ai Chih"
                },
                {
                    "namepart": "United States Secretary of State"
                },
                {
                    "namepart": "Edwin F. Stanton"
                },
                {
                    "namepart": "United States Department of Justice"
                },
                {
                    "namepart": "United States Navy"
                },
                {
                    "namepart": "United States Department of War"
                },
                {
                    "namepart": "University of Chicago Divinity School"
                },
                {
                    "namepart": "Anderson, Harrison Ray"
                },
                {
                    "namepart": "Fourth Presbyterian Church"
                }
            ],
            "contributor": "Densho",
            "rights": "cc",
            "genre": "correspondence",
            "location": "Washington, District of Columbia",
            "creation": "April 5, 1945",
            "status": "completed",
            "search_hidden": "Tsai, Ai Chih author Tsai, Ai Chih \nUnited States Secretary of State \nEdwin F. Stanton \nUnited States Department of Justice \nUnited States Navy \nUnited States Department of War \nUniversity of Chicago Divinity School \nAnderson, Harrison Ray \nFourth Presbyterian Church",
            "download_large": "ddr-densho-446-113-mezzanine-2e31049084-a.jpg"
        },
        {
            "id": "ddr-densho-446-112",
            "model": "entity",
            "index": "2 2/{'value': 3, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-densho-446-112/",
                "json": "https://ddr.densho.org/api/0.2/ddr-densho-446-112/",
                "img": "https://ddr.densho.org/media/ddr-densho-446/ddr-densho-446-112-mezzanine-42f0018a65-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-densho-446/ddr-densho-446-112-mezzanine-42f0018a65-a.jpg"
            },
            "title": "Letter from Ai Chih Tsai to U.S. Department of Justice",
            "description": "Request for assistance changing Tsai's status to Chinese Formosan, friendly alien, and a path to U.S. citizenship [handwritten draft]",
            "extent": "8W x 10.5H",
            "links_children": "ddr-densho-446-112",
            "creators": [
                {
                    "role": "author",
                    "namepart": "Tsai, Ai Chih"
                }
            ],
            "topics": [
                {
                    "term": "World War II -- Military service",
                    "id": "88"
                },
                {
                    "term": "Immigration and citizenship",
                    "id": "1"
                },
                {
                    "term": "World War II -- \"Enemy alien\" classification",
                    "id": "84"
                }
            ],
            "format": "doc",
            "language": [
                "eng"
            ],
            "persons": [
                {
                    "namepart": "Tsai, Ai Chih"
                },
                {
                    "namepart": "United States Secretary of State"
                },
                {
                    "namepart": "Edwin F. Stanton"
                },
                {
                    "namepart": "United States Department of Justice"
                },
                {
                    "namepart": "United States Navy"
                },
                {
                    "namepart": "United States Department of War"
                },
                {
                    "namepart": "University of Chicago Divinity School"
                },
                {
                    "namepart": "Anderson, Harrison Ray"
                },
                {
                    "namepart": "Fourth Presbyterian Church"
                }
            ],
            "contributor": "Densho",
            "rights": "cc",
            "genre": "correspondence",
            "location": "Washington, District of Columbia",
            "creation": "April 5, 1945",
            "status": "completed",
            "search_hidden": "Tsai, Ai Chih author Tsai, Ai Chih \nUnited States Secretary of State \nEdwin F. Stanton \nUnited States Department of Justice \nUnited States Navy \nUnited States Department of War \nUniversity of Chicago Divinity School \nAnderson, Harrison Ray \nFourth Presbyterian Church",
            "download_large": "ddr-densho-446-112-mezzanine-42f0018a65-a.jpg"
        }
    ],
    "query": {
        "query": {
            "query_string": {
                "query": "United States Secretary of State",
                "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"
        ]
    }
}