Skip to content

Get special event

Request

Get details about a special event.

Security
MuseumPlaceholderAuth
Path
eventIdstring, (uuid)required

Identifier for a special event.

Example:dad4bce8-f5cb-4078-a211-995864315e39
curl -i -X GET \
  -u '<username>:<password>' \
  https://redocly.com/_mock/demo/openapi/museum-api/special-events/dad4bce8-f5cb-4078-a211-995864315e39

Responses

Success.

Bodyapplication/json
eventIdstring, (uuid)(EventId)required

Identifier for a special event.

Example:"3be6453c-03eb-4357-ae5a-984a0e574a54"
namestring(EventName)required

Name of the special event.

Example:"Pirate Coding Workshop"
locationstring(EventLocation)required

Location where the special event is held.

Example:"Computer Room"
eventDescriptionstring(EventDescription)required

Description of the special event.

Example:"Captain Blackbeard shares his love of the C...language. And possibly Arrrrr (R lang)."
datesArray of strings, (date)(EventDates)required

List of planned dates for the special event.

Example:
[ "2023-10-29" ]
pricenumber, (float)(EventPrice)required

Price of a ticket for the special event.

Example:25
Response
{ "eventId": "6744a0da-4121-49cd-8479-f8cc20526495", "name": "Time Traveler Tea Party", "location": "Temporal Tearoom", "eventDescription": "Sip tea with important historical figures.", "dates": [ "2023-11-18", "2023-11-25", "2023-12-02" ], "price": 60 }