Get museum hours
GET/museum-hours
Get upcoming museum operating hours
Request
Query Parameters
startDate date
The starting date to retrieve future operating hours from. Defaults to today's date.
page integer
Default value: 1
The page number to retrieve.
limit integer
Possible values: <= 30
Default value: 10
The number of days per page.
Responses
- 200
- 400
- 404
Success
- application/json
- Schema
- Example (from schema)
- default_example
Schema
- Array [
- ]
date daterequired
Date the operating hours apply to.
timeOpen stringrequired
Possible values: Value must match regular expression ^([01]\d|2[0-3]):?([0-5]\d)$
Time the museum opens on a specific date. Uses 24 hour time format (HH:mm
).
timeClose stringrequired
Possible values: Value must match regular expression ^([01]\d|2[0-3]):?([0-5]\d)$
Time the museum closes on a specific date. Uses 24 hour time format (HH:mm
).
[
{
"date": "02-02-2022",
"timeOpen": "09:00",
"timeClose": "18:00"
}
]
Get hours response
[
{
"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"
}
]
Bad request
Not found
Loading...