Operations

Operational information about the museum.

GET

/museum-hours

Get museum hours

Get upcoming museum operating hours

Query Parameters

startDatestring

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

Example: "2023-02-23T00:00:00.000Z"Format: "date"

pageinteger

The page number to retrieve.

Example: 2Default: 1

limitinteger

The number of days per page.

Example: 15Default: 10Maximum: 30
Status codeDescription
200Success
400Bad request
404Not found
curl
curl -X GET "https://api.fake-museum-example.com/museum-hours"

List of museum operating hours for consecutive days.

Example Response
[
  {
    "date": "02-02-2022",
    "timeOpen": "09:00",
    "timeClose": 1080
  }
]

Last updated on