GET /api/0.2/search/?fulltext=creators:Miles%20E.%20Cary%20High%20School
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-csujad-55-1850",
            "model": "entity",
            "index": "0 0/{'value': 2, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-csujad-55-1850/",
                "json": "https://ddr.densho.org/api/0.2/ddr-csujad-55-1850/",
                "img": "https://ddr.densho.org/media/ddr-csujad-55/ddr-csujad-55-1850-mezzanine-8b668d2663-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-csujad-55/ddr-csujad-55-1850-mezzanine-8b668d2663-a.jpg"
            },
            "title": "Commencement exercises, Class of 1945",
            "description": "Commencement program for Miles E. Cary High School graduating class of 1945. Includes a schedule of events for the graduation ceremony. Includes illustration of graduates on the cover. 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/10712\" target=\"_blank\" rel=\"noopener noreferrer\">sac_jaac_1853</a>",
            "extent": "4 pages; 8 x 5 inches",
            "links_children": "ddr-csujad-55-1850",
            "creators": [
                {
                    "role": "author",
                    "namepart": "Miles E. Cary High School"
                }
            ],
            "topics": [
                {
                    "term": "World War II -- Concentration camps -- Education",
                    "id": "73"
                },
                {
                    "term": "Education -- Secondary education",
                    "id": "335"
                }
            ],
            "format": "doc",
            "language": [
                "eng"
            ],
            "contributor": "California State University, Sacramento, Department of Special Collections and University Archives",
            "rights": "nocc",
            "genre": "misc_document",
            "location": "Parker, Arizona",
            "facility": [
                {
                    "term": "Poston (Colorado River)",
                    "id": "2"
                }
            ],
            "status": "completed",
            "download_large": "ddr-csujad-55-1850-mezzanine-8b668d2663-a.jpg"
        },
        {
            "id": "ddr-csujad-55-1851",
            "model": "entity",
            "index": "1 1/{'value': 2, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-csujad-55-1851/",
                "json": "https://ddr.densho.org/api/0.2/ddr-csujad-55-1851/",
                "img": "https://ddr.densho.org/media/ddr-csujad-55/ddr-csujad-55-1851-mezzanine-3062f2007d-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-csujad-55/ddr-csujad-55-1851-mezzanine-3062f2007d-a.jpg"
            },
            "title": "Senior banquet, Class of 1945",
            "description": "Program for the Senior Banquet for the Miles E. Cary graduating class of 1945. Includes menu, program schedule, and acknowledgements. 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/10714\" target=\"_blank\" rel=\"noopener noreferrer\">sac_jaac_1854</a>",
            "extent": "4 pages; 5.5 x 8.5 inches",
            "links_children": "ddr-csujad-55-1851",
            "creators": [
                {
                    "role": "author",
                    "namepart": "Miles E. Cary High School"
                }
            ],
            "topics": [
                {
                    "term": "World War II -- Concentration camps -- Education",
                    "id": "73"
                },
                {
                    "term": "Education -- Secondary education",
                    "id": "335"
                }
            ],
            "format": "doc",
            "language": [
                "eng"
            ],
            "contributor": "California State University, Sacramento, Department of Special Collections and University Archives",
            "rights": "nocc",
            "genre": "misc_document",
            "location": "Parker, Arizona",
            "facility": [
                {
                    "term": "Poston (Colorado River)",
                    "id": "2"
                }
            ],
            "status": "completed",
            "download_large": "ddr-csujad-55-1851-mezzanine-3062f2007d-a.jpg"
        }
    ],
    "query": {
        "query": {
            "bool": {
                "must": [
                    {
                        "nested": {
                            "path": "creators",
                            "query": {
                                "term": {
                                    "creators.namepart": "Miles E. Cary High School"
                                }
                            }
                        }
                    }
                ]
            }
        },
        "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"
        ]
    }
}