GET /api/0.2/search/?fulltext=Stockton%20El%20Joaquin
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-196",
            "model": "collection",
            "index": "0 0/{'value': 2, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-densho-196/",
                "json": "https://ddr.densho.org/api/0.2/ddr-densho-196/",
                "img": "https://ddr.densho.org/media/ddr-densho-196/ddr-densho-196-1-mezzanine-88c8396e33-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-densho-196/ddr-densho-196-1-mezzanine-88c8396e33-a.jpg"
            },
            "title": "Stockton El Joaquin Collection",
            "description": "This collection consists of issues of the Stockton El Joaquin, which was the newspaper for the Stockton Assembly Center, California, open from May 10, 1942, to October 17, 1942. The newspaper provided information about activities and sports, living conditions, and the move to permanent camps.",
            "extent": "35 documents",
            "links_children": "ddr-densho-196",
            "creators": [
                {
                    "role": "publisher",
                    "namepart": "Stockton El Joaquin"
                }
            ],
            "language": [
                "eng"
            ],
            "contributor": "Hoover Institution Library",
            "public": "1",
            "rights": "pcc",
            "status": "completed",
            "search_hidden": "Stockton El Joaquin publisher",
            "download_large": "ddr-densho-196-1-mezzanine-88c8396e33-a.jpg"
        },
        {
            "id": "ddr-densho-196-1",
            "model": "entity",
            "index": "1 1/{'value': 2, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-densho-196-1/",
                "json": "https://ddr.densho.org/api/0.2/ddr-densho-196-1/",
                "img": "https://ddr.densho.org/media/ddr-densho-196/ddr-densho-196-1-mezzanine-88c8396e33-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-densho-196/ddr-densho-196-1-mezzanine-88c8396e33-a.jpg"
            },
            "title": "Stockon El Joaquin Vol. I No. 1 (May 30, 1942)",
            "description": "Selected article titles: \"Stockton Center Rolls. Evacuation Totals 4,268 with Valleites\" (p. 1), \"Editorial: El Joaquin -- Your Paper\" (p. 1), \"Iron, Stoves Make Trouble\" (p. 1), \"Draft + Alien Change of Address\" (p. 1), \"Editorial: Help Maintain Sanitation\" (p. 2), \"Scout Activities to Continue for Interested Youths Here in Center\" (p. 3), \"Work Division Issues Call for Men as Center Employment Rise\" (p. 4), \"Food Imports Banned\" (p. 4).",
            "extent": "5W x 8H",
            "links_children": "ddr-densho-196-1",
            "topics": [
                {
                    "term": "World War II -- Temporary Assembly Centers -- Publications -- Stockton El Joaquin",
                    "id": "228"
                }
            ],
            "format": "doc",
            "language": [
                "eng"
            ],
            "contributor": "Densho",
            "rights": "pcc",
            "genre": "periodical",
            "location": "Stockton Assembly Center, California",
            "facility": [
                {
                    "term": "Stockton",
                    "id": "16"
                }
            ],
            "creation": "May 30, 1942",
            "status": "completed",
            "search_hidden": "",
            "download_large": "ddr-densho-196-1-mezzanine-88c8396e33-a.jpg"
        }
    ],
    "query": {
        "query": {
            "query_string": {
                "query": "Stockton El Joaquin",
                "fields": [
                    "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"
                ],
                "analyze_wildcard": false,
                "allow_leading_wildcard": false,
                "default_operator": "AND"
            }
        },
        "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",
            "creators.namepart",
            "facility",
            "format",
            "genre",
            "geography",
            "label",
            "language",
            "creation",
            "location",
            "persons",
            "rights",
            "topics",
            "image_url",
            "display_name",
            "bio",
            "extent",
            "search_hidden"
        ]
    }
}