Fumadocs

List special events

Return a list of upcoming special events at the museum.

Demo Only
GET
/special-events
/special-events

The Authorization access token

Authorization

Authorization
Required
Basic <token>

In: header

Query Parameters

startDatestring

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

Example: "2023-02-23"Format: "date"

endDatestring

The end of a date range to retrieve special events for. Defaults to 7 days after startDate.

Example: "2023-04-18"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 -X GET "https://redocly.com/_mock/docs/openapi/museum-api/special-events?startDate=2023-02-23&endDate=2023-04-18&page=2&limit=15"

A list of upcoming special events

[
  {
    "eventId": "3be6453c-03eb-4357-ae5a-984a0e574a54",
    "name": "Pirate Coding Workshop",
    "location": "Computer Room",
    "eventDescription": "Captain Blackbeard shares his love of the C...language. And possibly Arrrrr (R lang).",
    "dates": [
      "2023-10-29"
    ],
    "price": 25
  }
]