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

{
    "total": 5,
    "limit": 25,
    "offset": 0,
    "prev_offset": null,
    "next_offset": null,
    "page_size": 25,
    "this_page": 1,
    "num_this_page": 5,
    "prev_api": "",
    "next_api": "",
    "objects": [
        {
            "id": "ddr-densho-67-43",
            "model": "entity",
            "index": "0 0/{'value': 5, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-densho-67-43/",
                "json": "https://ddr.densho.org/api/0.2/ddr-densho-67-43/",
                "img": "https://ddr.densho.org/media/ddr-densho-67/ddr-densho-67-43-mezzanine-80ddc9dd79-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-densho-67/ddr-densho-67-43-mezzanine-80ddc9dd79-a.jpg"
            },
            "title": "Report titled: \"Brief Report of the Kibei Meeting Held at Mess Hall 15\"",
            "description": "Letter and report sent by Fred Tayama to Major Rudisill. The report is entitled: \"Brief Report of the Kibei Meeting Held at Mess Hall 15.\" Tayama requests that renunciation of American citizenship be permitted, and segregation of the \"disloyal\" Japanese commenced. Meeting focused on internal improvement issues, arguments and tension between pro-Japanese and pro-American individuals.",
            "extent": "4384W x 6077H (pixels)",
            "links_children": "ddr-densho-67-43",
            "creators": [
                {
                    "role": "author",
                    "namepart": "Tayama, Fred"
                }
            ],
            "format": "doc",
            "language": [
                "eng"
            ],
            "persons": [
                "Tayama, Fred",
                "Rudisill, Richard"
            ],
            "contributor": "Densho",
            "rights": "pdm",
            "genre": "misc_document",
            "location": "Manzanar concentration camp, California",
            "facility": [
                {
                    "term": "Manzanar",
                    "id": "7"
                }
            ],
            "status": "completed",
            "download_large": "ddr-densho-67-43-mezzanine-80ddc9dd79-a.jpg"
        },
        {
            "id": "ddr-densho-319-548",
            "model": "entity",
            "index": "1 1/{'value': 5, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-densho-319-548/",
                "json": "https://ddr.densho.org/api/0.2/ddr-densho-319-548/",
                "img": "https://ddr.densho.org/media/ddr-densho-319/ddr-densho-319-548-mezzanine-c084b27008-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-densho-319/ddr-densho-319-548-mezzanine-c084b27008-a.jpg"
            },
            "title": "Letter sent to T.K. Pharmacy",
            "description": "Request to purchase Kokusui and Hakutsuru sake.",
            "extent": "5.5W x 3.25H",
            "links_children": "ddr-densho-319-548",
            "creators": [
                {
                    "role": "author",
                    "namepart": "Tayama, Fred"
                }
            ],
            "format": "doc",
            "language": [
                "eng"
            ],
            "persons": [
                "Tayama, Fred"
            ],
            "contributor": "Densho",
            "geography": [
                {
                    "term": "Boulder, Colorado",
                    "id": "245"
                },
                {
                    "term": "Denver, Colorado",
                    "id": "178"
                }
            ],
            "rights": "cc",
            "genre": "correspondence",
            "location": "Sent from Boulder, Colorado to Denver, Colorado",
            "status": "completed",
            "download_large": "ddr-densho-319-548-mezzanine-c084b27008-a.jpg"
        },
        {
            "id": "ddr-densho-319-546",
            "model": "entity",
            "index": "2 2/{'value': 5, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-densho-319-546/",
                "json": "https://ddr.densho.org/api/0.2/ddr-densho-319-546/",
                "img": "https://ddr.densho.org/media/ddr-densho-319/ddr-densho-319-546-mezzanine-1f20bd7fd9-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-densho-319/ddr-densho-319-546-mezzanine-1f20bd7fd9-a.jpg"
            },
            "title": "Letter sent to T.K. Pharmacy",
            "description": "Correspondence about a missing sake purchase.",
            "extent": "5.5W x 3.5H",
            "links_children": "ddr-densho-319-546",
            "creators": [
                {
                    "role": "author",
                    "namepart": "Tayama, Fred"
                }
            ],
            "format": "doc",
            "language": [
                "eng"
            ],
            "persons": [
                "Tayama, Fred"
            ],
            "contributor": "Densho",
            "geography": [
                {
                    "term": "Boulder, Colorado",
                    "id": "245"
                },
                {
                    "term": "Denver, Colorado",
                    "id": "178"
                }
            ],
            "rights": "cc",
            "genre": "correspondence",
            "location": "Sent from Boulder, Colorado to Denver, Colorado",
            "status": "completed",
            "download_large": "ddr-densho-319-546-mezzanine-1f20bd7fd9-a.jpg"
        },
        {
            "id": "ddr-densho-319-73",
            "model": "entity",
            "index": "3 3/{'value': 5, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-densho-319-73/",
                "json": "https://ddr.densho.org/api/0.2/ddr-densho-319-73/",
                "img": "https://ddr.densho.org/media/ddr-densho-319/ddr-densho-319-73-mezzanine-d635d6e394-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-densho-319/ddr-densho-319-73-mezzanine-d635d6e394-a.jpg"
            },
            "title": "Letter sent to T.K. Pharmacy",
            "description": "Request for sake.",
            "extent": "8.5W x 11H",
            "links_children": "ddr-densho-319-73",
            "creators": [
                {
                    "role": "author",
                    "namepart": "Tayama, Fred"
                }
            ],
            "format": "doc",
            "language": [
                "eng"
            ],
            "persons": [
                "Tayawa, Fred"
            ],
            "contributor": "Densho",
            "geography": [
                {
                    "term": "Denver, Colorado",
                    "id": "178"
                }
            ],
            "rights": "cc",
            "genre": "correspondence",
            "location": "Sent to Denver, Colorado",
            "status": "completed",
            "download_large": "ddr-densho-319-73-mezzanine-d635d6e394-a.jpg"
        },
        {
            "id": "ddr-densho-319-549",
            "model": "entity",
            "index": "4 4/{'value': 5, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-densho-319-549/",
                "json": "https://ddr.densho.org/api/0.2/ddr-densho-319-549/",
                "img": "https://ddr.densho.org/media/ddr-densho-319/ddr-densho-319-549-mezzanine-727c58c46e-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-densho-319/ddr-densho-319-549-mezzanine-727c58c46e-a.jpg"
            },
            "title": "Letter sent to T.K. Pharmacy",
            "description": "Request to purchase Hawaiian and Hakutsuru sake.",
            "extent": "5.5W x 3.5H",
            "links_children": "ddr-densho-319-549",
            "creators": [
                {
                    "role": "author",
                    "namepart": "Tayama, Fred"
                }
            ],
            "format": "doc",
            "language": [
                "eng"
            ],
            "persons": [
                "Tayama, Fred"
            ],
            "contributor": "Densho",
            "geography": [
                {
                    "term": "Boulder, Colorado",
                    "id": "245"
                },
                {
                    "term": "Denver, Colorado",
                    "id": "178"
                }
            ],
            "rights": "cc",
            "genre": "correspondence",
            "location": "Sent from Boulder, Colorado to Denver, Colorado",
            "status": "completed",
            "download_large": "ddr-densho-319-549-mezzanine-727c58c46e-a.jpg"
        }
    ],
    "query": {
        "query": {
            "bool": {
                "must": [
                    {
                        "nested": {
                            "path": "creators",
                            "query": {
                                "term": {
                                    "creators.namepart": "Tayama, Fred"
                                }
                            }
                        }
                    }
                ]
            }
        },
        "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"
        ]
    }
}