Unfortunately, this feature is not supported on mobile devices. For the best experience, please use a computer.

Redocly Museum API (1.1.1)

Imaginary, but delightful Museum API for interacting with museum services and information. Built with love by Redocly.

Download OpenAPI description
Languages
Servers
Mock server
https://redocly.com/_mock/docs/openapi/museum-api/
https://api.fake-museum-example.com/v1.1/

Operations

Operational information about the museum.

Operations

Get museum hours

Request

Get upcoming museum operating hours.

Query
startDatestring(date)

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

Example:

startDate=2023-02-23

pageinteger

Page number to retrieve.

Default 1
Example:

page=2

limitinteger<= 30

Number of days per page.

Default 10
Example:

limit=15

curl -i -X GET \
  -u <username>:<password> \
  'https://redocly.com/_mock/docs/openapi/museum-api/museum-hours?limit=15&page=2&startDate=2023-02-23'
Experience it firsthand in the API Explorer!

Responses

Success.

Bodyapplication/jsonArray [
datestring(date)(Date)required

Date the operating hours apply to.

Example:

"2024-12-31"

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

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

Example:

"09:00"

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

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

Example:

"18:00"

]
Response
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" } ]

Events

Special events hosted by the museum.

Operations

Tickets

Museum tickets for general entrance or special events.

Operations