{"items":[{"type":"link","label":"Redocly Museum API","link":"/catalog/api-showdown/museum/v2/openapi","routeSlug":"/catalog/api-showdown/museum/v2/openapi","content":{"contentType":"overview","meta":{"name":"Redocly Museum API"},"children":[{"nodeType":"container","panels":[{"title":"Download OpenAPI description","titleTranslationKey":"download.description.title","children":[{"kind":"download","label":"openapi.json","url":"/_bundle/catalog/api-showdown/museum/@v2/openapi.json?download"},{"kind":"download","label":"openapi.yaml","url":"/_bundle/catalog/api-showdown/museum/@v2/openapi.yaml?download"}]},{"title":"Overview","titleTranslationKey":"info.title","children":[{"kind":"externallink","title":"URL","titleTranslationKey":"info.contact.url","label":"https://redocly.com/docs/cli/","url":"https://redocly.com/docs/cli/"},{"kind":"email","title":"E-mail","titleTranslationKey":"info.contact.name","email":"team@redocly.com","label":"team@redocly.com","withCopyButton":true,"copyContent":"team@redocly.com"},{"kind":"externallink","title":"License","titleTranslationKey":"info.license","label":"MIT","url":"https://opensource.org/license/mit/"},{"kind":"externallink","label":"Terms of Service","labelTranslationKey":"info.termsOfService","url":"https://redocly.com/subscription-agreement/"}]},{"title":"Languages","titleTranslationKey":"languages.title","children":[{"kind":"languages","options":[{"key":"curl","title":"curl","lang":"curl"},{"key":"javascript","title":"JavaScript","lang":"JavaScript"},{"key":"node","title":"Node.js","lang":"Node.js"},{"key":"python","title":"Python","lang":"Python"},{"key":"java","title":"Java","lang":"Java"},{"key":"csharp","title":"C#","lang":"C#"},{"key":"php","title":"PHP","lang":"PHP"},{"key":"go","title":"Go","lang":"Go"},{"key":"ruby","title":"Ruby","lang":"Ruby"},{"key":"r","title":"R","lang":"R"},{"key":"payload","title":"Payload","lang":"Payload"}]}]},{"title":"Servers","titleTranslationKey":"servers.title","children":[{"kind":"servers","servers":[{"url":"/_mock/catalog/api-showdown/museum/v2/openapi","description":"Mock server","isMockServer":true},{"url":"https://api.fake-museum-example.com/v1.1"}],"mode":"default"}]}],"children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"header","level":1,"label":"Redocly Museum API (2.0.0)","showPageActions":true},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":"Imaginary, but delightful Museum API for interacting with museum services and information. Built with love by Redocly."}],"sectionId":"/catalog/api-showdown/museum/v2/openapi"}],"sectionId":"/catalog/api-showdown/museum/v2/openapi"}]}]}},{"type":"group","label":"Operations","link":"/catalog/api-showdown/museum/v2/openapi/operations","routeSlug":"/catalog/api-showdown/museum/v2/openapi/operations","items":[{"label":"Get museum hours","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/catalog/api-showdown/museum/v2/openapi/operations/getmuseumhours","routeSlug":"/catalog/api-showdown/museum/v2/openapi/operations/getmuseumhours","metadata":{"seo":{"title":"Get museum hours","description":"Get upcoming museum operating hours."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getMuseumHours","name":"Get museum hours","isWebhook":false,"pointer":"/paths/~1museum-hours/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get museum hours","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Get upcoming museum operating hours."},{"nodeType":"security","requirements":[{"schemes":[{"name":"MuseumPlaceholderAuth","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"startDate","in":"query","schemaId":"schema_144","description":"Starting date to retrieve future operating hours from. Defaults to today's date."},{"name":"page","in":"query","schemaId":"schema_145","description":"Page number to retrieve."},{"name":"limit","in":"query","schemaId":"schema_146","description":"Number of days per page."}],"pointer":"/paths/~1museum-hours/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/museum-hours","servers":[{"url":"/_mock/catalog/api-showdown/museum/v2/openapi","description":"Mock server","isMockServer":true},{"url":"https://api.fake-museum-example.com/v1.1"}],"parameters":{"path":[],"query":[{"name":"startDate","in":"query","example":"2023-02-23","schemaId":"schema_144"},{"name":"page","in":"query","example":2,"schemaId":"schema_145"},{"name":"limit","in":"query","example":15,"schemaId":"schema_146"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"MuseumPlaceholderAuth","type":"http","scheme":"basic"}],"scopes":[]}],"responseCodes":["200","400","404"],"pointer":"/museum-hours","href":"operations/getmuseumhours","openApiOperationId":"getMuseumHours","summary":"Get museum hours"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/catalog/api-showdown/museum/v2/openapi","description":"Mock server","isMockServer":true},{"url":"https://api.fake-museum-example.com/v1.1"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Success.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetMuseumHoursResponse","exampleIds":["paths/~1museum-hours/get/responses/200/content/application~1json/examples/default_example"]}},"schemaId":"components/schemas/GetMuseumHoursResponse","exampleIds":["paths/~1museum-hours/get/responses/200/content/application~1json/examples/default_example"]},{"code":"400","description":"Bad request.","mediaType":"application/problem+json","mediaTypes":["application/problem+json"],"mediaTypeContent":{"application/problem+json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"404","description":"Not found.","mediaType":"application/problem+json","mediaTypes":["application/problem+json"],"mediaTypeContent":{"application/problem+json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"}],"pointer":"/paths/~1museum-hours/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/GetMuseumHoursResponse","exampleIds":["paths/~1museum-hours/get/responses/200/content/application~1json/examples/default_example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetMuseumHoursResponse","exampleIds":["paths/~1museum-hours/get/responses/200/content/application~1json/examples/default_example"]}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/problem+json"],"mediaTypeContent":{"application/problem+json":{"schemaId":"components/schemas/Error"}}},{"code":"404","schemaId":"components/schemas/Error","mediaTypes":["application/problem+json"],"mediaTypeContent":{"application/problem+json":{"schemaId":"components/schemas/Error"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/operations/getmuseumhours"}],"panels":[]}]},"httpPath":"/museum-hours"}],"content":{"contentType":"group","meta":{"name":"Operations"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Operations","showPageActions":true},{"nodeType":"markdoc","content":"Operational information about the museum."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/museum-hours","summary":"Get museum hours","prefix":{"name":"get","color":"get"},"badges":[],"link":"/operations/getmuseumhours","deprecated":false}]}]}]}]}},{"type":"group","label":"Visitors","link":"/catalog/api-showdown/museum/v2/openapi/visitors","routeSlug":"/catalog/api-showdown/museum/v2/openapi/visitors","items":[{"label":"Get all visitors","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/catalog/api-showdown/museum/v2/openapi/visitors/getvisitors","routeSlug":"/catalog/api-showdown/museum/v2/openapi/visitors/getvisitors","metadata":{"seo":{"title":"Get all visitors","description":"Get all visitors"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getVisitors","name":"Get all visitors","isWebhook":false,"pointer":"/paths/~1visitors/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get all visitors","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Get all visitors"},{"nodeType":"security","requirements":[{"schemes":[{"name":"MuseumPlaceholderAuth","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"startDate","in":"query","schemaId":"schema_144","description":"Starting date to retrieve future operating hours from. Defaults to today's date."},{"name":"endDate","in":"query","schemaId":"schema_147","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"End of a date range to retrieve special events for. Defaults to 7 days after "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"startDate"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]},{"name":"page","in":"query","schemaId":"schema_145","description":"Page number to retrieve."},{"name":"limit","in":"query","schemaId":"schema_146","description":"Number of days per page."}],"pointer":"/paths/~1visitors/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/visitors","servers":[{"url":"/_mock/catalog/api-showdown/museum/v2/openapi","description":"Mock server","isMockServer":true},{"url":"https://api.fake-museum-example.com/v1.1"}],"parameters":{"path":[],"query":[{"name":"startDate","in":"query","example":"2023-02-23","schemaId":"schema_144"},{"name":"endDate","in":"query","example":"2023-04-18","schemaId":"schema_147"},{"name":"page","in":"query","example":2,"schemaId":"schema_145"},{"name":"limit","in":"query","example":15,"schemaId":"schema_146"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"MuseumPlaceholderAuth","type":"http","scheme":"basic"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/visitors","href":"visitors/getvisitors","openApiOperationId":"getVisitors","summary":"Get all visitors"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/catalog/api-showdown/museum/v2/openapi","description":"Mock server","isMockServer":true},{"url":"https://api.fake-museum-example.com/v1.1"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Success.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetVisitorsResponse"}},"schemaId":"components/schemas/GetVisitorsResponse"}],"pointer":"/paths/~1visitors/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/GetVisitorsResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetVisitorsResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/visitors/getvisitors"}],"panels":[]}]},"httpPath":"/visitors"}],"content":{"contentType":"group","meta":{"name":"Visitors"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Visitors","showPageActions":true},{"nodeType":"markdoc","content":"Information about visitors."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/visitors","summary":"Get all visitors","prefix":{"name":"get","color":"get"},"badges":[],"link":"/visitors/getvisitors","deprecated":false}]}]}]}]}},{"type":"group","label":"Events","link":"/catalog/api-showdown/museum/v2/openapi/events","routeSlug":"/catalog/api-showdown/museum/v2/openapi/events","items":[{"label":"List special events","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/catalog/api-showdown/museum/v2/openapi/events/listspecialevents","routeSlug":"/catalog/api-showdown/museum/v2/openapi/events/listspecialevents","metadata":{"seo":{"title":"List special events","description":"Return a list of upcoming special events at the museum."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"listSpecialEvents","name":"List special events","isWebhook":false,"pointer":"/paths/~1special-events/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"List special events","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Return a list of upcoming special events at the museum."},{"nodeType":"security","requirements":[{"schemes":[{"name":"MuseumPlaceholderAuth","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"startDate","in":"query","schemaId":"schema_144","description":"Starting date to retrieve future operating hours from. Defaults to today's date."},{"name":"endDate","in":"query","schemaId":"schema_147","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"End of a date range to retrieve special events for. Defaults to 7 days after "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"startDate"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]},{"name":"page","in":"query","schemaId":"schema_145","description":"Page number to retrieve."},{"name":"limit","in":"query","schemaId":"schema_146","description":"Number of days per page."}],"pointer":"/paths/~1special-events/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/special-events","servers":[{"url":"/_mock/catalog/api-showdown/museum/v2/openapi","description":"Mock server","isMockServer":true},{"url":"https://api.fake-museum-example.com/v1.1"}],"parameters":{"path":[],"query":[{"name":"startDate","in":"query","example":"2023-02-23","schemaId":"schema_144"},{"name":"endDate","in":"query","example":"2023-04-18","schemaId":"schema_147"},{"name":"page","in":"query","example":2,"schemaId":"schema_145"},{"name":"limit","in":"query","example":15,"schemaId":"schema_146"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"MuseumPlaceholderAuth","type":"http","scheme":"basic"}],"scopes":[]}],"responseCodes":["200","400","404"],"pointer":"/special-events","href":"events/listspecialevents","openApiOperationId":"listSpecialEvents","summary":"List special events"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/catalog/api-showdown/museum/v2/openapi","description":"Mock server","isMockServer":true},{"url":"https://api.fake-museum-example.com/v1.1"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Success.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ListSpecialEventsResponse","exampleIds":["paths/~1special-events/get/responses/200/content/application~1json/examples/default_example"]}},"schemaId":"components/schemas/ListSpecialEventsResponse","exampleIds":["paths/~1special-events/get/responses/200/content/application~1json/examples/default_example"]},{"code":"400","description":"Bad request.","mediaType":"application/problem+json","mediaTypes":["application/problem+json"],"mediaTypeContent":{"application/problem+json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"404","description":"Not found.","mediaType":"application/problem+json","mediaTypes":["application/problem+json"],"mediaTypeContent":{"application/problem+json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"}],"pointer":"/paths/~1special-events/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/ListSpecialEventsResponse","exampleIds":["paths/~1special-events/get/responses/200/content/application~1json/examples/default_example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ListSpecialEventsResponse","exampleIds":["paths/~1special-events/get/responses/200/content/application~1json/examples/default_example"]}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/problem+json"],"mediaTypeContent":{"application/problem+json":{"schemaId":"components/schemas/Error"}}},{"code":"404","schemaId":"components/schemas/Error","mediaTypes":["application/problem+json"],"mediaTypeContent":{"application/problem+json":{"schemaId":"components/schemas/Error"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/events/listspecialevents"}],"panels":[]}]},"httpPath":"/special-events"},{"label":"Get special event","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/catalog/api-showdown/museum/v2/openapi/events/getspecialevent","routeSlug":"/catalog/api-showdown/museum/v2/openapi/events/getspecialevent","metadata":{"seo":{"title":"Get special event","description":"Get details about a special event."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getSpecialEvent","name":"Get special event","isWebhook":false,"pointer":"/paths/~1special-events~1{eventId}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get special event","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Get details about a special event."},{"nodeType":"security","requirements":[{"schemes":[{"name":"MuseumPlaceholderAuth","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"eventId","in":"path","schemaId":"schema_148","description":"Identifier for a special event.","required":true}],"pointer":"/paths/~1special-events~1{eventId}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/special-events/{eventId}","servers":[{"url":"/_mock/catalog/api-showdown/museum/v2/openapi","description":"Mock server","isMockServer":true},{"url":"https://api.fake-museum-example.com/v1.1"}],"parameters":{"path":[{"name":"eventId","in":"path","required":true,"example":"dad4bce8-f5cb-4078-a211-995864315e39","schemaId":"schema_148"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"MuseumPlaceholderAuth","type":"http","scheme":"basic"}],"scopes":[]}],"responseCodes":["200","400","404"],"pointer":"/special-events/{eventId}","href":"events/getspecialevent","openApiOperationId":"getSpecialEvent","summary":"Get special event"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/catalog/api-showdown/museum/v2/openapi","description":"Mock server","isMockServer":true},{"url":"https://api.fake-museum-example.com/v1.1"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Success.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/SpecialEventResponse","exampleIds":["paths/~1special-events~1{eventId}/get/responses/200/content/application~1json/examples/default_example"]}},"schemaId":"components/schemas/SpecialEventResponse","exampleIds":["paths/~1special-events~1{eventId}/get/responses/200/content/application~1json/examples/default_example"]},{"code":"400","description":"Bad request.","mediaType":"application/problem+json","mediaTypes":["application/problem+json"],"mediaTypeContent":{"application/problem+json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"404","description":"Not found.","mediaType":"application/problem+json","mediaTypes":["application/problem+json"],"mediaTypeContent":{"application/problem+json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"}],"pointer":"/paths/~1special-events~1{eventId}/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/SpecialEventResponse","exampleIds":["paths/~1special-events~1{eventId}/get/responses/200/content/application~1json/examples/default_example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/SpecialEventResponse","exampleIds":["paths/~1special-events~1{eventId}/get/responses/200/content/application~1json/examples/default_example"]}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/problem+json"],"mediaTypeContent":{"application/problem+json":{"schemaId":"components/schemas/Error"}}},{"code":"404","schemaId":"components/schemas/Error","mediaTypes":["application/problem+json"],"mediaTypeContent":{"application/problem+json":{"schemaId":"components/schemas/Error"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/events/getspecialevent"}],"panels":[]}]},"httpPath":"/special-events/{eventId}"},{"label":"Update special event","deprecated":false,"httpVerb":"patch","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/catalog/api-showdown/museum/v2/openapi/events/updatespecialevent","routeSlug":"/catalog/api-showdown/museum/v2/openapi/events/updatespecialevent","metadata":{"seo":{"title":"Update special event","description":"Update the details of a special event."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"updateSpecialEvent","name":"Update special event","isWebhook":false,"pointer":"/paths/~1special-events~1{eventId}/patch","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Update special event","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Update the details of a special event."},{"nodeType":"security","requirements":[{"schemes":[{"name":"MuseumPlaceholderAuth","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"eventId","in":"path","schemaId":"schema_148","description":"Identifier for a special event.","required":true}],"pointer":"/paths/~1special-events~1{eventId}/patch/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/UpdateSpecialEventRequest","exampleIds":["paths/~1special-events~1{eventId}/patch/requestBody/content/application~1json/examples/default_example"]}},"schemaId":"components/schemas/UpdateSpecialEventRequest","exampleIds":["paths/~1special-events~1{eventId}/patch/requestBody/content/application~1json/examples/default_example"],"pointer":"/paths/~1special-events~1{eventId}/patch/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PATCH","path":"/special-events/{eventId}","servers":[{"url":"/_mock/catalog/api-showdown/museum/v2/openapi","description":"Mock server","isMockServer":true},{"url":"https://api.fake-museum-example.com/v1.1"}],"parameters":{"path":[{"name":"eventId","in":"path","required":true,"example":"dad4bce8-f5cb-4078-a211-995864315e39","schemaId":"schema_148"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"MuseumPlaceholderAuth","type":"http","scheme":"basic"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/UpdateSpecialEventRequest","exampleIds":["paths/~1special-events~1{eventId}/patch/requestBody/content/application~1json/examples/default_example"]}},"responseCodes":["200","400","404"],"pointer":"/special-events/{eventId}","href":"events/updatespecialevent","openApiOperationId":"updateSpecialEvent","summary":"Update special event"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/catalog/api-showdown/museum/v2/openapi","description":"Mock server","isMockServer":true},{"url":"https://api.fake-museum-example.com/v1.1"}],"schemaId":"components/schemas/UpdateSpecialEventRequest","exampleIds":["paths/~1special-events~1{eventId}/patch/requestBody/content/application~1json/examples/default_example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/UpdateSpecialEventRequest","exampleIds":["paths/~1special-events~1{eventId}/patch/requestBody/content/application~1json/examples/default_example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Success.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/SpecialEventResponse","exampleIds":["paths/~1special-events~1{eventId}/patch/responses/200/content/application~1json/examples/default_example"]}},"schemaId":"components/schemas/SpecialEventResponse","exampleIds":["paths/~1special-events~1{eventId}/patch/responses/200/content/application~1json/examples/default_example"]},{"code":"400","description":"Bad request.","mediaType":"application/problem+json","mediaTypes":["application/problem+json"],"mediaTypeContent":{"application/problem+json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"404","description":"Not found.","mediaType":"application/problem+json","mediaTypes":["application/problem+json"],"mediaTypeContent":{"application/problem+json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"}],"pointer":"/paths/~1special-events~1{eventId}/patch/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/SpecialEventResponse","exampleIds":["paths/~1special-events~1{eventId}/patch/responses/200/content/application~1json/examples/default_example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/SpecialEventResponse","exampleIds":["paths/~1special-events~1{eventId}/patch/responses/200/content/application~1json/examples/default_example"]}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/problem+json"],"mediaTypeContent":{"application/problem+json":{"schemaId":"components/schemas/Error"}}},{"code":"404","schemaId":"components/schemas/Error","mediaTypes":["application/problem+json"],"mediaTypeContent":{"application/problem+json":{"schemaId":"components/schemas/Error"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/events/updatespecialevent"}],"panels":[]}]},"httpPath":"/special-events/{eventId}"}],"content":{"contentType":"group","meta":{"name":"Events"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Events","showPageActions":true},{"nodeType":"markdoc","content":"Special events hosted by the museum."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/special-events","summary":"List special events","prefix":{"name":"get","color":"get"},"badges":[],"link":"/events/listspecialevents","deprecated":false},{"title":"/special-events/{eventId}","summary":"Get special event","prefix":{"name":"get","color":"get"},"badges":[],"link":"/events/getspecialevent","deprecated":false},{"title":"/special-events/{eventId}","summary":"Update special event","prefix":{"name":"patch","color":"patch"},"badges":[],"link":"/events/updatespecialevent","deprecated":false}]}]}]}]}},{"type":"group","label":"Tickets","link":"/catalog/api-showdown/museum/v2/openapi/tickets","routeSlug":"/catalog/api-showdown/museum/v2/openapi/tickets","items":[{"label":"Buy museum tickets","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/catalog/api-showdown/museum/v2/openapi/tickets/buymuseumtickets","routeSlug":"/catalog/api-showdown/museum/v2/openapi/tickets/buymuseumtickets","metadata":{"seo":{"title":"Buy museum tickets","description":"Purchase museum tickets for general entry or special events."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"buyMuseumTickets","name":"Buy museum tickets","isWebhook":false,"pointer":"/paths/~1tickets/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Buy museum tickets","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Purchase museum tickets for general entry or special events."},{"nodeType":"security","requirements":[{"schemes":[{"name":"MuseumPlaceholderAuth","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/BuyMuseumTicketsRequest","exampleIds":["paths/~1tickets/post/requestBody/content/application~1json/examples/general_entry","paths/~1tickets/post/requestBody/content/application~1json/examples/event_entry"]}},"schemaId":"components/schemas/BuyMuseumTicketsRequest","exampleIds":["paths/~1tickets/post/requestBody/content/application~1json/examples/general_entry","paths/~1tickets/post/requestBody/content/application~1json/examples/event_entry"],"pointer":"/paths/~1tickets/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/tickets","servers":[{"url":"/_mock/catalog/api-showdown/museum/v2/openapi","description":"Mock server","isMockServer":true},{"url":"https://api.fake-museum-example.com/v1.1"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"MuseumPlaceholderAuth","type":"http","scheme":"basic"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/BuyMuseumTicketsRequest","exampleIds":["paths/~1tickets/post/requestBody/content/application~1json/examples/general_entry","paths/~1tickets/post/requestBody/content/application~1json/examples/event_entry"]}},"responseCodes":["200","400","404"],"pointer":"/tickets","href":"tickets/buymuseumtickets","openApiOperationId":"buyMuseumTickets","summary":"Buy museum tickets"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/catalog/api-showdown/museum/v2/openapi","description":"Mock server","isMockServer":true},{"url":"https://api.fake-museum-example.com/v1.1"}],"schemaId":"components/schemas/BuyMuseumTicketsRequest","exampleIds":["paths/~1tickets/post/requestBody/content/application~1json/examples/general_entry","paths/~1tickets/post/requestBody/content/application~1json/examples/event_entry"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/BuyMuseumTicketsRequest","exampleIds":["paths/~1tickets/post/requestBody/content/application~1json/examples/general_entry","paths/~1tickets/post/requestBody/content/application~1json/examples/event_entry"]}},"examples":[{},{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Success.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/BuyMuseumTicketsResponse","exampleIds":["paths/~1tickets/post/responses/200/content/application~1json/examples/general_entry","paths/~1tickets/post/responses/200/content/application~1json/examples/event_entry"]}},"schemaId":"components/schemas/BuyMuseumTicketsResponse","exampleIds":["paths/~1tickets/post/responses/200/content/application~1json/examples/general_entry","paths/~1tickets/post/responses/200/content/application~1json/examples/event_entry"]},{"code":"400","description":"Bad request.","mediaType":"application/problem+json","mediaTypes":["application/problem+json"],"mediaTypeContent":{"application/problem+json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"404","description":"Not found.","mediaType":"application/problem+json","mediaTypes":["application/problem+json"],"mediaTypeContent":{"application/problem+json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"}],"pointer":"/paths/~1tickets/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/BuyMuseumTicketsResponse","exampleIds":["paths/~1tickets/post/responses/200/content/application~1json/examples/general_entry","paths/~1tickets/post/responses/200/content/application~1json/examples/event_entry"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/BuyMuseumTicketsResponse","exampleIds":["paths/~1tickets/post/responses/200/content/application~1json/examples/general_entry","paths/~1tickets/post/responses/200/content/application~1json/examples/event_entry"]}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/problem+json"],"mediaTypeContent":{"application/problem+json":{"schemaId":"components/schemas/Error"}}},{"code":"404","schemaId":"components/schemas/Error","mediaTypes":["application/problem+json"],"mediaTypeContent":{"application/problem+json":{"schemaId":"components/schemas/Error"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/tickets/buymuseumtickets"}],"panels":[]}]},"httpPath":"/tickets"},{"label":"Get pkpass for a ticket","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/catalog/api-showdown/museum/v2/openapi/tickets/getpkpass","routeSlug":"/catalog/api-showdown/museum/v2/openapi/tickets/getpkpass","metadata":{"seo":{"title":"Get pkpass for a ticket","description":"Return an pkpass for your ticket. Can be added to your wallet app and used for event entry."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getPkpass","name":"Get pkpass for a ticket","isWebhook":false,"pointer":"/paths/~1tickets~1{ticketId}~1pkpass/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get pkpass for a ticket","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Return an pkpass for your ticket. Can be added to your wallet app and used for event entry."},{"nodeType":"security","requirements":[{"schemes":[{"name":"MuseumPlaceholderAuth","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"ticketId","in":"path","schemaId":"schema_149","description":"Identifier for a ticket to a museum event. Used to generate ticket image.","required":true}],"pointer":"/paths/~1tickets~1{ticketId}~1pkpass/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/tickets/{ticketId}/pkpass","servers":[{"url":"/_mock/catalog/api-showdown/museum/v2/openapi","description":"Mock server","isMockServer":true},{"url":"https://api.fake-museum-example.com/v1.1"}],"parameters":{"path":[{"name":"ticketId","in":"path","required":true,"example":"a54a57ca-36f8-421b-a6b4-2e8f26858a4c","schemaId":"schema_149"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"MuseumPlaceholderAuth","type":"http","scheme":"basic"}],"scopes":[]}],"responseCodes":["200","400","404"],"pointer":"/tickets/{ticketId}/pkpass","href":"tickets/getpkpass","openApiOperationId":"getPkpass","summary":"Get pkpass for a ticket"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/catalog/api-showdown/museum/v2/openapi","description":"Mock server","isMockServer":true},{"url":"https://api.fake-museum-example.com/v1.1"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Pkpass for a ticket.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetPkpassResponse"}},"schemaId":"components/schemas/GetPkpassResponse"},{"code":"400","description":"Bad request.","mediaType":"application/problem+json","mediaTypes":["application/problem+json"],"mediaTypeContent":{"application/problem+json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"404","description":"Not found.","mediaType":"application/problem+json","mediaTypes":["application/problem+json"],"mediaTypeContent":{"application/problem+json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"}],"pointer":"/paths/~1tickets~1{ticketId}~1pkpass/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/GetPkpassResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetPkpassResponse"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/problem+json"],"mediaTypeContent":{"application/problem+json":{"schemaId":"components/schemas/Error"}}},{"code":"404","schemaId":"components/schemas/Error","mediaTypes":["application/problem+json"],"mediaTypeContent":{"application/problem+json":{"schemaId":"components/schemas/Error"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/tickets/getpkpass"}],"panels":[]}]},"httpPath":"/tickets/{ticketId}/pkpass"}],"content":{"contentType":"group","meta":{"name":"Tickets"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Tickets","showPageActions":true},{"nodeType":"markdoc","content":"Museum tickets for general entrance or special events."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/tickets","summary":"Buy museum tickets","prefix":{"name":"post","color":"post"},"badges":[],"link":"/tickets/buymuseumtickets","deprecated":false},{"title":"/tickets/{ticketId}/pkpass","summary":"Get pkpass for a ticket","prefix":{"name":"get","color":"get"},"badges":[],"link":"/tickets/getpkpass","deprecated":false}]}]}]}]}}],"store":{"schemaStore":{"components/schemas/TicketType":{"id":"components/schemas/TicketType","kind":"json-schema","title":"TicketType","data":{"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Type of ticket being purchased. Use "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"general"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" for regular museum entry and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"event"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" for tickets to special events."},"children":[]}]}]}],"type":"string","enum":["event","general"],"example":"event"}},"components/schemas/Date":{"id":"components/schemas/Date","kind":"json-schema","title":"Date","data":{"type":"string","format":"date","example":"2023-10-29"}},"components/schemas/Email":{"id":"components/schemas/Email","kind":"json-schema","title":"Email","data":{"description":"Email address for ticket purchaser.","type":"string","format":"email","example":"museum-lover@example.com"}},"components/schemas/Phone":{"id":"components/schemas/Phone","kind":"json-schema","title":"Phone","data":{"description":"Phone number for the ticket purchaser (optional).","type":"string","example":"+1(234)-567-8910"}},"components/schemas/BuyMuseumTicketsRequest":{"id":"components/schemas/BuyMuseumTicketsRequest","kind":"json-schema","title":"BuyMuseumTicketsRequest","data":{"description":"Request payload used for purchasing museum tickets.","type":"object","properties":{"ticketType":{"$ref":"#/components/schemas/TicketType"},"eventId":{"description":"Unique identifier for a special event. Required if purchasing tickets for the museum's special events.","$ref":"#/components/schemas/EventId"},"ticketDate":{"description":"Date that the ticket is valid for.","$ref":"#/components/schemas/Date"},"email":{"$ref":"#/components/schemas/Email"},"phone":{"$ref":"#/components/schemas/Phone"}},"required":["ticketType","ticketDate","email"]}},"components/schemas/TicketMessage":{"id":"components/schemas/TicketMessage","kind":"json-schema","title":"TicketMessage","data":{"description":"Confirmation message after a ticket purchase.","type":"string","example":"Museum general entry ticket purchased"}},"components/schemas/TicketId":{"id":"components/schemas/TicketId","kind":"json-schema","title":"TicketId","data":{"description":"Unique identifier for museum ticket. Generated when purchased.","type":"string","format":"uuid","example":"a54a57ca-36f8-421b-a6b4-2e8f26858a4c"}},"components/schemas/TicketConfirmation":{"id":"components/schemas/TicketConfirmation","kind":"json-schema","title":"TicketConfirmation","data":{"description":"Unique confirmation code used to verify ticket purchase.","type":"string","example":"ticket-event-a98c8f-7eb12"}},"components/schemas/BuyMuseumTicketsResponse":{"id":"components/schemas/BuyMuseumTicketsResponse","kind":"json-schema","title":"BuyMuseumTicketsResponse","data":{"description":"Details for a museum ticket after a successful purchase.","type":"object","properties":{"message":{"$ref":"#/components/schemas/TicketMessage"},"eventName":{"$ref":"#/components/schemas/EventName"},"ticketId":{"$ref":"#/components/schemas/TicketId"},"ticketType":{"$ref":"#/components/schemas/TicketType"},"ticketDate":{"description":"Date the ticket is valid for.","$ref":"#/components/schemas/Date"},"confirmationCode":{"$ref":"#/components/schemas/TicketConfirmation"}},"required":["message","ticketId","ticketType","ticketDate","confirmationCode"]}},"components/schemas/GetPkpassResponse":{"id":"components/schemas/GetPkpassResponse","kind":"json-schema","title":"GetPkpassResponse","data":{"description":"Pkpass used to add ticket to a wallet app.","type":"object","properties":{"eventName":{"$ref":"#/components/schemas/EventName"},"eventDate":{"$ref":"#/components/schemas/Date"},"ticketId":{"$ref":"#/components/schemas/TicketId"}}}},"components/schemas/GetMuseumHoursResponse":{"id":"components/schemas/GetMuseumHoursResponse","kind":"json-schema","title":"GetMuseumHoursResponse","data":{"description":"List of museum operating hours for consecutive days.","type":"array","items":{"$ref":"#/components/schemas/MuseumDailyHours"}}},"components/schemas/GetVisitorsResponse":{"id":"components/schemas/GetVisitorsResponse","kind":"json-schema","title":"GetVisitorsResponse","data":{"description":"List of museum visitors.","type":"array","items":{"$ref":"#/components/schemas/Visitor"}}},"components/schemas/Visitor":{"id":"components/schemas/Visitor","kind":"json-schema","title":"Visitor","data":{"description":"Person who visit museum at least once.","type":"object","properties":{"email":{"description":"Email of the visitor","type":"string","example":"john.doe@innovario.com"},"firstName":{"description":"First name of visitor","type":"string","example":"John"},"lastName":{"description":"Last name of visitor","type":"string","example":"Doe"}},"required":["email","firstName","lastName"]}},"components/schemas/MuseumDailyHours":{"id":"components/schemas/MuseumDailyHours","kind":"json-schema","title":"MuseumDailyHours","data":{"description":"Daily operating hours for the museum.","type":"object","properties":{"date":{"description":"Date the operating hours apply to.","$ref":"#/components/schemas/Date","example":"2024-12-31"},"timeOpen":{"type":"string","pattern":"^([01]\\d|2[0-3]):?([0-5]\\d)$","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Time the museum opens on a specific date. Uses 24 hour time format ("},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"HH:mm"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":")."},"children":[]}]}]}],"example":"09:00"},"timeClose":{"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Time the museum closes on a specific date. Uses 24 hour time format ("},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"HH:mm"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":")."},"children":[]}]}]}],"type":"string","pattern":"^([01]\\d|2[0-3]):?([0-5]\\d)$","example":"18:00"}},"required":["date","timeOpen","timeClose"]}},"components/schemas/EventId":{"id":"components/schemas/EventId","kind":"json-schema","title":"EventId","data":{"description":"Identifier for a special event.","type":"string","format":"uuid","example":"3be6453c-03eb-4357-ae5a-984a0e574a54"}},"components/schemas/EventName":{"id":"components/schemas/EventName","kind":"json-schema","title":"EventName","data":{"type":"string","description":"Name of the special event.","example":"Pirate Coding Workshop"}},"components/schemas/EventLocation":{"id":"components/schemas/EventLocation","kind":"json-schema","title":"EventLocation","data":{"type":"string","description":"Location where the special event is held.","example":"Computer Room"}},"components/schemas/EventDescription":{"id":"components/schemas/EventDescription","kind":"json-schema","title":"EventDescription","data":{"type":"string","description":"Description of the special event.","example":"Captain Blackbeard shares his love of the C...language. And possibly Arrrrr (R lang)."}},"components/schemas/EventDates":{"id":"components/schemas/EventDates","kind":"json-schema","title":"EventDates","data":{"type":"array","items":{"$ref":"#/components/schemas/Date"},"description":"List of planned dates for the special event."}},"components/schemas/EventPrice":{"id":"components/schemas/EventPrice","kind":"json-schema","title":"EventPrice","data":{"description":"Price of a ticket for the special event.","type":"number","format":"float","example":25}},"components/schemas/UpdateSpecialEventRequest":{"id":"components/schemas/UpdateSpecialEventRequest","kind":"json-schema","title":"UpdateSpecialEventRequest","data":{"description":"Request payload for updating an existing special event. Only included fields are updated in the event.","type":"object","properties":{"name":{"$ref":"#/components/schemas/EventName"},"location":{"$ref":"#/components/schemas/EventLocation"},"eventDescription":{"$ref":"#/components/schemas/EventDescription"},"dates":{"$ref":"#/components/schemas/EventDates"},"price":{"$ref":"#/components/schemas/EventPrice"}}}},"components/schemas/ListSpecialEventsResponse":{"id":"components/schemas/ListSpecialEventsResponse","kind":"json-schema","title":"ListSpecialEventsResponse","data":{"description":"List of upcoming special events.","type":"array","items":{"$ref":"#/components/schemas/SpecialEventResponse"}}},"components/schemas/SpecialEventResponse":{"id":"components/schemas/SpecialEventResponse","kind":"json-schema","title":"SpecialEventResponse","data":{"description":"Information about a special event.","type":"object","properties":{"eventId":{"$ref":"#/components/schemas/EventId"},"name":{"$ref":"#/components/schemas/EventName"},"location":{"$ref":"#/components/schemas/EventLocation"},"eventDescription":{"$ref":"#/components/schemas/EventDescription"},"dates":{"$ref":"#/components/schemas/EventDates"},"price":{"$ref":"#/components/schemas/EventPrice"}},"required":["eventId","name","location","eventDescription","dates","price"]}},"components/schemas/Error":{"id":"components/schemas/Error","kind":"json-schema","title":"Error","data":{"type":"object","properties":{"type":{"type":"string","example":"object"},"title":{"type":"string","example":"Validation failed"}}}},"schema_144":{"kind":"json-schema","data":{"type":"string","format":"date","example":"2023-02-23"},"id":"schema_144"},"schema_145":{"kind":"json-schema","data":{"type":"integer","default":1,"example":2},"id":"schema_145"},"schema_146":{"kind":"json-schema","data":{"type":"integer","default":10,"maximum":30,"example":15},"id":"schema_146"},"schema_147":{"kind":"json-schema","data":{"type":"string","format":"date","example":"2023-04-18"},"id":"schema_147"},"schema_148":{"kind":"json-schema","data":{"type":"string","format":"uuid","example":"dad4bce8-f5cb-4078-a211-995864315e39"},"id":"schema_148"},"schema_149":{"kind":"json-schema","data":{"type":"string","format":"uuid","example":"a54a57ca-36f8-421b-a6b4-2e8f26858a4c"},"id":"schema_149"}},"exampleStore":{"components/examples/BuyGeneralTicketsRequestExample":{"id":"components/examples/BuyGeneralTicketsRequestExample","value":{"ticketType":"general","ticketDate":"2023-09-07","email":"todd@example.com"},"summary":"General entry ticket"},"components/examples/BuyEventTicketsRequestExample":{"id":"components/examples/BuyEventTicketsRequestExample","value":{"ticketType":"general","eventId":"dad4bce8-f5cb-4078-a211-995864315e39","ticketDate":"2023-09-05","email":"todd@example.com"},"summary":"Special event ticket"},"components/examples/BuyGeneralTicketsResponseExample":{"id":"components/examples/BuyGeneralTicketsResponseExample","value":{"message":"Museum general entry ticket purchased","ticketId":"382c0820-0530-4f4b-99af-13811ad0f17a","ticketType":"general","ticketDate":"2023-09-07","confirmationCode":"ticket-general-e5e5c6-dce78"},"summary":"General entry ticket"},"components/examples/BuyEventTicketsResponseExample":{"id":"components/examples/BuyEventTicketsResponseExample","value":{"message":"Museum special event ticket purchased","ticketId":"b811f723-17b2-44f7-8952-24b03e43d8a9","eventName":"Mermaid Treasure Identification and Analysis","ticketType":"event","ticketDate":"2023-09-05","confirmationCode":"ticket-event-9c55eg-8v82a"},"summary":"Special event ticket"},"components/examples/CreateSpecialEventRequestExample":{"id":"components/examples/CreateSpecialEventRequestExample","value":{"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},"summary":"Create special event"},"components/examples/CreateSpecialEventResponseExample":{"id":"components/examples/CreateSpecialEventResponseExample","value":{"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},"summary":"Special event created"},"components/examples/GetSpecialEventResponseExample":{"id":"components/examples/GetSpecialEventResponseExample","value":{"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},"summary":"Get special event"},"components/examples/ListSpecialEventsResponseExample":{"id":"components/examples/ListSpecialEventsResponseExample","value":[{"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":["2023-12-15","2023-12-22"],"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":["2023-09-07","2023-09-14"],"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":["2023-11-10","2023-11-17","2023-11-24"],"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":["2023-09-12","2023-09-15"],"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":["2023-09-05","2023-09-08"],"price":30},{"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},{"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":["2023-10-29","2023-10-30","2023-10-31"],"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":["2023-10-29","2023-10-30","2023-10-31"],"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":["2023-11-03","2023-11-10"],"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":["2023-11-10","2023-11-17","2023-11-24"],"price":5}],"summary":"List of special events"},"components/examples/UpdateSpecialEventRequestExample":{"id":"components/examples/UpdateSpecialEventRequestExample","value":{"location":"On the beach.","price":15},"summary":"Update special event request"},"components/examples/UpdateSpecialEventResponseExample":{"id":"components/examples/UpdateSpecialEventResponseExample","value":{"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},"summary":"Update special event"},"components/examples/GetMuseumHoursResponseExample":{"id":"components/examples/GetMuseumHoursResponseExample","value":[{"date":"2023-09-11","timeOpen":"09:00","timeClose":"18:00"},{"date":"2023-09-12","timeOpen":"09:00","timeClose":"18:00"},{"date":"2023-09-13","timeOpen":"09:00","timeClose":"18:00"},{"date":"2023-09-14","timeOpen":"09:00","timeClose":"18:00"},{"date":"2023-09-15","timeOpen":"10:00","timeClose":"16:00"},{"date":"2023-09-18","timeOpen":"09:00","timeClose":"18:00"},{"date":"2023-09-19","timeOpen":"09:00","timeClose":"18:00"},{"date":"2023-09-20","timeOpen":"09:00","timeClose":"18:00"},{"date":"2023-09-21","timeOpen":"09:00","timeClose":"18:00"},{"date":"2023-09-22","timeOpen":"10:00","timeClose":"16:00"}],"summary":"Get hours response"},"paths/~1museum-hours/get/responses/200/content/application~1json/examples/default_example":{"value":[{"date":"2023-09-11","timeOpen":"09:00","timeClose":"18:00"},{"date":"2023-09-12","timeOpen":"09:00","timeClose":"18:00"},{"date":"2023-09-13","timeOpen":"09:00","timeClose":"18:00"},{"date":"2023-09-14","timeOpen":"09:00","timeClose":"18:00"},{"date":"2023-09-15","timeOpen":"10:00","timeClose":"16:00"},{"date":"2023-09-18","timeOpen":"09:00","timeClose":"18:00"},{"date":"2023-09-19","timeOpen":"09:00","timeClose":"18:00"},{"date":"2023-09-20","timeOpen":"09:00","timeClose":"18:00"},{"date":"2023-09-21","timeOpen":"09:00","timeClose":"18:00"},{"date":"2023-09-22","timeOpen":"10:00","timeClose":"16:00"}],"key":"default_example","summary":"Get hours response","id":"paths/~1museum-hours/get/responses/200/content/application~1json/examples/default_example"},"paths/~1special-events/get/responses/200/content/application~1json/examples/default_example":{"value":[{"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":["2023-12-15","2023-12-22"],"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":["2023-09-07","2023-09-14"],"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":["2023-11-10","2023-11-17","2023-11-24"],"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":["2023-09-12","2023-09-15"],"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":["2023-09-05","2023-09-08"],"price":30},{"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},{"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":["2023-10-29","2023-10-30","2023-10-31"],"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":["2023-10-29","2023-10-30","2023-10-31"],"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":["2023-11-03","2023-11-10"],"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":["2023-11-10","2023-11-17","2023-11-24"],"price":5}],"key":"default_example","summary":"List of special events","id":"paths/~1special-events/get/responses/200/content/application~1json/examples/default_example"},"paths/~1special-events~1{eventId}/get/responses/200/content/application~1json/examples/default_example":{"value":{"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},"key":"default_example","summary":"Get special event","id":"paths/~1special-events~1{eventId}/get/responses/200/content/application~1json/examples/default_example"},"paths/~1special-events~1{eventId}/patch/requestBody/content/application~1json/examples/default_example":{"value":{"location":"On the beach.","price":15},"key":"default_example","summary":"Update special event request","id":"paths/~1special-events~1{eventId}/patch/requestBody/content/application~1json/examples/default_example"},"paths/~1special-events~1{eventId}/patch/responses/200/content/application~1json/examples/default_example":{"value":{"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},"key":"default_example","summary":"Update special event","id":"paths/~1special-events~1{eventId}/patch/responses/200/content/application~1json/examples/default_example"},"paths/~1tickets/post/requestBody/content/application~1json/examples/general_entry":{"value":{"ticketType":"general","ticketDate":"2023-09-07","email":"todd@example.com"},"key":"general_entry","summary":"General entry ticket","id":"paths/~1tickets/post/requestBody/content/application~1json/examples/general_entry"},"paths/~1tickets/post/requestBody/content/application~1json/examples/event_entry":{"value":{"ticketType":"general","eventId":"dad4bce8-f5cb-4078-a211-995864315e39","ticketDate":"2023-09-05","email":"todd@example.com"},"key":"event_entry","summary":"Special event ticket","id":"paths/~1tickets/post/requestBody/content/application~1json/examples/event_entry"},"paths/~1tickets/post/responses/200/content/application~1json/examples/general_entry":{"value":{"message":"Museum general entry ticket purchased","ticketId":"382c0820-0530-4f4b-99af-13811ad0f17a","ticketType":"general","ticketDate":"2023-09-07","confirmationCode":"ticket-general-e5e5c6-dce78"},"key":"general_entry","summary":"General entry ticket","id":"paths/~1tickets/post/responses/200/content/application~1json/examples/general_entry"},"paths/~1tickets/post/responses/200/content/application~1json/examples/event_entry":{"value":{"message":"Museum special event ticket purchased","ticketId":"b811f723-17b2-44f7-8952-24b03e43d8a9","eventName":"Mermaid Treasure Identification and Analysis","ticketType":"event","ticketDate":"2023-09-05","confirmationCode":"ticket-event-9c55eg-8v82a"},"key":"event_entry","summary":"Special event ticket","id":"paths/~1tickets/post/responses/200/content/application~1json/examples/event_entry"}},"securitySchemeStore":{"MuseumPlaceholderAuth":{"id":"MuseumPlaceholderAuth","type":"http","scheme":"basic"}},"servers":[{"url":"/_mock/catalog/api-showdown/museum/v2/openapi","isMockServer":true,"description":"Mock server"},{"url":"https://api.fake-museum-example.com/v1.1"}]},"options":{"hideSidebar":true,"mockServer":{"url":"/_mock/catalog/api-showdown/museum/v2/openapi","position":"first","description":"Mock server"},"disableRouter":true,"downloadUrls":[{"url":"/_bundle/catalog/api-showdown/museum/@v2/openapi.json?download"},{"url":"/_bundle/catalog/api-showdown/museum/@v2/openapi.yaml?download"}],"excludeFromSearch":false,"specType":"openapi","markdocOptions":{"tags":{},"nodes":{},"components":{}},"metadata":{"title":"Redocly Museum API","description":"Imaginary, but delightful Museum API for interacting with museum services and information. Built with love by Redocly."}},"baseSlug":"/catalog/api-showdown/museum/v2/openapi","routesMapping":{}}