Fumadocs

List special events

Return a list of upcoming special events at the museum.

GET
/special-events
Server
/special-events?startDate=2023-02-23&endDate=2023-04-18&page=2&limit=15

The Authorization access token

Authorization

Authorization
Required
Basic <token>

In: header

Query Parameters

startDatestring

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

Format: "date"

endDatestring

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

Format: "date"

pageinteger

Page number to retrieve.

Default: 1

limitinteger

Number of days per page.

Default: 10Maximum: 30
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" \
  -H "Authorization: Basic <token>"

Success.

[
  {
    "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
  }
]