GET /api/0.2/search/?fulltext=creators:San%20Francisco%20Chronicle
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-966",
            "model": "entity",
            "index": "0 0/{'value': 2, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-csujad-55-966/",
                "json": "https://ddr.densho.org/api/0.2/ddr-csujad-55-966/",
                "img": "https://ddr.densho.org/media/ddr-csujad-55/ddr-csujad-55-966-mezzanine-4a08f397c0-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-csujad-55/ddr-csujad-55-966-mezzanine-4a08f397c0-a.jpg"
            },
            "title": "News clippings, February-March, 1944",
            "description": "Collection of newspaper clippings covering Japanese Americans during World War II. Topics include incarceration camps, Japanese American soldiers, race, prejudice, work, \"resettlement,\" and other commentary. 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/9819\" target=\"_blank\" rel=\"noopener noreferrer\">sac_jaac_0968</a>",
            "extent": "9 pages; 10.5 x 8 inches",
            "links_children": "ddr-csujad-55-966",
            "creators": [
                {
                    "role": "author",
                    "namepart": "San Francisco Chronicle"
                },
                {
                    "role": "author",
                    "namepart": "Minneapolis Star and Tribune Company"
                },
                {
                    "role": "author",
                    "namepart": "Daily Sentinel of Grand Junction"
                },
                {
                    "role": "author",
                    "namepart": "Philadelphia Record"
                },
                {
                    "role": "author",
                    "namepart": "Salt Lake City Tribune"
                },
                {
                    "role": "author",
                    "namepart": "Des Moines Register and Tribune Company"
                },
                {
                    "role": "author",
                    "namepart": "Chicago sun-times"
                },
                {
                    "role": "author",
                    "namepart": "Fitchburg Sentinel"
                },
                {
                    "role": "author",
                    "namepart": "Spokesman Review"
                },
                {
                    "role": "author",
                    "namepart": "Desert News"
                }
            ],
            "topics": [
                {
                    "term": "World War II -- Military service",
                    "id": "88"
                },
                {
                    "term": "Race and racism -- Discrimination",
                    "id": "37"
                },
                {
                    "term": "World War II -- Concentration camps",
                    "id": "65"
                }
            ],
            "format": "doc",
            "language": [
                "eng"
            ],
            "contributor": "California State University, Sacramento, Department of Special Collections and University Archives",
            "rights": "nocc",
            "genre": "misc_document",
            "status": "completed",
            "download_large": "ddr-csujad-55-966-mezzanine-4a08f397c0-a.jpg"
        },
        {
            "id": "ddr-densho-69",
            "model": "collection",
            "index": "1 1/{'value': 2, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-densho-69/",
                "json": "https://ddr.densho.org/api/0.2/ddr-densho-69/",
                "img": "https://ddr.densho.org/media/ddr-densho-69/ddr-densho-69-1-mezzanine-a40958aeab-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-densho-69/ddr-densho-69-1-mezzanine-a40958aeab-a.jpg"
            },
            "title": "San Francisco Chronicle Collection",
            "description": "This collection contains selected articles from the San Francisco Chronicle. The articles are all from the early 1900s, and demonstrate the anti-Asian sentiment depicted in the U.S. media at the time.",
            "extent": "33 documents",
            "links_children": "ddr-densho-69",
            "creators": [
                {
                    "role": "publisher",
                    "namepart": "San Francisco Chronicle"
                }
            ],
            "language": [
                "eng"
            ],
            "contributor": "San Francisco Chronicle",
            "public": "1",
            "rights": "pdm",
            "status": "completed",
            "download_large": "ddr-densho-69-1-mezzanine-a40958aeab-a.jpg"
        }
    ],
    "query": {
        "query": {
            "bool": {
                "must": [
                    {
                        "nested": {
                            "path": "creators",
                            "query": {
                                "term": {
                                    "creators.namepart": "San Francisco Chronicle"
                                }
                            }
                        }
                    }
                ]
            }
        },
        "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"
        ]
    }
}