Skip to content

Latest commit

 

History

History
114 lines (99 loc) · 4.72 KB

gallery.md

File metadata and controls

114 lines (99 loc) · 4.72 KB

Gallery

Contains information on physical spaces within the museums’ building at 32 Quincy Street, Cambridge, MA.

Get galleries

GET /gallery will get all galleries in the museum building.

Include one or more of the following parameters to filter the items.

Parameter Value
apikey YOUR API KEY required
q FIELD:VALUE (see Elasticsearch Query String syntax for more options)
size 0-9+
page 0-9+
sort FIELD NAME or "random" or "random:[SEED NUMBER]"
sortorder asc or desc
fields comma separated list of data fields you want in the output
aggregation see Elasticsearch aggregations
id pipe separated list of record IDs
usedby FIELD NAME:ID
floor FLOOR NUMBER or pipe separated list of FLOOR NUMBERS; acceptable floor numbers are 0 through 5

Examples

https://api.harvardartmuseums.org/gallery?floor=2
Returns all records for galleries that are on floor (Level) 2 in the Harvard Art Museums building.

Response

{
    "info": {
        "totalrecordsperquery": 10,
        "totalrecords": 24,
        "pages": 3,
        "page": 1,
        "next": "https://api.harvardartmuseums.org/gallery?floor=2&size=10&page=2",
        "responsetime": "6 ms"
    },
    "records": [
        {
            "gallerynumber": "2300",
            "objectcount": 27,
            "id": 2300,
            "lastupdate": "2015-01-09T04:07:36-0500",
            "floor": 2,
            "name": "European Art, 17th–19th century",
            "donorname": "Eijk and Rose-Marie van Otterloo Gallery",
            "theme": "Seventeenth–Century Dutch and Flemish Art",
            "galleryid": 2300
        },
        {
            "gallerynumber": "2540",
            "objectcount": 35,
            "id": 2540,
            "lastupdate": "2015-01-09T04:07:36-0500",
            "floor": 2,
            "name": "European Art, 13th–16th century",
            "donorname": null,
            "theme": "The Renaissance",
            "galleryid": 2540
        }
    ]
}

Get gallery

GET /gallery/GALLERY_ID will get detailed info about a specific gallery.

Examples

https://api.harvardartmuseums.org/gallery/1220
Returns the full record for the gallery “European Art, 19th–20th century”.

Response

{
    "id": "1220",
    "galleryid": "1220",
    "gallerynumber": "1220",
    "name": "European Art, 19th–20th century",
    "donorname": "Collection of Maurice Wertheim, Class of 1906",
    "floor": "1",
    "theme": "Collection of Maurice Wertheim, Class of 1906",
    "objectcount": 34,
    "labeltext": "Maurice Wertheim (1886–1950), Harvard Class of 1906, was an investment banker from New York. He began amassing his renowned collection in the 1930s, acquiring masterpieces by famed artists like Edgar Degas, Claude Monet, and Pierre-Auguste Renoir, as well as contemporary figures such as Aristide Maillol, Henri Matisse, and Pablo Picasso. His interest in modern art was informed by recommendations from advisors, who included Alfred M. Frankfurter, editor of the highly read periodical Art News, and Paul J. Sachs, associate director of the Fogg Art Museum from 1923–45.\r\nWertheim’s decision to focus on nineteenth- and twentieth-century art also derived from practical considerations. Like other American collectors purchasing art after World War I, Wertheim perceived that art from this era was both critically acclaimed and financially accessible. An added benefit, for him, was the fact that its scale and varied styles were well suited to his modern penthouse apartment on the Upper East Side of New York City, where the works were first installed.\r\nWertheim bequeathed his collection to Harvard, to be studied and enjoyed by students and scholars, with the stipulation that it be shown together in a single gallery.",
    "url": "https://www.harvardartmuseums.org/visit/floor-plan/1/1220",
    "lastupdate": "2024-04-26T04:36:29-0400",
    "contains": {
        "groups": [
            {
                "groupid": 2039923,
                "name": "Collection Highlights"
            },
            {
                "groupid": 2040174,
                "name": "Google Art Project"
            },
            {
                "groupid": 2040515,
                "name": "Iconic Works"
            },
            {
                "groupid": 2043491,
                "name": "ReFrame"
            }
        ]
    }
}