Creates a new special event for the museum.
Security
MuseumPlaceholderAuth
Location where the special event is held.
Example:"Computer Room"
Description of the special event.
Example:"Captain Blackbeard shares his love of the C...language. And possibly Arrrrr (R lang)."
List of planned dates for the special event.
Example:
[ "2023-10-29" ]
- Mock serverhttps://redocly.com/_mock/demo/openapi/museum-api/special-events
- https://api.fake-museum-example.com/v1.1https://api.fake-museum-example.com/v1.1/special-events
curl -i -X POST \
-u '<username>:<password>' \
https://redocly.com/_mock/demo/openapi/museum-api/special-events \
-H 'Content-Type: application/json' \
-d '{
"name": "Mermaid Treasure Identification and Analysis",
"location": "Under the seaaa 🦀 🎶 🌊.",
"eventDescription": "Join us as we review and classify a rare collection of 20 thingamabobs, gadgets, gizmos, whoosits, and whatsits, kindly donated by Ariel.",
"dates": [
"2023-09-05",
"2023-09-08"
],
"price": 0
}'Created.
Identifier for a special event.
Example:"3be6453c-03eb-4357-ae5a-984a0e574a54"
Location where the special event is held.
Example:"Computer Room"
Description of the special event.
Example:"Captain Blackbeard shares his love of the C...language. And possibly Arrrrr (R lang)."
List of planned dates for the special event.
Example:
[ "2023-10-29" ]
Response
{ "eventId": "dad4bce8-f5cb-4078-a211-995864315e39", "name": "Mermaid Treasure Identification and Analysis", "location": "Under the seaaa 🦀 🎶 🌊.", "eventDescription": "Join us as we review and classify a rare collection of 20 thingamabobs, gadgets, gizmos, whoosits, and whatsits, kindly donated by Ariel.", "dates": [ "2023-09-05", "2023-09-08" ], "price": 30 }