GET /api/0.2/search/?fulltext=Vicy%2C+France
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-njpa-1-841",
            "model": "entity",
            "index": "0 0/{'value': 2, 'relation': 'eq'}",
            "links": {
                "html": "http://ddr.densho.org/ddr-njpa-1-841/",
                "json": "http://ddr.densho.org/api/0.2/ddr-njpa-1-841/",
                "img": "https://ddr.densho.org/media/ddr-njpa-1/ddr-njpa-1-841-mezzanine-c70f0cc603-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-njpa-1/ddr-njpa-1-841-mezzanine-c70f0cc603-a.jpg"
            },
            "title": "William Leahy arriving in France",
            "description": "Caption on reverse [translation]: \"Ambassador to France Leahy Arrives. (Vichy) Domei. [illegible] new American ambassador to France Admiral William Leahy arrived in Vichy on January 17 and met with Chief of State Petain and engaged in important discussion. Photograph: (from left) General Pierre Flandin, Marshal Petain, Ambassador Leahy. [Stamped] February 5, 1941.\"",
            "extent": "6W x 4H",
            "links_children": "ddr-njpa-1-841",
            "creators": [
                {
                    "role": "photographer",
                    "namepart": "Domei"
                }
            ],
            "format": "img",
            "language": [
                "jpn"
            ],
            "persons": [
                "Leahy, William"
            ],
            "contributor": "Hawai'i Times Photo Archives Foundation",
            "rights": "pcc",
            "genre": "photograph",
            "location": "Vicy, France",
            "status": "completed",
            "download_large": "ddr-njpa-1-841-mezzanine-c70f0cc603-a.jpg"
        },
        {
            "id": "ddr-njpa-1-842",
            "model": "entity",
            "index": "1 1/{'value': 2, 'relation': 'eq'}",
            "links": {
                "html": "http://ddr.densho.org/ddr-njpa-1-842/",
                "json": "http://ddr.densho.org/api/0.2/ddr-njpa-1-842/",
                "img": "https://ddr.densho.org/media/ddr-njpa-1/ddr-njpa-1-842-mezzanine-641494dacf-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-njpa-1/ddr-njpa-1-842-mezzanine-641494dacf-a.jpg"
            },
            "title": "William Leahy",
            "description": "Caption on reverse [translation]: \"New Ambassador to Vichy France Presents Credentials. (Vichy) Domei. Admiral Leahy, the new American ambassador to France, arrived in Vichy on January 30 and presented his credentials to Marshal Petain. Photograph: Marshall Petain (left) and Ambassador Leahy (right) engaged in warm conversation. [Stamped] March 3, 1941.\"",
            "extent": "6.25W x 4.25H",
            "links_children": "ddr-njpa-1-842",
            "creators": [
                {
                    "role": "photographer",
                    "namepart": "Domei"
                }
            ],
            "format": "img",
            "language": [
                "jpn"
            ],
            "persons": [
                "Leahy, William"
            ],
            "contributor": "Hawai'i Times Photo Archives Foundation",
            "rights": "pcc",
            "genre": "photograph",
            "location": "Vicy, France",
            "status": "completed",
            "download_large": "ddr-njpa-1-842-mezzanine-641494dacf-a.jpg"
        }
    ],
    "query": {
        "query": {
            "query_string": {
                "query": "Vicy, France",
                "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"
        ]
    }
}