{"openapi":"3.1.0","info":{"title":"ProtestUSA","version":"0.1.0"},"paths":{"/":{"get":{"summary":"Home","operationId":"home__get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/map/embed":{"get":{"summary":"Map Embed","description":"The Folium map as its own page; the home page shows it in an iframe.","operationId":"map_embed_map_embed_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/support":{"get":{"summary":"Support","operationId":"support_support_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/go/shop":{"get":{"summary":"Go Shop","description":"Counts clicks through to the shop (a number per day, nothing about who), then sends\nthe visitor on.","operationId":"go_shop_go_shop_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/about":{"get":{"summary":"About","operationId":"about_about_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/terms":{"get":{"summary":"Terms","operationId":"terms_terms_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/privacy":{"get":{"summary":"Privacy","operationId":"privacy_privacy_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/guidelines":{"get":{"summary":"Guidelines","operationId":"guidelines_guidelines_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/analyze":{"get":{"summary":"Analyze","operationId":"analyze_analyze_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/analyze/states":{"get":{"summary":"Analyze States","description":"Swap the choropleth between raw counts and per-million-residents.","operationId":"analyze_states_analyze_states_get","parameters":[{"name":"metric","in":"query","required":false,"schema":{"type":"string","default":"events","title":"Metric"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}":{"get":{"summary":"Event Page","operationId":"event_page_events__event_id__get","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"integer","title":"Event Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/card.png":{"get":{"summary":"Event Card","description":"The preview image social sites show when someone shares the event's link.","operationId":"event_card_events__event_id__card_png_get","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"integer","title":"Event Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/calendar.ics":{"get":{"summary":"Event Calendar","description":"Add-to-calendar file (Apple Calendar, Outlook, Google Calendar import...).","operationId":"event_calendar_events__event_id__calendar_ics_get","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"integer","title":"Event Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/going":{"post":{"summary":"Going","operationId":"going_events__event_id__going_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"integer","title":"Event Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_going_events__event_id__going_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/estimate":{"post":{"summary":"Estimate","operationId":"estimate_events__event_id__estimate_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"integer","title":"Event Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_estimate_events__event_id__estimate_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/discuss":{"post":{"summary":"Discuss","operationId":"discuss_events__event_id__discuss_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"integer","title":"Event Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_discuss_events__event_id__discuss_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/contribute":{"get":{"summary":"Contribute","operationId":"contribute_contribute_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","default":"","title":"Q"}},{"name":"on","in":"query","required":false,"schema":{"type":"string","default":"","title":"On"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/contribute/search":{"get":{"summary":"Contribute Search","operationId":"contribute_search_contribute_search_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","default":"","title":"Q"}},{"name":"on","in":"query","required":false,"schema":{"type":"string","default":"","title":"On"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/contribute/new-event":{"post":{"summary":"New Event","description":"A protest that already happened and isn't listed yet (upcoming ones go through /organize).","operationId":"new_event_contribute_new_event_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_new_event_contribute_new_event_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/contribute/{event_id}":{"get":{"summary":"Report Form","operationId":"report_form_contribute__event_id__get","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"integer","title":"Event Id"}}],"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":"Submit Report","operationId":"submit_report_contribute__event_id__post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"integer","title":"Event Id"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_submit_report_contribute__event_id__post"}}}},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/contribute/{event_id}/presence":{"post":{"summary":"Presence Check","description":"Compare the visitor's location with the venue, keep only yes/no, discard the coordinates.","operationId":"presence_check_contribute__event_id__presence_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"integer","title":"Event Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_presence_check_contribute__event_id__presence_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/media/{key}":{"get":{"summary":"Media File","operationId":"media_file_media__key__get","parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/forum":{"get":{"summary":"Forum","operationId":"forum_forum_get","parameters":[{"name":"section","in":"query","required":false,"schema":{"type":"string","default":"general","title":"Section"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/forum/new":{"get":{"summary":"New Thread Form","operationId":"new_thread_form_forum_new_get","parameters":[{"name":"section","in":"query","required":false,"schema":{"type":"string","default":"general","title":"Section"}}],"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":"Create Thread","operationId":"create_thread_forum_new_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_create_thread_forum_new_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/forum/{thread_id}":{"get":{"summary":"Thread Page","operationId":"thread_page_forum__thread_id__get","parameters":[{"name":"thread_id","in":"path","required":true,"schema":{"type":"integer","title":"Thread Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/forum/{thread_id}/reply":{"post":{"summary":"Reply","operationId":"reply_forum__thread_id__reply_post","parameters":[{"name":"thread_id","in":"path","required":true,"schema":{"type":"integer","title":"Thread Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_reply_forum__thread_id__reply_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/flag":{"post":{"summary":"Flag","operationId":"flag_flag_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_flag_flag_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/signup":{"get":{"summary":"Signup Form","operationId":"signup_form_signup_get","parameters":[{"name":"next","in":"query","required":false,"schema":{"type":"string","default":"/","title":"Next"}}],"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":"Signup","operationId":"signup_signup_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_signup_signup_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/verify-email":{"get":{"summary":"Verify Email Form","operationId":"verify_email_form_verify_email_get","parameters":[{"name":"next","in":"query","required":false,"schema":{"type":"string","default":"/","title":"Next"}}],"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":"Verify Email","operationId":"verify_email_verify_email_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_verify_email_verify_email_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/verify-email/resend":{"post":{"summary":"Resend Email Code","operationId":"resend_email_code_verify_email_resend_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_resend_email_code_verify_email_resend_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/login":{"get":{"summary":"Login Form","operationId":"login_form_login_get","parameters":[{"name":"next","in":"query","required":false,"schema":{"type":"string","default":"/","title":"Next"}}],"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":"Login","description":"Log in with the handle or the email address.","operationId":"login_login_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_login_login_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/logout":{"post":{"summary":"Logout","description":"Log out on every device: the account's other session cookies stop working too.","operationId":"logout_logout_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/forgot":{"get":{"summary":"Forgot Form","operationId":"forgot_form_forgot_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"post":{"summary":"Forgot","operationId":"forgot_forgot_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_forgot_forgot_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/reset":{"post":{"summary":"Reset","operationId":"reset_reset_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_reset_reset_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/account":{"get":{"summary":"Account Page","operationId":"account_page_account_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/account/password":{"post":{"summary":"Change Password","description":"Change the password and sign out every other device (this one stays signed in).","operationId":"change_password_account_password_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_change_password_account_password_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/account/email":{"post":{"summary":"Change Email","operationId":"change_email_account_email_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_change_email_account_email_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/account/profile":{"post":{"summary":"Save Profile","operationId":"save_profile_account_profile_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_save_profile_account_profile_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/account/phone":{"get":{"summary":"Phone Form","operationId":"phone_form_account_phone_get","parameters":[{"name":"next","in":"query","required":false,"schema":{"type":"string","default":"/account","title":"Next"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/account/phone/send":{"post":{"summary":"Phone Send","operationId":"phone_send_account_phone_send_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_phone_send_account_phone_send_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/account/phone/verify":{"post":{"summary":"Phone Verify","operationId":"phone_verify_account_phone_verify_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_phone_verify_account_phone_verify_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/account/phone/remove":{"post":{"summary":"Phone Remove","operationId":"phone_remove_account_phone_remove_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/mod":{"get":{"summary":"Queue","operationId":"queue_mod_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/mod/event/{eid}/{action}":{"post":{"summary":"Moderate Event","description":"approve: publish a contributor-added protest (or restore a removed one). reject: remove it.","operationId":"moderate_event_mod_event__eid___action__post","parameters":[{"name":"eid","in":"path","required":true,"schema":{"type":"integer","title":"Eid"}},{"name":"action","in":"path","required":true,"schema":{"type":"string","title":"Action"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mod/contribution/{cid}/{action}":{"post":{"summary":"Moderate Contribution","operationId":"moderate_contribution_mod_contribution__cid___action__post","parameters":[{"name":"cid","in":"path","required":true,"schema":{"type":"integer","title":"Cid"}},{"name":"action","in":"path","required":true,"schema":{"type":"string","title":"Action"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mod/media/{mid}/{action}":{"post":{"summary":"Moderate Media","operationId":"moderate_media_mod_media__mid___action__post","parameters":[{"name":"mid","in":"path","required":true,"schema":{"type":"integer","title":"Mid"}},{"name":"action","in":"path","required":true,"schema":{"type":"string","title":"Action"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mod/flag/{fid}/{action}":{"post":{"summary":"Resolve Flag","description":"action: 'dismiss' (keep content) or 'remove' (hide the flagged item).","operationId":"resolve_flag_mod_flag__fid___action__post","parameters":[{"name":"fid","in":"path","required":true,"schema":{"type":"integer","title":"Fid"}},{"name":"action","in":"path","required":true,"schema":{"type":"string","title":"Action"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mod/stats":{"get":{"summary":"Stats Page","description":"Counts only (see app/metrics.py and app/stats.py).","operationId":"stats_page_mod_stats_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/events":{"get":{"tags":["api"],"summary":"Api Events","operationId":"api_events_api_events_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":20000,"minimum":1,"default":5000,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/stats":{"get":{"tags":["api"],"summary":"Api Stats","operationId":"api_stats_api_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/account/digest":{"get":{"summary":"Digest Page","operationId":"digest_page_account_digest_get","parameters":[{"name":"zip","in":"query","required":false,"schema":{"type":"string","default":"","title":"Zip"}}],"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 Digest","operationId":"save_digest_account_digest_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_save_digest_account_digest_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/digest/unsubscribe":{"get":{"summary":"Unsubscribe Page","operationId":"unsubscribe_page_digest_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"}}}}}},"post":{"summary":"Unsubscribe","operationId":"unsubscribe_digest_unsubscribe_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_unsubscribe_digest_unsubscribe_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/digest/unsubscribe/one-click":{"post":{"summary":"Unsubscribe One Click","description":"RFC 8058 one-click unsubscribe, posted by mail apps (exempt from the Origin check).","operationId":"unsubscribe_one_click_digest_unsubscribe_one_click_post","parameters":[{"name":"t","in":"query","required":false,"schema":{"type":"string","default":"","title":"T"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/organize":{"get":{"summary":"Organize","operationId":"organize_organize_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"post":{"summary":"Organize Submit","operationId":"organize_submit_organize_post","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/organizers/apply":{"get":{"summary":"Apply Page","operationId":"apply_page_organizers_apply_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"post":{"summary":"Apply Submit","operationId":"apply_submit_organizers_apply_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_apply_submit_organizers_apply_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/organizers/apply/{app_id}":{"get":{"summary":"Application Page","operationId":"application_page_organizers_apply__app_id__get","parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"integer","title":"App Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/organizers/apply/{app_id}/confirm":{"post":{"summary":"Application Confirm","operationId":"application_confirm_organizers_apply__app_id__confirm_post","parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"integer","title":"App Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_application_confirm_organizers_apply__app_id__confirm_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mod/organizer/{app_id}/{action}":{"post":{"summary":"Decide Application","operationId":"decide_application_mod_organizer__app_id___action__post","parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"integer","title":"App Id"}},{"name":"action","in":"path","required":true,"schema":{"type":"string","title":"Action"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/trends":{"get":{"summary":"Trends Index","operationId":"trends_index_trends_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/trends/{cat}":{"get":{"summary":"Trend Detail","operationId":"trend_detail_trends__cat__get","parameters":[{"name":"cat","in":"path","required":true,"schema":{"type":"string","title":"Cat"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/trends/{cat}/card.png":{"get":{"summary":"Trend Card","operationId":"trend_card_trends__cat__card_png_get","parameters":[{"name":"cat","in":"path","required":true,"schema":{"type":"string","title":"Cat"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"Body_application_confirm_organizers_apply__app_id__confirm_post":{"properties":{"code":{"type":"string","title":"Code","default":""},"proof_url":{"type":"string","title":"Proof Url","default":""}},"type":"object","title":"Body_application_confirm_organizers_apply__app_id__confirm_post"},"Body_apply_submit_organizers_apply_post":{"properties":{"org_name":{"type":"string","title":"Org Name","default":""},"website":{"type":"string","title":"Website","default":""},"method":{"type":"string","title":"Method","default":"email"},"email":{"type":"string","title":"Email","default":""},"about":{"type":"string","title":"About","default":""}},"type":"object","title":"Body_apply_submit_organizers_apply_post"},"Body_change_email_account_email_post":{"properties":{"email":{"type":"string","title":"Email","default":""},"current_password":{"type":"string","title":"Current Password","default":""}},"type":"object","title":"Body_change_email_account_email_post"},"Body_change_password_account_password_post":{"properties":{"current_password":{"type":"string","title":"Current Password","default":""},"new_password":{"type":"string","title":"New Password","default":""}},"type":"object","title":"Body_change_password_account_password_post"},"Body_create_thread_forum_new_post":{"properties":{"title":{"type":"string","title":"Title","default":""},"body":{"type":"string","title":"Body","default":""},"section":{"type":"string","title":"Section","default":"general"},"city":{"type":"string","title":"City","default":""},"state":{"type":"string","title":"State","default":""},"issue":{"type":"string","title":"Issue","default":""}},"type":"object","title":"Body_create_thread_forum_new_post"},"Body_discuss_events__event_id__discuss_post":{"properties":{"body":{"type":"string","title":"Body"}},"type":"object","required":["body"],"title":"Body_discuss_events__event_id__discuss_post"},"Body_estimate_events__event_id__estimate_post":{"properties":{"value":{"type":"string","title":"Value","default":""}},"type":"object","title":"Body_estimate_events__event_id__estimate_post"},"Body_flag_flag_post":{"properties":{"target_type":{"type":"string","title":"Target Type"},"target_id":{"type":"integer","title":"Target Id"},"reason":{"type":"string","title":"Reason","default":""}},"type":"object","required":["target_type","target_id"],"title":"Body_flag_flag_post"},"Body_forgot_forgot_post":{"properties":{"email":{"type":"string","title":"Email","default":""}},"type":"object","title":"Body_forgot_forgot_post"},"Body_going_events__event_id__going_post":{"properties":{"on":{"type":"string","title":"On","default":"1"}},"type":"object","title":"Body_going_events__event_id__going_post"},"Body_login_login_post":{"properties":{"handle":{"type":"string","title":"Handle","default":""},"password":{"type":"string","title":"Password","default":""},"next":{"type":"string","title":"Next","default":"/"}},"type":"object","title":"Body_login_login_post"},"Body_new_event_contribute_new_event_post":{"properties":{"title":{"type":"string","title":"Title","default":""},"day":{"type":"string","title":"Day","default":""},"start_time":{"type":"string","title":"Start Time","default":"12:00"},"city":{"type":"string","title":"City","default":""},"state":{"type":"string","title":"State","default":""},"venue":{"type":"string","title":"Venue","default":""},"issue":{"type":"string","title":"Issue","default":""},"stance":{"type":"string","title":"Stance","default":"against"},"description":{"type":"string","title":"Description","default":""},"source_url":{"type":"string","title":"Source Url","default":""}},"type":"object","title":"Body_new_event_contribute_new_event_post"},"Body_phone_send_account_phone_send_post":{"properties":{"phone":{"type":"string","title":"Phone","default":""},"sms_consent":{"type":"string","title":"Sms Consent","default":""},"next":{"type":"string","title":"Next","default":"/account"}},"type":"object","title":"Body_phone_send_account_phone_send_post"},"Body_phone_verify_account_phone_verify_post":{"properties":{"code":{"type":"string","title":"Code","default":""},"next":{"type":"string","title":"Next","default":"/account"}},"type":"object","title":"Body_phone_verify_account_phone_verify_post"},"Body_presence_check_contribute__event_id__presence_post":{"properties":{"lat":{"type":"number","title":"Lat"},"lon":{"type":"number","title":"Lon"}},"type":"object","required":["lat","lon"],"title":"Body_presence_check_contribute__event_id__presence_post"},"Body_reply_forum__thread_id__reply_post":{"properties":{"body":{"type":"string","title":"Body","default":""}},"type":"object","title":"Body_reply_forum__thread_id__reply_post"},"Body_resend_email_code_verify_email_resend_post":{"properties":{"next":{"type":"string","title":"Next","default":"/"}},"type":"object","title":"Body_resend_email_code_verify_email_resend_post"},"Body_reset_reset_post":{"properties":{"email":{"type":"string","title":"Email","default":""},"code":{"type":"string","title":"Code","default":""},"new_password":{"type":"string","title":"New Password","default":""}},"type":"object","title":"Body_reset_reset_post"},"Body_save_digest_account_digest_post":{"properties":{"zip":{"type":"string","title":"Zip","default":""},"radius":{"type":"string","title":"Radius","default":""},"issues":{"items":{"type":"string"},"type":"array","title":"Issues","default":[]},"action":{"type":"string","title":"Action","default":"save"}},"type":"object","title":"Body_save_digest_account_digest_post"},"Body_save_profile_account_profile_post":{"properties":{"generation":{"type":"string","title":"Generation","default":""},"political_leaning":{"type":"string","title":"Political Leaning","default":""},"issues":{"items":{"type":"string"},"type":"array","title":"Issues","default":[]}},"type":"object","title":"Body_save_profile_account_profile_post"},"Body_signup_signup_post":{"properties":{"handle":{"type":"string","title":"Handle","default":""},"email":{"type":"string","title":"Email","default":""},"phone":{"type":"string","title":"Phone","default":""},"password":{"type":"string","title":"Password","default":""},"age_ok":{"type":"string","title":"Age Ok","default":""},"sms_consent":{"type":"string","title":"Sms Consent","default":""},"generation":{"type":"string","title":"Generation","default":""},"issues":{"items":{"type":"string"},"type":"array","title":"Issues","default":[]},"next":{"type":"string","title":"Next","default":"/"}},"type":"object","title":"Body_signup_signup_post"},"Body_submit_report_contribute__event_id__post":{"properties":{"size_estimate":{"type":"string","title":"Size Estimate","default":""},"police_presence":{"type":"string","title":"Police Presence","default":"unknown"},"arrests_seen":{"type":"string","title":"Arrests Seen","default":"no"},"tone":{"type":"string","title":"Tone","default":"unknown"},"narrative":{"type":"string","title":"Narrative","default":""},"media":{"anyOf":[{"type":"string","contentMediaType":"application/octet-stream"},{"type":"null"}],"title":"Media"}},"type":"object","title":"Body_submit_report_contribute__event_id__post"},"Body_unsubscribe_digest_unsubscribe_post":{"properties":{"t":{"type":"string","title":"T","default":""}},"type":"object","title":"Body_unsubscribe_digest_unsubscribe_post"},"Body_verify_email_verify_email_post":{"properties":{"code":{"type":"string","title":"Code","default":""},"next":{"type":"string","title":"Next","default":"/"}},"type":"object","title":"Body_verify_email_verify_email_post"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}