GET /api/0.2/search/?fulltext=Yokohama%2C+Kanagawa
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-326-103",
            "model": "entity",
            "index": "0 0/{'value': 2, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-densho-326-103/",
                "json": "https://ddr.densho.org/api/0.2/ddr-densho-326-103/",
                "img": "https://ddr.densho.org/media/ddr-densho-326/ddr-densho-326-103-mezzanine-00e5bb8c54-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-densho-326/ddr-densho-326-103-mezzanine-00e5bb8c54-a.jpg"
            },
            "title": "Yokohama Harbor",
            "description": "Caption:  M.S. Hikawa Maru at rest after long run at Yokohama Harbor / Taken from Kanagawa Prefectual BLD.",
            "extent": "unknown",
            "links_children": "ddr-densho-326-103",
            "format": "img",
            "language": [
                "eng"
            ],
            "contributor": "Densho",
            "rights": "cc",
            "genre": "photograph",
            "location": "Yokohama, Japan",
            "status": "completed",
            "download_large": "ddr-densho-326-103-mezzanine-00e5bb8c54-a.jpg"
        },
        {
            "id": "ddr-csujad-5-160",
            "model": "entity",
            "index": "1 1/{'value': 2, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-csujad-5-160/",
                "json": "https://ddr.densho.org/api/0.2/ddr-csujad-5-160/",
                "img": "https://ddr.densho.org/media/ddr-csujad-5/ddr-csujad-5-160-mezzanine-52edd21b38-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-csujad-5/ddr-csujad-5-160-mezzanine-52edd21b38-a.jpg"
            },
            "title": "Letter from Masao Okine to Mr. and Mrs. S. Okine, September 12, 1946 [in Japanese]",
            "description": "A letter from Masao Okine, who is stationed in Japan as a Nisei soldier to his parents, Seiichi and Ayame Okine. This letter is mailed via San Francisco, California by the U.S. Army Postal Service. In the letter, Masao writes about his visit to Hiroshima during the vacation. He meets Naoji Okine, Jokichi Yamanaka, Mr. Sasaki, Mr. Nakano, and other relatives. He reports about their well-being and harvesting rice in the following month. He also writes about his schedule for returning to the U.S. He is going to be transferred to Zama, Kanagawa, and return to Yokohama, Kanagawa. From Yokohama, he is going to board a ship to return to the U.S, arriving at the end of the month. He assumes that this letter is his last letter from Japan. The handwritten notes on the backside of the envelope read: Arrived on September 16, 1946, this letter is the last [in Japanese]. See this object in the California State Universities Japanese American Digitization project site: <a href=\"http://cdm16855.contentdm.oclc.org/cdm/ref/collection/p16855coll4/id/6790\" target=\"_blank\" rel=\"noopener noreferrer\">oki_02_11_001</a>",
            "extent": "2 pages, 6.25 x 9 inches, handwritten; 1 envelope",
            "links_children": "ddr-csujad-5-160",
            "creators": [
                {
                    "role": "author",
                    "namepart": "Okine, Masao"
                }
            ],
            "topics": [
                {
                    "term": "Military service -- Post-World War II service",
                    "id": "297"
                },
                {
                    "term": "World War II -- Military service -- Military Intelligence Service",
                    "id": "91"
                },
                {
                    "term": "Japan -- Post-World War II",
                    "id": "165"
                },
                {
                    "term": "Identity and values -- Family",
                    "id": "46"
                },
                {
                    "term": "Identity and values -- Nisei",
                    "id": "44"
                }
            ],
            "format": "doc",
            "language": [
                "jpn"
            ],
            "contributor": "CSU Dominguez Hills Department of Archives and Special Collections",
            "rights": "nocc",
            "genre": "correspondence",
            "location": "Yokohama, Kanagawa",
            "status": "completed",
            "download_large": "ddr-csujad-5-160-mezzanine-52edd21b38-a.jpg"
        }
    ],
    "query": {
        "query": {
            "query_string": {
                "query": "Yokohama, Kanagawa",
                "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"
        ]
    }
}