GET /api/0.2/search/?fulltext=creators:Freitas
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "total": 1,
    "limit": 25,
    "offset": 0,
    "prev_offset": null,
    "next_offset": null,
    "page_size": 25,
    "this_page": 1,
    "num_this_page": 1,
    "prev_api": "",
    "next_api": "",
    "objects": [
        {
            "id": "ddr-csujad-5-217",
            "model": "entity",
            "index": "0 0/{'value': 1, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-csujad-5-217/",
                "json": "https://ddr.densho.org/api/0.2/ddr-csujad-5-217/",
                "img": "https://ddr.densho.org/media/ddr-csujad-5/ddr-csujad-5-217-mezzanine-4cafb0c49d-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-csujad-5/ddr-csujad-5-217-mezzanine-4cafb0c49d-a.jpg"
            },
            "title": "Letter from Mr. Freitas to Mr. and Mrs. Okine, October 30, 1947",
            "description": "A thank you letter from Mr. Freitas to the Okines for the chrysanthemums which they gave him to place on his recently deceased wife's grave.  He also adds that his children, including Susanne, are very appreciative of the flowers as well. 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/6811\" target=\"_blank\" rel=\"noopener noreferrer\">oki_02_56_001</a>",
            "extent": "1 holded sheet (4 panels), 5 x 8 inches, handwritten; 1 envelope",
            "links_children": "ddr-csujad-5-217",
            "creators": [
                {
                    "role": "author",
                    "namepart": "Freitas"
                }
            ],
            "topics": [
                {
                    "term": "Geographic communities -- California",
                    "id": "271"
                },
                {
                    "term": "Industry and employment -- Agriculture -- Flower growers",
                    "id": "346"
                }
            ],
            "format": "doc",
            "language": [
                "eng"
            ],
            "contributor": "CSU Dominguez Hills Department of Archives and Special Collections",
            "rights": "nocc",
            "genre": "correspondence",
            "location": "San Juan Bautista, California",
            "status": "completed",
            "download_large": "ddr-csujad-5-217-mezzanine-4cafb0c49d-a.jpg"
        }
    ],
    "query": {
        "query": {
            "bool": {
                "must": [
                    {
                        "nested": {
                            "path": "creators",
                            "query": {
                                "term": {
                                    "creators.namepart": "Freitas"
                                }
                            }
                        }
                    }
                ]
            }
        },
        "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"
        ]
    }
}