Skip Navigation

Opencollection API

GET /exhibition/

Returns a set of exhibition items matching the given criteria and a total count of exhibitions that match the query.

Returns id, title, primary_image, primary_image_id, start_date, end_date, organizing_department, location for each exhibition, location id OR a total count that matches the query if the total_count_only parameter is supplied and set to 1

Arguments

limit
An integer indicating how many results to return Integer
offset
An integer indicating at which index of the full result set to begin at Integer
decade
If used, limits results to exhibitions that started within that decade Integer
hasImages
If true is passed in, limits results to those where exhibitions have a primary_image Boolean
tag
Filter by tag String
title
Filter by title String
organizing_department
Filter by Organizing Department String
start_year
Filter by starting year of exhibition Integer
end_year
Filter by ending year of exhibition Integer
require_press_release
If true, only exhibitions that have press releases will be returned. Boolean
require_didactic
If true, only exhibitions with didactics will be returned. Boolean
keyword
Filter by keyword. This is a full text search of the exhibition fields. String
total_count_only
Accepted values are 0 for false or 1 for true. If true, the total row count for the query will be returned instead of exhibitions. Integer

Responses

200: an array of objects with a total count of exhibitons fetched OR a total count that matches the query if the total_count_only parameter is supplied and set to 1 Returns ExhibitionQuery