DDR objects for specified facet term

`facet_id`: "topics", "facility", "format", "genre", or "rights".
`term_id`: A term ID from one of the following lists:

- http://partner.densho.org/vocab/api/0.2/topics.json
- http://partner.densho.org/vocab/api/0.2/facility.json
- http://partner.densho.org/vocab/api/0.2/format.json
- http://partner.densho.org/vocab/api/0.2/genre.json
- http://partner.densho.org/vocab/api/0.2/rights.json

GET /api/0.2/facet/topics/528/objects/?format=api
HTTP 200 OK
Allow: OPTIONS, GET
Content-Type: application/json
Vary: Accept

{
    "total": 4,
    "limit": 25,
    "offset": 0,
    "prev_offset": null,
    "next_offset": null,
    "page_size": 25,
    "this_page": 1,
    "num_this_page": 4,
    "prev_api": "",
    "next_api": "",
    "objects": [
        {
            "id": "ddr-csujad-2-96",
            "model": "entity",
            "index": "0 0/{'value': 4, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-csujad-2-96/?format=api",
                "json": "https://ddr.densho.org/api/0.2/ddr-csujad-2-96/?format=api",
                "img": "https://ddr.densho.org/media/ddr-csujad-2/ddr-csujad-2-96-mezzanine-a73e6a1f96-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-csujad-2/ddr-csujad-2-96-mezzanine-a73e6a1f96-a.jpg"
            },
            "title": "[Report on sabotage and espionage, table of contents and pages 27-50]",
            "description": "Second section of a report that lacks a title page or other identifying information; the report addresses sabotage and espionage regarding industrial plants and utilities, referencing neither the War Relocation Authority, incarceration camps, nor any other aspect of the treatment of Japanese Americans specifically. Major section titles listed in the report's table of contents include \"Methods of Sabotage\"; \"Industrial Information Sought by Espionage Agents\"; \"Methods of Espionage\"; \"Vulnerable Points\"; \"Personnel\"; \"Physical Properties to be Considered during a Survey\"; \"Confidential Documents\"; \"Identification Systems\"; \"Guard Force\"; \"Fire Prevention\"; and \"Handling of Bombs and Explosives\". This section consists of Pages 27-50 and covers all but the first paragraph of \"Identification Systems\"; \"Guard Force\"; \"Fire Prevention\"; and \"Handling of Bombs and Explosives.\" See [Report on Sabotage and Espionage, Table of Contents and Pages 3-26] for the first part of this document.  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/511\" target=\"_blank\">sjs_sch_0096</a>",
            "extent": "24 pages, typescript",
            "links_children": "ddr-csujad-2-96",
            "topics": [
                {
                    "term": "World War II -- Sabotage and espionage",
                    "id": "528"
                },
                {
                    "term": "World War II -- Sabotage and espionage",
                    "id": "528"
                },
                {
                    "term": "Geographic communities -- California",
                    "id": "271"
                }
            ],
            "format": "doc",
            "language": [
                "eng"
            ],
            "contributor": "San Jose State University Department of Special Collections and Archives",
            "rights": "nocc",
            "genre": "misc_document",
            "location": "Newell, California",
            "facility": [
                {
                    "term": "Tule Lake",
                    "id": "10"
                }
            ],
            "status": "completed",
            "search_hidden": "",
            "download_large": "ddr-csujad-2-96-mezzanine-a73e6a1f96-a.jpg"
        },
        {
            "id": "ddr-csujad-2-79",
            "model": "entity",
            "index": "1 1/{'value': 4, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-csujad-2-79/?format=api",
                "json": "https://ddr.densho.org/api/0.2/ddr-csujad-2-79/?format=api",
                "img": "https://ddr.densho.org/media/ddr-csujad-2/ddr-csujad-2-79-mezzanine-6411a33b3d-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-csujad-2/ddr-csujad-2-79-mezzanine-6411a33b3d-a.jpg"
            },
            "title": "[Report on sabotage and espionage]",
            "description": "A report that lacks a title page or other identifying information and addresses sabotage and espionage regarding industrial plants and utilities; it references neither the War Relocation Authority, incarceration camps, nor any other aspect of the treatment of Japanese Americans specifically. Major section titles listed in the report's table of contents include \"Methods of Sabotage;\" \"Industrial Information Sought by Espionage Agents;\" \"Methods of Espionage;\" \"Vulnerable Points;\" \"Personnel;\" \"Physical Properties to be Considered during a Survey;\" \"Confidential Documents;\" \"Identification Systems;\" \"Guard Force;\" \"Fire Prevention;\" and \"Handling of Bombs and Explosives.\" 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/6121\" target=\"_blank\">sjs_sch_0079</a>",
            "extent": "50 pages, typescript",
            "links_children": "ddr-csujad-2-79",
            "topics": [
                {
                    "term": "World War II -- Sabotage and espionage",
                    "id": "528"
                },
                {
                    "term": "World War II -- Sabotage and espionage",
                    "id": "528"
                }
            ],
            "format": "doc",
            "language": [
                "eng"
            ],
            "contributor": "San Jose State University Department of Special Collections and Archives",
            "rights": "pcc",
            "location": "Newell, California",
            "facility": [
                {
                    "term": "Tule Lake",
                    "id": "10"
                }
            ],
            "status": "completed",
            "search_hidden": "",
            "download_large": "ddr-csujad-2-79-mezzanine-6411a33b3d-a.jpg"
        },
        {
            "id": "ddr-densho-381-5",
            "model": "entity",
            "index": "2 2/{'value': 4, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-densho-381-5/?format=api",
                "json": "https://ddr.densho.org/api/0.2/ddr-densho-381-5/?format=api",
                "img": "https://ddr.densho.org/media/ddr-densho-381/ddr-densho-381-5-mezzanine-1546a6f039-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-densho-381/ddr-densho-381-5-mezzanine-1546a6f039-a.jpg"
            },
            "title": "Letter to Martin Dies from Dillon S. Myer",
            "description": "A letter to Martin Dies, Chairman of the Special Committee to Investigate Un-American Activities, from Dillon S. Myer, War Relocation Authority Director, about misleading statements made by committee members and their affect on the War Relocation Authority.",
            "extent": "8.5W x 11H",
            "links_children": "ddr-densho-381-5",
            "creators": [
                {
                    "role": "author",
                    "namepart": "Myer, Dillon S."
                }
            ],
            "topics": [
                {
                    "term": "World War II -- Administration -- War Relocation Authority (WRA)",
                    "id": "403"
                },
                {
                    "term": "World War II -- Concentration camps -- Living conditions",
                    "id": "67"
                },
                {
                    "term": "World War II -- Sabotage and espionage",
                    "id": "528"
                }
            ],
            "format": "doc",
            "language": [
                "eng"
            ],
            "persons": [
                {
                    "namepart": "Myer, Dillon S."
                },
                {
                    "namepart": "Dies, Martin"
                },
                {
                    "namepart": "Stripling, Robert E."
                },
                {
                    "namepart": "Thomas, J. Parnell"
                },
                {
                    "namepart": "Starnes, Joe"
                },
                {
                    "namepart": "War Relocation Authority"
                }
            ],
            "contributor": "Densho",
            "rights": "cc",
            "genre": "correspondence",
            "location": "Washington, D.C.",
            "facility": [
                {
                    "term": "Manzanar",
                    "id": "7"
                }
            ],
            "creation": "06/02/1943",
            "status": "completed",
            "search_hidden": "Myer, Dillon S. author Myer, Dillon S. \nDies, Martin \nStripling, Robert E. \nThomas, J. Parnell \nStarnes, Joe \nWar Relocation Authority",
            "download_large": "ddr-densho-381-5-mezzanine-1546a6f039-a.jpg"
        },
        {
            "id": "ddr-densho-381-197",
            "model": "entity",
            "index": "3 3/{'value': 4, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-densho-381-197/?format=api",
                "json": "https://ddr.densho.org/api/0.2/ddr-densho-381-197/?format=api",
                "img": "https://ddr.densho.org/media/ddr-densho-381/ddr-densho-381-197-mezzanine-1c0894bd24-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-densho-381/ddr-densho-381-197-mezzanine-1c0894bd24-a.jpg"
            },
            "title": "Aliens in Our Midst",
            "description": "Transcript of a radio broadcast hosted by the University of Chicago Round Table Broadcast with additional footnotes and illustrations. Ernest Colwell (Dean of the Divinity School, University of Chicago), Carey McWilliams (California Commissioner of Immigration and Housing), and Louis Wirth (Department of Sociology, University of Chicago) discuss immigration and barriers to obtaining citizenship, logistics of the incarceration, racist motivations behind incarceration, and more. The pamphlet includes discussion questions, suggested readings, and an advertisement for University of Chicago transcript subscriptions.",
            "extent": "5.25W x 8H (folded); 10.5W x 8H (unfolded)",
            "links_children": "ddr-densho-381-197",
            "creators": [
                {
                    "role": "publisher",
                    "namepart": "University of Chicago"
                },
                {
                    "role": "author",
                    "namepart": "Colwell, Ernest"
                },
                {
                    "role": "author",
                    "namepart": "McWilliams, Carey"
                },
                {
                    "role": "author",
                    "namepart": "Wirth, Louis"
                }
            ],
            "topics": [
                {
                    "term": "Journalism and media -- Mass media",
                    "id": "391"
                },
                {
                    "term": "Race and racism",
                    "id": "36"
                },
                {
                    "term": "World War II -- Sabotage and espionage",
                    "id": "528"
                }
            ],
            "format": "doc",
            "language": [
                "eng"
            ],
            "persons": [
                {
                    "namepart": "Colwell, Ernest"
                },
                {
                    "namepart": "McWilliams, Carey"
                },
                {
                    "namepart": "Wirth, Louis"
                }
            ],
            "contributor": "Densho",
            "rights": "cc",
            "genre": "pamphlet",
            "location": "Chicago, Illionois",
            "facility": [
                {
                    "term": "Minidoka",
                    "id": "8"
                }
            ],
            "creation": "05/10/1942",
            "status": "completed",
            "search_hidden": "University of Chicago publisher \nColwell, Ernest author \nMcWilliams, Carey author \nWirth, Louis author Colwell, Ernest \nMcWilliams, Carey \nWirth, Louis",
            "download_large": "ddr-densho-381-197-mezzanine-1c0894bd24-a.jpg"
        }
    ],
    "query": {
        "query": {
            "bool": {
                "must": [
                    {
                        "nested": {
                            "path": "topics",
                            "query": {
                                "term": {
                                    "topics.id": "528"
                                }
                            }
                        }
                    }
                ]
            }
        },
        "_source": [
            "id",
            "model",
            "links_html",
            "links_json",
            "links_img",
            "links_thumb",
            "links_children",
            "status",
            "public",
            "title",
            "description",
            "contributor",
            "creators",
            "creators.namepart",
            "facility",
            "format",
            "genre",
            "geography",
            "label",
            "language",
            "creation",
            "location",
            "persons",
            "rights",
            "topics",
            "image_url",
            "display_name",
            "bio",
            "extent",
            "search_hidden"
        ]
    },
    "aggregations": {}
}