Operational information about the museum.
Redocly Museum API (futuristic-tix)
Jacek&Roman were here also. Imaginary, but delightful Museum API for interacting with museum services and information. Built with love by Redocly.
https://phronesis-creativara.redocly.app/_mock/products/museum/museum-v2/
https://api.fake-museum-example.com/v2.0/
Type of ticket being purchased. Use general
for regular museum entry and event
for tickets to special events.
Unique identifier for a special event. Required if purchasing tickets for the museum's special events.
- Mock server
https://phronesis-creativara.redocly.app/_mock/products/museum/museum-v2/tickets
https://api.fake-museum-example.com/v2.0/tickets
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
-u <username>:<password> \
https://phronesis-creativara.redocly.app/_mock/products/museum/museum-v2/tickets \
-H 'Content-Type: application/json' \
-d '{
"ticketType": "general",
"ticketDate": "2023-09-07",
"email": "todd@example.com"
}'
{ "message": "Museum general entry ticket purchased", "ticketId": "382c0820-0530-4f4b-99af-13811ad0f17a", "ticketType": "general", "ticketDate": "2023-09-07", "confirmationCode": "ticket-general-e5e5c6-dce78" }
- Mock server
https://phronesis-creativara.redocly.app/_mock/products/museum/museum-v2/tickets/{ticketId}/pkpass
https://api.fake-museum-example.com/v2.0/tickets/{ticketId}/pkpass
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
-u <username>:<password> \
'https://phronesis-creativara.redocly.app/_mock/products/museum/museum-v2/tickets/{ticketId}/pkpass'
{ "Date": "2023-10-29", "eventName": "Pirate Coding Workshop", "ticketId": "a54a57ca-36f8-421b-a6b4-2e8f26858a4c" }