{"openapi":"3.1.0","info":{"title":"Alpglow","version":"0.1.0"},"paths":{"/api/auth/google/start":{"get":{"summary":"Google Start","operationId":"google_start_api_auth_google_start_get","parameters":[{"name":"next","in":"query","required":false,"schema":{"type":"string","default":"/","title":"Next"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/google/callback":{"get":{"summary":"Google Callback","operationId":"google_callback_api_auth_google_callback_get","parameters":[{"name":"code","in":"query","required":false,"schema":{"type":"string","default":"","title":"Code"}},{"name":"state","in":"query","required":false,"schema":{"type":"string","default":"","title":"State"}},{"name":"error","in":"query","required":false,"schema":{"type":"string","default":"","title":"Error"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/logout":{"post":{"summary":"Logout","operationId":"logout_api_auth_logout_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/me":{"get":{"summary":"Me","operationId":"me_api_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/me/data":{"put":{"summary":"Save Data","operationId":"save_data_api_me_data_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserData"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/subscribe":{"post":{"summary":"Subscribe","operationId":"subscribe_api_subscribe_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/subscribe/confirm":{"get":{"summary":"Confirm","operationId":"confirm_api_subscribe_confirm_get","parameters":[{"name":"t","in":"query","required":false,"schema":{"type":"string","default":"","title":"T"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/subscribe/request":{"get":{"summary":"Edit Request","operationId":"edit_request_api_subscribe_request_get","parameters":[{"name":"t","in":"query","required":false,"schema":{"type":"string","default":"","title":"T"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Save Request","operationId":"save_request_api_subscribe_request_post","parameters":[{"name":"t","in":"query","required":false,"schema":{"type":"string","default":"","title":"T"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/unsubscribe":{"get":{"summary":"Unsubscribe","operationId":"unsubscribe_api_unsubscribe_get","parameters":[{"name":"t","in":"query","required":false,"schema":{"type":"string","default":"","title":"T"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/cron/digest":{"get":{"summary":"Cron Digest","operationId":"cron_digest_api_cron_digest_get","parameters":[{"name":"key","in":"query","required":false,"schema":{"type":"string","default":"","title":"Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/de/weihnachtsmaerkte":{"get":{"summary":"Whole Country","operationId":"whole_country_de_weihnachtsmaerkte_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/de/{city}/weihnachtsmaerkte":{"get":{"summary":"One Town","operationId":"one_town_de__city__weihnachtsmaerkte_get","parameters":[{"name":"city","in":"path","required":true,"schema":{"type":"string","title":"City"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/de/silvester":{"get":{"summary":"Whole Country","operationId":"whole_country_de_silvester_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/de/{city}/silvester":{"get":{"summary":"One Town","operationId":"one_town_de__city__silvester_get","parameters":[{"name":"city","in":"path","required":true,"schema":{"type":"string","title":"City"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/de/venue/{slug}":{"get":{"summary":"Venue","operationId":"venue_de_venue__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/de/artist/{slug}":{"get":{"summary":"Artist","operationId":"artist_de_artist__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fr/marches-de-noel":{"get":{"summary":"Whole Country","operationId":"whole_country_fr_marches_de_noel_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/fr/{city}/marches-de-noel":{"get":{"summary":"One Town","operationId":"one_town_fr__city__marches_de_noel_get","parameters":[{"name":"city","in":"path","required":true,"schema":{"type":"string","title":"City"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fr/nouvel-an":{"get":{"summary":"Whole Country","operationId":"whole_country_fr_nouvel_an_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/fr/{city}/nouvel-an":{"get":{"summary":"One Town","operationId":"one_town_fr__city__nouvel_an_get","parameters":[{"name":"city","in":"path","required":true,"schema":{"type":"string","title":"City"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fr/venue/{slug}":{"get":{"summary":"Venue","operationId":"venue_fr_venue__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fr/artist/{slug}":{"get":{"summary":"Artist","operationId":"artist_fr_artist__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/it/mercatini-di-natale":{"get":{"summary":"Whole Country","operationId":"whole_country_it_mercatini_di_natale_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/it/{city}/mercatini-di-natale":{"get":{"summary":"One Town","operationId":"one_town_it__city__mercatini_di_natale_get","parameters":[{"name":"city","in":"path","required":true,"schema":{"type":"string","title":"City"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/it/capodanno":{"get":{"summary":"Whole Country","operationId":"whole_country_it_capodanno_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/it/{city}/capodanno":{"get":{"summary":"One Town","operationId":"one_town_it__city__capodanno_get","parameters":[{"name":"city","in":"path","required":true,"schema":{"type":"string","title":"City"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/it/venue/{slug}":{"get":{"summary":"Venue","operationId":"venue_it_venue__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/it/artist/{slug}":{"get":{"summary":"Artist","operationId":"artist_it_artist__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/en/christmas-markets":{"get":{"summary":"Whole Country","operationId":"whole_country_en_christmas_markets_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/en/{city}/christmas-markets":{"get":{"summary":"One Town","operationId":"one_town_en__city__christmas_markets_get","parameters":[{"name":"city","in":"path","required":true,"schema":{"type":"string","title":"City"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/en/new-years-eve":{"get":{"summary":"Whole Country","operationId":"whole_country_en_new_years_eve_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/en/{city}/new-years-eve":{"get":{"summary":"One Town","operationId":"one_town_en__city__new_years_eve_get","parameters":[{"name":"city","in":"path","required":true,"schema":{"type":"string","title":"City"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/en/venue/{slug}":{"get":{"summary":"Venue","operationId":"venue_en_venue__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/en/artist/{slug}":{"get":{"summary":"Artist","operationId":"artist_en_artist__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/embed/{lang}/{city}":{"get":{"summary":"Embed","operationId":"embed_embed__lang___city__get","parameters":[{"name":"lang","in":"path","required":true,"schema":{"type":"string","title":"Lang"}},{"name":"city","in":"path","required":true,"schema":{"type":"string","title":"City"}},{"name":"genre","in":"query","required":false,"schema":{"type":"string","default":"","title":"Genre"}},{"name":"venue","in":"query","required":false,"schema":{"type":"string","default":"","title":"Venue"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":8,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/de/widget":{"get":{"summary":"Page","operationId":"page_de_widget_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/fr/widget":{"get":{"summary":"Page","operationId":"page_fr_widget_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/it/widget":{"get":{"summary":"Page","operationId":"page_it_widget_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/en/widget":{"get":{"summary":"Page","operationId":"page_en_widget_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/e/{event_id}/{slug}":{"get":{"summary":"Event Page","operationId":"event_page_e__event_id___slug__get","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"slug","in":"path","required":true,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"de","title":"Lang"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/e/{event_id}":{"get":{"summary":"Event Page","operationId":"event_page_e__event_id__get","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"slug","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"de","title":"Lang"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/de":{"get":{"summary":"Hub","operationId":"hub_de_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/de/{city}":{"get":{"summary":"City Page","operationId":"city_page_de__city__get","parameters":[{"name":"city","in":"path","required":true,"schema":{"type":"string","title":"City"}},{"name":"genre","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Genre"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/de/{city}/{genre}":{"get":{"summary":"City Page","operationId":"city_page_de__city___genre__get","parameters":[{"name":"city","in":"path","required":true,"schema":{"type":"string","title":"City"}},{"name":"genre","in":"path","required":true,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Genre"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fr":{"get":{"summary":"Hub","operationId":"hub_fr_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/fr/{city}":{"get":{"summary":"City Page","operationId":"city_page_fr__city__get","parameters":[{"name":"city","in":"path","required":true,"schema":{"type":"string","title":"City"}},{"name":"genre","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Genre"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fr/{city}/{genre}":{"get":{"summary":"City Page","operationId":"city_page_fr__city___genre__get","parameters":[{"name":"city","in":"path","required":true,"schema":{"type":"string","title":"City"}},{"name":"genre","in":"path","required":true,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Genre"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/it":{"get":{"summary":"Hub","operationId":"hub_it_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/it/{city}":{"get":{"summary":"City Page","operationId":"city_page_it__city__get","parameters":[{"name":"city","in":"path","required":true,"schema":{"type":"string","title":"City"}},{"name":"genre","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Genre"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/it/{city}/{genre}":{"get":{"summary":"City Page","operationId":"city_page_it__city___genre__get","parameters":[{"name":"city","in":"path","required":true,"schema":{"type":"string","title":"City"}},{"name":"genre","in":"path","required":true,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Genre"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/en":{"get":{"summary":"Hub","operationId":"hub_en_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/en/{city}":{"get":{"summary":"City Page","operationId":"city_page_en__city__get","parameters":[{"name":"city","in":"path","required":true,"schema":{"type":"string","title":"City"}},{"name":"genre","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Genre"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/en/{city}/{genre}":{"get":{"summary":"City Page","operationId":"city_page_en__city___genre__get","parameters":[{"name":"city","in":"path","required":true,"schema":{"type":"string","title":"City"}},{"name":"genre","in":"path","required":true,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Genre"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/llms.txt":{"get":{"summary":"Llms Txt","operationId":"llms_txt_llms_txt_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/llms-full.txt":{"get":{"summary":"Llms Full Txt","description":"llms.txt and the next seven days, town by town.","operationId":"llms_full_txt_llms_full_txt_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/robots.txt":{"get":{"summary":"Robots","operationId":"robots_robots_txt_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/sitemap.xml":{"get":{"summary":"Sitemap Index","operationId":"sitemap_index_sitemap_xml_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/sitemap-cities.xml":{"get":{"summary":"Sitemap Cities","operationId":"sitemap_cities_sitemap_cities_xml_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/sitemap-places.xml":{"get":{"summary":"Sitemap Places","operationId":"sitemap_places_sitemap_places_xml_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/sitemap-events-{n}.xml":{"get":{"summary":"Sitemap Events","operationId":"sitemap_events_sitemap_events__n__xml_get","parameters":[{"name":"n","in":"path","required":true,"schema":{"type":"integer","title":"N"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mcp":{"get":{"summary":"No Stream","description":"MCP clients asking for an event stream get 405: the server never sends\nmessages of its own (as the transport allows). A person opening the\naddress in a browser gets the page on how to add it.","operationId":"no_stream_mcp_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Mcp","operationId":"mcp_mcp_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"delete":{"summary":"End Session","operationId":"end_session_mcp_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"options":{"summary":"Preflight","operationId":"preflight_mcp_options","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ai":{"get":{"summary":"Ai Page","operationId":"ai_page_ai_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/cron/societies":{"get":{"summary":"Cron Societies","operationId":"cron_societies_api_cron_societies_get","parameters":[{"name":"key","in":"query","required":false,"schema":{"type":"string","default":"","title":"Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/societies":{"get":{"summary":"Api Societies","description":"The upcoming society events as JSON, with the societies they belong to.","operationId":"api_societies_api_societies_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/events":{"get":{"summary":"Events","operationId":"events_api_events_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/feed":{"get":{"summary":"Feed Page","description":"The page's list, one page at a time, with the counts its date strip and\nmenus show (on the first page). Same filters, same address: the CDN answers.","operationId":"feed_page_api_feed_get","parameters":[{"name":"when","in":"query","required":false,"schema":{"type":"string","default":"all","title":"When"}},{"name":"genre","in":"query","required":false,"schema":{"type":"string","default":"","title":"Genre"}},{"name":"region","in":"query","required":false,"schema":{"type":"string","default":"","title":"Region"}},{"name":"q","in":"query","required":false,"schema":{"type":"string","default":"","title":"Q"}},{"name":"free","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Free"}},{"name":"open","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Open"}},{"name":"view","in":"query","required":false,"schema":{"type":"string","default":"feed","title":"View"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}},{"name":"size","in":"query","required":false,"schema":{"type":"integer","default":60,"title":"Size"}},{"name":"cap","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Cap"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/meta":{"get":{"summary":"Meta","description":"`live=1` (the admin): crawl status straight from the database.","operationId":"meta_api_meta_get","parameters":[{"name":"live","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Live"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/events/{event_id}.ics":{"get":{"summary":"Event Ics","operationId":"event_ics_api_events__event_id__ics_get","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/events/{event_id}":{"get":{"summary":"Event Detail","operationId":"event_detail_api_events__event_id__get","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/calendar.ics":{"get":{"summary":"Calendar Ics","operationId":"calendar_ics_api_calendar_ics_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/img":{"get":{"summary":"Image","description":"Proxy event images: Instagram CDN links expire and many venues block\nhotlinking. Only images referenced by stored events are served; the CDN\ncaches them for a week. Pages show the saved copy (thumbs.py) when there\nis one; what is made here is saved there too, for the next visitors.","operationId":"image_img_get","parameters":[{"name":"u","in":"query","required":true,"schema":{"type":"string","title":"U"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/img":{"get":{"summary":"Image","description":"Proxy event images: Instagram CDN links expire and many venues block\nhotlinking. Only images referenced by stored events are served; the CDN\ncaches them for a week. Pages show the saved copy (thumbs.py) when there\nis one; what is made here is saved there too, for the next visitors.","operationId":"image_api_img_get","parameters":[{"name":"u","in":"query","required":true,"schema":{"type":"string","title":"U"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crawl":{"post":{"summary":"Crawl Now","operationId":"crawl_now_api_crawl_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/cron/crawl":{"get":{"summary":"Cron Crawl","description":"The daily crawl. `part=local` crawls today's share of places' own event\npages and town searches; `&only=<source id>,…` crawls just some sources.\n`&only=<id>&slice=N&chain=1` reads a big source (one with \"sliceDays\") a\nslice of days at a time: days N*sliceDays to (N+1)*sliceDays-1, then the next\nslice, until its \"days\" are covered. Each run stays short; one job covers all.","operationId":"cron_crawl_api_cron_crawl_get","parameters":[{"name":"key","in":"query","required":false,"schema":{"type":"string","default":"","title":"Key"}},{"name":"only","in":"query","required":false,"schema":{"type":"string","default":"","title":"Only"}},{"name":"fresh","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Fresh"}},{"name":"part","in":"query","required":false,"schema":{"type":"string","default":"core","title":"Part"}},{"name":"chain","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Chain"}},{"name":"batch","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Batch"}},{"name":"slice","in":"query","required":false,"schema":{"type":"integer","default":-1,"title":"Slice"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ingest":{"post":{"summary":"Ingest","description":"The browser crawl (scripts/browser_crawl.py on GitHub Actions) sends the\nevents it read; they are stored for its source and merged in right away.","operationId":"ingest_api_ingest_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Ingest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/cron/images":{"get":{"summary":"Cron Images","description":"Catch up on share images for stored events (normally done during crawls),\nthen make the posters for what is listed (thumbs.py). Daily after the crawl.","operationId":"cron_images_api_cron_images_get","parameters":[{"name":"key","in":"query","required":false,"schema":{"type":"string","default":"","title":"Key"}},{"name":"chain","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Chain"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/cron/discover":{"get":{"summary":"Cron Discover","description":"Daily batch of places whose own events page is looked up (see crawler/discover.py).\n`chain=1` starts the next batch when this one ends, until every place is\nchecked, e.g. `?key=…&budget=150&concurrency=10&chain=1` for a full run.","operationId":"cron_discover_api_cron_discover_get","parameters":[{"name":"key","in":"query","required":false,"schema":{"type":"string","default":"","title":"Key"}},{"name":"budget","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Budget"}},{"name":"concurrency","in":"query","required":false,"schema":{"type":"integer","default":4,"title":"Concurrency"}},{"name":"chain","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Chain"}},{"name":"meetup","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Meetup"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/ai-stats":{"get":{"summary":"Ai Stats","description":"Which AI assistants and crawlers use the site, how much, and for which places.","operationId":"ai_stats_api_admin_ai_stats_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/run/{job}":{"post":{"summary":"Admin Run","description":"Start a job now. It runs as its own request (a job takes minutes), signed\nwith the server's cron secret; this answers as soon as it has started.","operationId":"admin_run_api_admin_run__job__post","parameters":[{"name":"job","in":"path","required":true,"schema":{"type":"string","title":"Job"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/overview":{"get":{"summary":"Admin Overview","description":"The society site's state and the newsletter's, for the admin page's jobs.","operationId":"admin_overview_api_admin_overview_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/dashboard":{"get":{"summary":"Admin Dashboard","description":"Visitors and bots from Vercel's records (insights.py), and the MCP server's\nuse (ai.py, which counts every call), for Zürich days from..to (default: the last 7).","operationId":"admin_dashboard_api_admin_dashboard_get","parameters":[{"name":"from","in":"query","required":false,"schema":{"type":"string","default":"","title":"From"}},{"name":"to","in":"query","required":false,"schema":{"type":"string","default":"","title":"To"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/app/open":{"post":{"summary":"App Open","description":"The installed app says it was opened today (app.js, once a day): a random\nid made on the phone and the kind of phone. Nothing else is kept.","operationId":"app_open_api_app_open_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppOpen"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/check":{"get":{"summary":"Admin Check","operationId":"admin_check_api_admin_check_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/sources":{"post":{"summary":"Add Source","operationId":"add_source_api_sources_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewSource"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sources/{source_id}":{"patch":{"summary":"Patch Source","operationId":"patch_source_api_sources__source_id__patch","parameters":[{"name":"source_id","in":"path","required":true,"schema":{"type":"string","title":"Source Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourcePatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Source","operationId":"delete_source_api_sources__source_id__delete","parameters":[{"name":"source_id","in":"path","required":true,"schema":{"type":"string","title":"Source Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"AppOpen":{"properties":{"id":{"type":"string","title":"Id"},"platform":{"type":"string","title":"Platform","default":"other"}},"type":"object","required":["id"],"title":"AppOpen"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"Ingest":{"properties":{"source":{"type":"string","title":"Source"},"events":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Events"}},"type":"object","required":["source","events"],"title":"Ingest"},"NewSource":{"properties":{"type":{"type":"string","title":"Type"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"handle":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Handle"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"follow":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Follow"},"venueName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Venuename"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"genres":{"items":{"type":"string"},"type":"array","title":"Genres","default":[]}},"type":"object","required":["type"],"title":"NewSource"},"SourcePatch":{"properties":{"enabled":{"type":"boolean","title":"Enabled"}},"type":"object","required":["enabled"],"title":"SourcePatch"},"UserData":{"properties":{"saved":{"items":{"type":"string"},"type":"array","title":"Saved","default":[]},"prefs":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Prefs"}},"type":"object","title":"UserData"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}