GET /api/0.2/search/?fulltext=Kodiak+Island%2C+Alaska
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-15-22",
            "model": "entity",
            "index": "0 0/{'value': 5, 'relation': 'eq'}",
            "links": {
                "html": "http://ddr.densho.org/ddr-densho-15-22/",
                "json": "http://ddr.densho.org/api/0.2/ddr-densho-15-22/",
                "img": "https://ddr.densho.org/media/ddr-densho-15/ddr-densho-15-22-mezzanine-9975606269-a.jpg",
                "thumb": "http://ddrstatic.local/media/ddr-densho-15/ddr-densho-15-22-mezzanine-9975606269-a.jpg"
            },
            "title": "Men salting salmon",
            "description": "Pictured at Shear Water Bay near Kodiak Island, these Japanese Americans are salting the nose area of the salmon, which will later be pickled. Pickled nose cartilage was considered a delicacy.",
            "links_children": "ddr-densho-15-22",
            "topics": [
                {
                    "term": "Industry and employment -- Fishing and canneries",
                    "id": "10"
                }
            ],
            "format": "img",
            "language": [
                "eng"
            ],
            "contributor": "Densho",
            "rights": "pcc",
            "genre": "photograph",
            "location": "Kodiak Island, Alaska",
            "status": "completed"
        },
        {
            "id": "ddr-densho-15-42",
            "model": "entity",
            "index": "1 1/{'value': 5, 'relation': 'eq'}",
            "links": {
                "html": "http://ddr.densho.org/ddr-densho-15-42/",
                "json": "http://ddr.densho.org/api/0.2/ddr-densho-15-42/",
                "img": "https://ddr.densho.org/media/ddr-densho-15/ddr-densho-15-42-mezzanine-1d59442812-a.jpg",
                "thumb": "http://ddrstatic.local/media/ddr-densho-15/ddr-densho-15-42-mezzanine-1d59442812-a.jpg"
            },
            "title": "Departure from the canneries",
            "description": "These workers are in Shear Water Bay near Kodiak Island. They are about to leave the canneries.",
            "links_children": "ddr-densho-15-42",
            "topics": [
                {
                    "term": "Industry and employment -- Fishing and canneries",
                    "id": "10"
                }
            ],
            "format": "img",
            "language": [
                "eng"
            ],
            "contributor": "Densho",
            "rights": "pcc",
            "genre": "photograph",
            "location": "Kodiak Island, Alaska",
            "status": "completed"
        },
        {
            "id": "ddr-densho-15-41",
            "model": "entity",
            "index": "2 2/{'value': 5, 'relation': 'eq'}",
            "links": {
                "html": "http://ddr.densho.org/ddr-densho-15-41/",
                "json": "http://ddr.densho.org/api/0.2/ddr-densho-15-41/",
                "img": "https://ddr.densho.org/media/ddr-densho-15/ddr-densho-15-41-mezzanine-c000f20a0e-a.jpg",
                "thumb": "http://ddrstatic.local/media/ddr-densho-15/ddr-densho-15-41-mezzanine-c000f20a0e-a.jpg"
            },
            "title": "Cannery workers",
            "description": "These workers are at Shear Water Bay near Kodiak Island. They appear to be playing cards. Left to right: unidentified, Tom Matsudaira (cannery foreman), \"Cannon\" Watanabe, (first name unknown) Yamasaki, and Paul Sakai.",
            "links_children": "ddr-densho-15-41",
            "topics": [
                {
                    "term": "Industry and employment -- Fishing and canneries",
                    "id": "10"
                }
            ],
            "format": "img",
            "language": [
                "eng"
            ],
            "persons": [
                "Matsudaira, Tom",
                "Sakai, Paul"
            ],
            "contributor": "Densho",
            "rights": "pcc",
            "genre": "photograph",
            "location": "Kodiak Island, Alaska",
            "status": "completed"
        },
        {
            "id": "ddr-densho-15-25",
            "model": "entity",
            "index": "3 3/{'value': 5, 'relation': 'eq'}",
            "links": {
                "html": "http://ddr.densho.org/ddr-densho-15-25/",
                "json": "http://ddr.densho.org/api/0.2/ddr-densho-15-25/",
                "img": "https://ddr.densho.org/media/ddr-densho-15/ddr-densho-15-25-mezzanine-25378b9d03-a.jpg",
                "thumb": "http://ddrstatic.local/media/ddr-densho-15/ddr-densho-15-25-mezzanine-25378b9d03-a.jpg"
            },
            "title": "Two men holding their halibut catch",
            "description": "George Munato (left) and Takeo Dozen hold their catch of halibut from the Shear Water Bay area of Kodiak Island. The item on top of the halibut is a skate.",
            "links_children": "ddr-densho-15-25",
            "topics": [
                {
                    "term": "Industry and employment -- Fishing and canneries",
                    "id": "10"
                }
            ],
            "format": "img",
            "language": [
                "eng"
            ],
            "persons": [
                "Munato, George",
                "Dozen, Takeo"
            ],
            "contributor": "Densho",
            "rights": "pcc",
            "genre": "photograph",
            "location": "Kodiak Island, Alaska",
            "status": "completed"
        },
        {
            "id": "ddr-densho-15-34",
            "model": "entity",
            "index": "4 4/{'value': 5, 'relation': 'eq'}",
            "links": {
                "html": "http://ddr.densho.org/ddr-densho-15-34/",
                "json": "http://ddr.densho.org/api/0.2/ddr-densho-15-34/",
                "img": "https://ddr.densho.org/media/ddr-densho-15/ddr-densho-15-34-mezzanine-c3c8362743-a.jpg",
                "thumb": "http://ddrstatic.local/media/ddr-densho-15/ddr-densho-15-34-mezzanine-c3c8362743-a.jpg"
            },
            "title": "Unloading herring",
            "description": "",
            "links_children": "ddr-densho-15-34",
            "topics": [
                {
                    "term": "Industry and employment -- Fishing and canneries",
                    "id": "10"
                }
            ],
            "format": "img",
            "language": [
                "eng"
            ],
            "contributor": "Densho",
            "rights": "pcc",
            "genre": "photograph",
            "location": "Kodiak Island, Alaska",
            "status": "completed"
        }
    ],
    "query": {
        "query": {
            "query_string": {
                "query": "Kodiak Island, Alaska",
                "fields": [
                    "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"
                ],
                "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",
            "facility",
            "format",
            "genre",
            "geography",
            "label",
            "language",
            "location",
            "persons",
            "rights",
            "topics",
            "image_url",
            "display_name",
            "bio",
            "extent"
        ]
    }
}