GET /api/0.2/search/?fulltext=Osterville%2C+Massachusetts
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "total": 6,
    "limit": 25,
    "offset": 0,
    "prev_offset": null,
    "next_offset": null,
    "page_size": 25,
    "this_page": 1,
    "num_this_page": 6,
    "prev_api": "",
    "next_api": "",
    "objects": [
        {
            "id": "ddr-densho-377-96",
            "model": "entity",
            "index": "0 0/{'value': 6, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-densho-377-96/",
                "json": "https://ddr.densho.org/api/0.2/ddr-densho-377-96/",
                "img": "https://ddr.densho.org/media/ddr-densho-377/ddr-densho-377-96-mezzanine-eaf94e62d7-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-densho-377/ddr-densho-377-96-mezzanine-eaf94e62d7-a.jpg"
            },
            "title": "Garden at the Morris project",
            "description": "Landscape designed by Kaneji Domoto.",
            "extent": "7.5W x 7.5H",
            "links_children": "ddr-densho-377-96",
            "format": "img",
            "contributor": "Densho",
            "geography": [
                {
                    "term": "Osterville, Massachusetts",
                    "id": "463"
                }
            ],
            "rights": "cc",
            "genre": "photograph",
            "location": "Osterville, Massachusetts",
            "creation": "c.1960s-1970s",
            "status": "completed",
            "search_hidden": "",
            "download_large": "ddr-densho-377-96-mezzanine-eaf94e62d7-a.jpg"
        },
        {
            "id": "ddr-densho-377-95",
            "model": "entity",
            "index": "1 1/{'value': 6, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-densho-377-95/",
                "json": "https://ddr.densho.org/api/0.2/ddr-densho-377-95/",
                "img": "https://ddr.densho.org/media/ddr-densho-377/ddr-densho-377-95-mezzanine-6b52505351-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-densho-377/ddr-densho-377-95-mezzanine-6b52505351-a.jpg"
            },
            "title": "Garden at the Morris project",
            "description": "Landscape designed by Kaneji Domoto. Caption on reverse: \"Morris residence / Osterville, Cape Cod, / Mass.\"",
            "extent": "7.25W x 7.5H",
            "links_children": "ddr-densho-377-95",
            "format": "img",
            "contributor": "Densho",
            "geography": [
                {
                    "term": "Osterville, Massachusetts",
                    "id": "463"
                }
            ],
            "rights": "cc",
            "genre": "photograph",
            "location": "Osterville, Massachusetts",
            "creation": "c.1960s",
            "status": "completed",
            "search_hidden": "",
            "download_large": "ddr-densho-377-95-mezzanine-6b52505351-a.jpg"
        },
        {
            "id": "ddr-densho-377-100",
            "model": "entity",
            "index": "2 2/{'value': 6, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-densho-377-100/",
                "json": "https://ddr.densho.org/api/0.2/ddr-densho-377-100/",
                "img": "https://ddr.densho.org/media/ddr-densho-377/ddr-densho-377-100-mezzanine-c11c01ecce-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-densho-377/ddr-densho-377-100-mezzanine-c11c01ecce-a.jpg"
            },
            "title": "Garden at the Morris project",
            "description": "Landscape designed by Kaneji Domoto.",
            "extent": "7.5W x 7.5H",
            "links_children": "ddr-densho-377-100",
            "format": "img",
            "contributor": "Densho",
            "geography": [
                {
                    "term": "Osterville, Massachusetts",
                    "id": "463"
                }
            ],
            "rights": "cc",
            "genre": "photograph",
            "location": "Osterville, Massachusetts",
            "creation": "c.1960s-1970s",
            "status": "completed",
            "search_hidden": "",
            "download_large": "ddr-densho-377-100-mezzanine-c11c01ecce-a.jpg"
        },
        {
            "id": "ddr-densho-377-97",
            "model": "entity",
            "index": "3 3/{'value': 6, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-densho-377-97/",
                "json": "https://ddr.densho.org/api/0.2/ddr-densho-377-97/",
                "img": "https://ddr.densho.org/media/ddr-densho-377/ddr-densho-377-97-mezzanine-49027826ee-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-densho-377/ddr-densho-377-97-mezzanine-49027826ee-a.jpg"
            },
            "title": "Garden at the Morris project",
            "description": "Landscape designed by Kaneji Domoto.",
            "extent": "7.5W x 7.5H",
            "links_children": "ddr-densho-377-97",
            "format": "img",
            "contributor": "Densho",
            "geography": [
                {
                    "term": "Osterville, Massachusetts",
                    "id": "463"
                }
            ],
            "rights": "cc",
            "genre": "photograph",
            "location": "Osterville, Massachusetts",
            "creation": "c.1960s-1970s",
            "status": "completed",
            "search_hidden": "",
            "download_large": "ddr-densho-377-97-mezzanine-49027826ee-a.jpg"
        },
        {
            "id": "ddr-densho-377-98",
            "model": "entity",
            "index": "4 4/{'value': 6, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-densho-377-98/",
                "json": "https://ddr.densho.org/api/0.2/ddr-densho-377-98/",
                "img": "https://ddr.densho.org/media/ddr-densho-377/ddr-densho-377-98-mezzanine-b0c89a7d23-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-densho-377/ddr-densho-377-98-mezzanine-b0c89a7d23-a.jpg"
            },
            "title": "Garden at the Morris project",
            "description": "Landscape designed by Kaneji Domoto.",
            "extent": "7.5W x 7.5H",
            "links_children": "ddr-densho-377-98",
            "format": "img",
            "contributor": "Densho",
            "geography": [
                {
                    "term": "Osterville, Massachusetts",
                    "id": "463"
                }
            ],
            "rights": "cc",
            "genre": "photograph",
            "location": "Osterville, Massachusetts",
            "creation": "c.1960s-1970s",
            "status": "completed",
            "search_hidden": "",
            "download_large": "ddr-densho-377-98-mezzanine-b0c89a7d23-a.jpg"
        },
        {
            "id": "ddr-densho-377-99",
            "model": "entity",
            "index": "5 5/{'value': 6, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-densho-377-99/",
                "json": "https://ddr.densho.org/api/0.2/ddr-densho-377-99/",
                "img": "https://ddr.densho.org/media/ddr-densho-377/ddr-densho-377-99-mezzanine-d1f887e9e6-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-densho-377/ddr-densho-377-99-mezzanine-d1f887e9e6-a.jpg"
            },
            "title": "Garden at the Morris project",
            "description": "Landscape designed by Kaneji Domoto. Caption on reverse: \"Morris Garden At Cape.\"",
            "extent": "7.5W x 7.5H",
            "links_children": "ddr-densho-377-99",
            "format": "img",
            "language": [
                "eng"
            ],
            "contributor": "Densho",
            "geography": [
                {
                    "term": "Osterville, Massachusetts",
                    "id": "463"
                }
            ],
            "rights": "cc",
            "genre": "photograph",
            "location": "Osterville, Massachusetts",
            "creation": "c.1960s-1970s",
            "status": "completed",
            "search_hidden": "",
            "download_large": "ddr-densho-377-99-mezzanine-d1f887e9e6-a.jpg"
        }
    ],
    "query": {
        "query": {
            "query_string": {
                "query": "Osterville, Massachusetts",
                "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"
        ]
    }
}