GET /api/0.2/search/?fulltext=Marseilles%2C+France
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-368-265",
            "model": "entity",
            "index": "0 0/{'value': 5, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-densho-368-265/",
                "json": "https://ddr.densho.org/api/0.2/ddr-densho-368-265/",
                "img": "https://ddr.densho.org/media/ddr-densho-368/ddr-densho-368-265-mezzanine-47862a56bb-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-densho-368/ddr-densho-368-265-mezzanine-47862a56bb-a.jpg"
            },
            "title": "Group of soldiers near tent",
            "description": "Caption: Waiting in staging area (Marseilles, France) for transportation to Italy. From left to right: Homer Takahashi, William Iino, Unknown, Tom Hatsukano",
            "extent": "4W x 2.5H",
            "links_children": "ddr-densho-368-265",
            "topics": [
                {
                    "term": "World War II -- Military service -- 442nd Regimental Combat Team",
                    "id": "89"
                }
            ],
            "format": "img",
            "persons": [
                "Takahashi, Homer",
                "Iino, William",
                "Hatsukano, Tom"
            ],
            "contributor": "Densho",
            "rights": "cc",
            "genre": "photograph",
            "location": "Marseilles, France",
            "status": "completed",
            "download_large": "ddr-densho-368-265-mezzanine-47862a56bb-a.jpg"
        },
        {
            "id": "ddr-densho-164-22",
            "model": "entity",
            "index": "1 1/{'value': 5, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-densho-164-22/",
                "json": "https://ddr.densho.org/api/0.2/ddr-densho-164-22/",
                "img": "https://ddr.densho.org/media/ddr-densho-164/ddr-densho-164-22-mezzanine-b1b23166a7-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-densho-164/ddr-densho-164-22-mezzanine-b1b23166a7-a.jpg"
            },
            "title": "Nisei soldiers in France",
            "description": "Nisei soldier's caption: Our entry into France. Ham and Windbag, Tanaka. Our kitchen hasn't been set up yet. K-ration and C for us. It was so good, like H -- we stayed at a staging area 20 miles from Marseilles and Dijon.",
            "extent": "2092W x 1465H (pixels)",
            "links_children": "ddr-densho-164-22",
            "topics": [
                {
                    "term": "World War II -- Military service -- 442nd Regimental Combat Team",
                    "id": "89"
                }
            ],
            "format": "img",
            "language": [
                "eng"
            ],
            "contributor": "Densho",
            "rights": "pcc",
            "genre": "photograph",
            "location": "Marseilles, France",
            "status": "completed",
            "download_large": "ddr-densho-164-22-mezzanine-b1b23166a7-a.jpg"
        },
        {
            "id": "ddr-densho-164-21",
            "model": "entity",
            "index": "2 2/{'value': 5, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-densho-164-21/",
                "json": "https://ddr.densho.org/api/0.2/ddr-densho-164-21/",
                "img": "https://ddr.densho.org/media/ddr-densho-164/ddr-densho-164-21-mezzanine-44f3016e9b-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-densho-164/ddr-densho-164-21-mezzanine-44f3016e9b-a.jpg"
            },
            "title": "Nisei soldiers in France",
            "description": "Nisei soldier's caption: Our entry into France. Miyano, Hamamura, Iwamoto, Kimura. Marseille, after a rough 2 day trip where nearly everyone got seasick. Pretty tough trying to get the gals to understand. Cigarettes sold for $20 to $25 a carton.",
            "extent": "2092W x 1486H (pixels)",
            "links_children": "ddr-densho-164-21",
            "topics": [
                {
                    "term": "World War II -- Military service -- 442nd Regimental Combat Team",
                    "id": "89"
                }
            ],
            "format": "img",
            "language": [
                "eng"
            ],
            "contributor": "Densho",
            "rights": "pcc",
            "genre": "photograph",
            "location": "Marseilles, France",
            "status": "completed",
            "download_large": "ddr-densho-164-21-mezzanine-44f3016e9b-a.jpg"
        },
        {
            "id": "ddr-densho-164-24",
            "model": "entity",
            "index": "3 3/{'value': 5, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-densho-164-24/",
                "json": "https://ddr.densho.org/api/0.2/ddr-densho-164-24/",
                "img": "https://ddr.densho.org/media/ddr-densho-164/ddr-densho-164-24-mezzanine-c22619e051-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-densho-164/ddr-densho-164-24-mezzanine-c22619e051-a.jpg"
            },
            "title": "Nisei soldiers in France",
            "description": "Nisei soldier's caption: Staging area, Marseilles. Just relaxin' with all comfort.",
            "extent": "2103W x 1478H (pixels)",
            "links_children": "ddr-densho-164-24",
            "topics": [
                {
                    "term": "World War II -- Military service -- 442nd Regimental Combat Team",
                    "id": "89"
                }
            ],
            "format": "img",
            "language": [
                "eng"
            ],
            "contributor": "Densho",
            "rights": "pcc",
            "genre": "photograph",
            "location": "Marseilles, France",
            "status": "completed",
            "download_large": "ddr-densho-164-24-mezzanine-c22619e051-a.jpg"
        },
        {
            "id": "ddr-densho-164-23",
            "model": "entity",
            "index": "4 4/{'value': 5, 'relation': 'eq'}",
            "links": {
                "html": "https://ddr.densho.org/ddr-densho-164-23/",
                "json": "https://ddr.densho.org/api/0.2/ddr-densho-164-23/",
                "img": "https://ddr.densho.org/media/ddr-densho-164/ddr-densho-164-23-mezzanine-117ca26e7d-a.jpg",
                "thumb": "http://ddrmedia.local/media/ddr-densho-164/ddr-densho-164-23-mezzanine-117ca26e7d-a.jpg"
            },
            "title": "Nisei soldiers in France",
            "description": "Nisei soldier's caption: Staging area, Marseilles. Cleaning their rifles. We sure needed them later.",
            "extent": "2094W x 1485H (pixels)",
            "links_children": "ddr-densho-164-23",
            "topics": [
                {
                    "term": "World War II -- Military service -- 442nd Regimental Combat Team",
                    "id": "89"
                }
            ],
            "format": "img",
            "language": [
                "eng"
            ],
            "contributor": "Densho",
            "rights": "pcc",
            "genre": "photograph",
            "location": "Marseilles, France",
            "status": "completed",
            "download_large": "ddr-densho-164-23-mezzanine-117ca26e7d-a.jpg"
        }
    ],
    "query": {
        "query": {
            "query_string": {
                "query": "Marseilles, 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"
        ]
    }
}