Get museum hours

Get upcoming museum operating hours

SecurityHTTP: MuseumPlaceholderAuth
Request
query Parameters
startDate
string <date>

The starting date to retrieve future operating hours from. Defaults to today's date.

Example: startDate=2023-02-23T00:00:00.000Z
page
integer
Default: 1

The page number to retrieve.

Example: page=2
limit
integer <= 30
Default: 10

The number of days per page.

Example: limit=15
get
/museum-hours
Responses

200

Success

Response Schema: application/json
Array
date
required
string <date> (Date)

Date the operating hours apply to.

timeOpen
required
string^([01]\d|2[0-3]):?([0-5]\d)$

Time the museum opens on a specific date. Uses 24 hour time format (HH:mm).

timeClose
required
string^([01]\d|2[0-3]):?([0-5]\d)$

Time the museum closes on a specific date. Uses 24 hour time format (HH:mm).

400

Bad request

404

Not found

Response samples
application/json
[ { "date": "2023-09-11", "timeOpen": "09:00", "timeClose": "18:00" }, { "date": "2023-09-12", "timeOpen": "09:00", "timeClose": "18:00" }, { "date": "2023-09-13", "timeOpen": "09:00", "timeClose": "18:00" }, { "date": "2023-09-14", "timeOpen": "09:00", "timeClose": "18:00" }, { "date": "2023-09-15", "timeOpen": "10:00", "timeClose": "16:00" }, { "date": "2023-09-18", "timeOpen": "09:00", "timeClose": "18:00" }, { "date": "2023-09-19", "timeOpen": "09:00", "timeClose": "18:00" }, { "date": "2023-09-20", "timeOpen": "09:00", "timeClose": "18:00" }, { "date": "2023-09-21", "timeOpen": "09:00", "timeClose": "18:00" }, { "date": "2023-09-22", "timeOpen": "10:00", "timeClose": "16:00" } ]