GET /api/0.2/search/?fulltext=creators:Amory,%20H.%20Russell
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-356-798",
            "model": "entity",
            "index": "0 0/{'value': 2, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-densho-356-798/",
                "json": "https://ddr.densho.org/api/0.2/ddr-densho-356-798/",
                "img": "https://ddr.densho.org/media/ddr-densho-356/ddr-densho-356-798-mezzanine-85bbf06dcd-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-densho-356/ddr-densho-356-798-mezzanine-85bbf06dcd-a.jpg"
            },
            "title": "Administrative Notice No. 19 Conservation of Water",
            "description": "Administrative Notice No. 19 from Santa Anita Assembly Center on the conservation of water as water is not draining properly.  The Assembly center closed laundry facilities on Wednesday and one shower location each day of the week.",
            "extent": "8.5W x 7H",
            "links_children": "ddr-densho-356-798",
            "creators": [
                {
                    "role": "author",
                    "namepart": "Amory, H. Russell"
                }
            ],
            "topics": [
                {
                    "term": "World War II -- Temporary Assembly Centers -- Facilities, services, and camp administration",
                    "id": "206"
                },
                {
                    "term": "World War II -- Temporary Assembly Centers -- Living conditions",
                    "id": "62"
                }
            ],
            "format": "doc",
            "language": [
                "eng"
            ],
            "persons": [
                "Amory, H. Russell"
            ],
            "contributor": "Densho",
            "rights": "cc",
            "genre": "misc_document",
            "location": "Arcadia, California",
            "facility": [
                {
                    "term": "Santa Anita",
                    "id": "23"
                }
            ],
            "status": "completed",
            "download_large": "ddr-densho-356-798-mezzanine-85bbf06dcd-a.jpg"
        },
        {
            "id": "ddr-densho-356-799",
            "model": "entity",
            "index": "1 1/{'value': 2, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-densho-356-799/",
                "json": "https://ddr.densho.org/api/0.2/ddr-densho-356-799/",
                "img": "https://ddr.densho.org/media/ddr-densho-356/ddr-densho-356-799-mezzanine-9fb28dc4c3-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-densho-356/ddr-densho-356-799-mezzanine-9fb28dc4c3-a.jpg"
            },
            "title": "Administrative Notice No. 21 Labor Strikes",
            "description": "Administrative Notice No. 21 from Santa Anita Assembly Center provides excerpts from the Wartime Civil Control Administration  Operations Manual regarding work stoppages, labor strikes, quitting, and grievances.   The WCCA did not allow work stoppages or labor strikes.",
            "extent": "8.5W x 11H",
            "links_children": "ddr-densho-356-799",
            "creators": [
                {
                    "role": "author",
                    "namepart": "Amory, H. Russell"
                }
            ],
            "topics": [
                {
                    "term": "World War II -- Temporary Assembly Centers -- Facilities, services, and camp administration",
                    "id": "206"
                },
                {
                    "term": "World War II -- Administration -- Wartime Civil Control Administration (WCCA)",
                    "id": "402"
                },
                {
                    "term": "World War II -- Temporary Assembly Centers -- Work and jobs",
                    "id": "208"
                }
            ],
            "format": "doc",
            "language": [
                "eng"
            ],
            "persons": [
                "Amory, H. Russell"
            ],
            "contributor": "Densho",
            "rights": "cc",
            "genre": "misc_document",
            "location": "Arcadia, California",
            "facility": [
                {
                    "term": "Santa Anita",
                    "id": "23"
                }
            ],
            "status": "completed",
            "download_large": "ddr-densho-356-799-mezzanine-9fb28dc4c3-a.jpg"
        }
    ],
    "query": {
        "query": {
            "bool": {
                "must": [
                    {
                        "nested": {
                            "path": "creators",
                            "query": {
                                "term": {
                                    "creators.namepart": "Amory, H. Russell"
                                }
                            }
                        }
                    }
                ]
            }
        },
        "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"
        ]
    }
}