GET /api/0.2/search/?fulltext=creators:Farquharson,%20Mary
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-16-3",
            "model": "entity",
            "index": "0 0/{'value': 1, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-csujad-16-3/",
                "json": "https://ddr.densho.org/api/0.2/ddr-csujad-16-3/",
                "img": "https://ddr.densho.org/media/ddr-csujad-16/ddr-csujad-16-3-mezzanine-767bbe7322-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-csujad-16/ddr-csujad-16-3-mezzanine-767bbe7322-a.jpg"
            },
            "title": "Letter to Dear Friend from the Gordon Hirabayashi Defense Committee, January 1943",
            "description": "Fundraising letter requesting contributions for taking Gordon Hirabayashi's case to the Circuit Court of Appeals in San Francisco. At the time of writing, Hirabayashi was imprisoned in King County, Washington. 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/8373\" target=\"_blank\" rel=\"noopener noreferrer\">JAIC_1-07_01</a>",
            "extent": "1 page, typescript",
            "links_children": "ddr-csujad-16-3",
            "creators": [
                {
                    "role": "author",
                    "namepart": "Roberts, Ray"
                },
                {
                    "role": "author",
                    "namepart": "Farquharson, Mary"
                },
                {
                    "role": "publisher",
                    "namepart": "Gordon Hirabayashi Defense Committee"
                }
            ],
            "topics": [
                {
                    "term": "Activism and involvement -- Civil liberties",
                    "id": "233"
                },
                {
                    "term": "Activism and involvement -- Civil rights",
                    "id": "234"
                },
                {
                    "term": "Geographic communities -- Washington",
                    "id": "290"
                },
                {
                    "term": "Geographic communities -- Washington -- Seattle",
                    "id": "293"
                },
                {
                    "term": "Immigration and citizenship -- Law and legislation -- Legal cases",
                    "id": "341"
                },
                {
                    "term": "World War II -- Mass removal (\"evacuation\")",
                    "id": "57"
                },
                {
                    "term": "World War II -- Mass removal (\"evacuation\") -- Exclusion orders",
                    "id": "188"
                },
                {
                    "term": "World War II -- Mass removal (\"evacuation\") -- Japanese American community responses",
                    "id": "52"
                },
                {
                    "term": "World War II -- Resistance and dissidence",
                    "id": "94"
                },
                {
                    "term": "World War II -- Resistance and dissidence -- Supreme Court cases -- Gordon Hirabayashi",
                    "id": "97"
                }
            ],
            "format": "doc",
            "language": [
                "eng"
            ],
            "contributor": "California State University, Northridge. University Library. Special Collections & Archives",
            "rights": "nocc",
            "genre": "correspondence",
            "location": "Seattle, Washington",
            "facility": [
                {
                    "term": "Catalina Federal Honor Camp",
                    "id": "36"
                }
            ],
            "status": "completed",
            "download_large": "ddr-csujad-16-3-mezzanine-767bbe7322-a.jpg"
        }
    ],
    "query": {
        "query": {
            "bool": {
                "must": [
                    {
                        "nested": {
                            "path": "creators",
                            "query": {
                                "term": {
                                    "creators.namepart": "Farquharson, Mary"
                                }
                            }
                        }
                    }
                ]
            }
        },
        "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"
        ]
    }
}