Update the details of a special event.
Security
MuseumPlaceholderAuth
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/{eventId}
- https://api.fake-museum-example.com/v1.1https://api.fake-museum-example.com/v1.1/special-events/{eventId}
curl -i -X PATCH \
-u '<username>:<password>' \
https://redocly.com/_mock/demo/openapi/museum-api/special-events/dad4bce8-f5cb-4078-a211-995864315e39 \
-H 'Content-Type: application/json' \
-d '{
"location": "On the beach.",
"price": 15
}'Success.
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": "On the beach.", "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": 15 }