Imaginary, but delightful Museum API for interacting with museum services and information. Built with love by Redocly.
- Create special events
List special events
Get special event
Update special event
Delete special event
Create special events
Redocly Museum API (1.1.1)
Download OpenAPI description
Overview
Languages
Servers
Mock server
https://my-safe-zone-series.redocly.app/_mock/openapi/
https://api.fake-museum-example.com/v1.1/
- Mock serverhttps://my-safe-zone-series.redocly.app/_mock/openapi/special-events
- https://api.fake-museum-example.com/v1.1/special-events
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
-u <username>:<password> \
https://my-safe-zone-series.redocly.app/_mock/openapi/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
}'Response
application/json
{ "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 }
- Mock serverhttps://my-safe-zone-series.redocly.app/_mock/openapi/special-events
- https://api.fake-museum-example.com/v1.1/special-events
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
-u <username>:<password> \
'https://my-safe-zone-series.redocly.app/_mock/openapi/special-events?startDate=2023-02-23&endDate=2023-04-18&page=2&limit=15'Response
application/json
[ { "eventId": "f3e0e76e-e4a8-466e-ab9c-ae36c15b8e97", "name": "Sasquatch Ballet", "location": "Seattle... probably", "eventDescription": "They're big, they're hairy, but they're also graceful. Come learn how the biggest feet can have the lightest touch.", "dates": [ … ], "price": 40 }, { "eventId": "2f14374a-9c65-4ee5-94b7-fba66d893483", "name": "Solar Telescope Demonstration", "location": "Far from the sun.", "eventDescription": "Look at the sun without going blind!", "dates": [ … ], "price": 50 }, { "eventId": "6aaa61ba-b2aa-4868-b803-603dbbf7bfdb", "name": "Cook like a Caveman", "location": "Fire Pit on East side", "eventDescription": "Learn to cook on an open flame.", "dates": [ … ], "price": 5 }, { "eventId": "602b75e1-5696-4ab8-8c7a-f9e13580f910", "name": "Underwater Basket Weaving", "location": "Rec Center Pool next door.", "eventDescription": "Learn to weave baskets underwater.", "dates": [ … ], "price": 15 }, { "eventId": "dad4bce8-f5cb-4078-a211-995864315e39", "name": "Mermaid Treasure Identification and Analysis", "location": "Room Sea-12", "eventDescription": "Join us as we review and classify a rare collection of 20 thingamabobs, gadgets, gizmos, whoosits, and whatsits — kindly donated by Ariel.", "dates": [ … ], "price": 30 }, { "eventId": "6744a0da-4121-49cd-8479-f8cc20526495", "name": "Time Traveler Tea Party", "location": "Temporal Tearoom", "eventDescription": "Sip tea with important historical figures.", "dates": [ … ], "price": 60 }, { "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": [ … ], "price": 45 }, { "eventId": "9d90d29a-2af5-4206-97d9-9ea9ceadcb78", "name": "Llama Street Art Through the Ages", "location": "Auditorium", "eventDescription": "Llama street art?! Alpaca my bags -- let's go!", "dates": [ … ], "price": 45 }, { "eventId": "a3c7b2c4-b5fb-4ef7-9322-00a919864957", "name": "The Great Parrot Debate", "location": "Outdoor Amphitheatre", "eventDescription": "See leading parrot minds discuss important geopolitical issues.", "dates": [ … ], "price": 35 }, { "eventId": "b92d46b7-4c5d-422b-87a5-287767e26f29", "name": "Eat a Bunch of Corn", "location": "Cafeteria", "eventDescription": "We accidentally bought too much corn. Please come eat it.", "dates": [ … ], "price": 5 } ]
- Mock serverhttps://my-safe-zone-series.redocly.app/_mock/openapi/special-events/{eventId}
- https://api.fake-museum-example.com/v1.1/special-events/{eventId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
-u <username>:<password> \
https://my-safe-zone-series.redocly.app/_mock/openapi/special-events/dad4bce8-f5cb-4078-a211-995864315e39Response
application/json
{ "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 }
- Mock serverhttps://my-safe-zone-series.redocly.app/_mock/openapi/special-events/{eventId}
- https://api.fake-museum-example.com/v1.1/special-events/{eventId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
-u <username>:<password> \
https://my-safe-zone-series.redocly.app/_mock/openapi/special-events/dad4bce8-f5cb-4078-a211-995864315e39 \
-H 'Content-Type: application/json' \
-d '{
"location": "On the beach.",
"price": 15
}'Response
application/json
{ "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 }
- Mock serverhttps://my-safe-zone-series.redocly.app/_mock/openapi/special-events/{eventId}
- https://api.fake-museum-example.com/v1.1/special-events/{eventId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
-u <username>:<password> \
https://my-safe-zone-series.redocly.app/_mock/openapi/special-events/dad4bce8-f5cb-4078-a211-995864315e39