{"openapi":"3.1.0","info":{"title":"Saanzh API","description":"Backend for Saanzh — family photo sharing with face recognition.","version":"0.1.0"},"paths":{"/users/exists":{"post":{"tags":["users"],"summary":"Exists","description":"D-518: sign-up asks before it sends a code whether the email or phone already has an account,\nso the person is told to sign in instead. Signed in, the caller's own row is not counted (changing\none's own email or number). Rate-limited with the people lookups; answers only yes or no.","operationId":"exists_users_exists_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExistsIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/me/authenticator/recovery-codes":{"post":{"tags":["users"],"summary":"Recovery Codes","description":"A fresh set of eight one-time recovery codes; shown once, stored hashed. Replaces any earlier set.","operationId":"recovery_codes_users_me_authenticator_recovery_codes_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/me/authenticator/recover":{"post":{"tags":["users"],"summary":"Recover Authenticator","description":"Lost the authenticator app: a valid recovery code removes the account's TOTP factors, so the\ntext or email code alone signs the person in again. The used code and the rest of the set are spent.","operationId":"recover_authenticator_users_me_authenticator_recover_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecoverIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/me":{"get":{"tags":["users"],"summary":"Get Me","description":"Return the caller's profile, or {profile: null} if they haven't completed onboarding.","operationId":"get_me_users_me_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["users"],"summary":"Upsert Me","description":"Create or update the caller's profile (onboarding step).","operationId":"upsert_me_users_me_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__users__ProfileIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["users"],"summary":"Delete Me","description":"Delete my account (D-327). Grace period is a system setting: 0 → purge now;\n>0 → mark deleted, purge later (purge job is a later slice). Biometrics are\nremoved immediately in both cases.","operationId":"delete_me_users_me_delete","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["users"],"summary":"Patch Me","description":"Edit names, city and visibility from Settings. Profile ID never changes.","operationId":"patch_me_users_me_patch","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__users__ProfilePatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/me/merge/start":{"post":{"tags":["users"],"summary":"Merge Start","description":"D-489: join another account of mine into this one. Step 1: a six-digit code goes to the other\naccount's email; only someone who can read that inbox can finish. Ten minutes, five tries.","operationId":"merge_start_users_me_merge_start_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MergeStartIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/me/merge/confirm":{"post":{"tags":["users"],"summary":"Merge Confirm","description":"D-489 step 2: the code checks out → the other account folds into mine (merge_users, migration 065).","operationId":"merge_confirm_users_me_merge_confirm_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MergeConfirmIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/me/find-me":{"put":{"tags":["users"],"summary":"Set Find Me","description":"Profile default for \"find me in photos\". Applied when you join an AI-on\nevent; per-event switches stay as they are. Hosts follow their event.","operationId":"set_find_me_users_me_find_me_put","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FindMeIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/me/phone/status":{"get":{"tags":["users"],"summary":"Phone Status","description":"Whether verification is offered here, the number on file (masked) and whether it is proven.","operationId":"phone_status_users_me_phone_status_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/me/phone/start":{"post":{"tags":["users"],"summary":"Phone Start","description":"Send a code to the number on the profile. Rate-limited (group `phone`): each send costs money.","operationId":"phone_start_users_me_phone_start_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhoneStart"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/me/phone/check":{"post":{"tags":["users"],"summary":"Phone Check","operationId":"phone_check_users_me_phone_check_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhoneCheck"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/me/photo":{"post":{"tags":["users"],"summary":"Upload My Photo","description":"Profile photo from the phone or PC: centre-cropped to a 256px square.","operationId":"upload_my_photo_users_me_photo_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_my_photo_users_me_photo_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["users"],"summary":"Remove My Photo","operationId":"remove_my_photo_users_me_photo_delete","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/me/export":{"get":{"tags":["export"],"summary":"Export Me","operationId":"export_me_users_me_export_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/stats":{"get":{"tags":["event-stats"],"summary":"Event Stats","operationId":"event_stats_events__event_id__stats_get","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/thank-you":{"post":{"tags":["event-stats"],"summary":"Send Thank You","operationId":"send_thank_you_events__event_id__thank_you_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThankYouIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/feedback/me":{"get":{"tags":["event-stats"],"summary":"My Feedback","operationId":"my_feedback_events__event_id__feedback_me_get","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/feedback":{"post":{"tags":["event-stats"],"summary":"Give Feedback","operationId":"give_feedback_events__event_id__feedback_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeedbackIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/comments":{"get":{"tags":["comments"],"summary":"List Comments","operationId":"list_comments_events__event_id__comments_get","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"photo_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Photo Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["comments"],"summary":"Post Comment","operationId":"post_comment_events__event_id__comments_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/comments/counts":{"get":{"tags":["comments"],"summary":"Comment Counts","description":"Live comment count per photo (for the badge in the slideshow).","operationId":"comment_counts_events__event_id__comments_counts_get","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/comments/mentionable":{"get":{"tags":["comments"],"summary":"Mentionable","description":"Who @ can point at: the people in this event, and my own active groups.","operationId":"mentionable_events__event_id__comments_mentionable_get","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/comments/{comment_id}":{"delete":{"tags":["comments"],"summary":"Delete Comment","operationId":"delete_comment_events__event_id__comments__comment_id__delete","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"comment_id","in":"path","required":true,"schema":{"type":"string","title":"Comment Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events":{"get":{"tags":["events"],"summary":"List My Events","description":"Events I host or belong to, newest first.","operationId":"list_my_events_events_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["events"],"summary":"Create Event","operationId":"create_event_events_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/face-matching":{"put":{"tags":["events"],"summary":"My Face Matching","description":"The caller's own opt-in for this event. Independent of the host switch:\nmatching only runs when both are on.","operationId":"my_face_matching_events__event_id__face_matching_put","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FaceMatchingIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/categories":{"get":{"tags":["events"],"summary":"List Categories","description":"Active event types in display order (D-362).","operationId":"list_categories_events_categories_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}":{"get":{"tags":["events"],"summary":"Get Event","operationId":"get_event_events__event_id__get","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["events"],"summary":"Update Event","operationId":"update_event_events__event_id__patch","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/release":{"post":{"tags":["events"],"summary":"Release Event","description":"Host releases the event (D-354): until now only co-hosts could be added;\nfrom here on member invitations and the join link go out. One-way.","operationId":"release_event_events__event_id__release_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/close":{"post":{"tags":["events"],"summary":"Close Event","description":"Host closes the event early: the album is final, retention starts (D-208). D-480: an optional\nthank-you note goes to everyone as an update.","operationId":"close_event_events__event_id__close_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/StatusNoteIn"},{"type":"null"}],"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/cancel":{"post":{"tags":["events"],"summary":"Cancel Event","description":"D-480: the host cancels. Guests are told (the message, or a plain line); the album keeps what it has.\nReopen restores it.","operationId":"cancel_event_events__event_id__cancel_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/StatusNoteIn"},{"type":"null"}],"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/postpone":{"post":{"tags":["events"],"summary":"Postpone Event","description":"D-480: new dates, same status (planning stays planning, live stays live). Guests are told.","operationId":"postpone_event_events__event_id__postpone_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostponeIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/reopen":{"post":{"tags":["events"],"summary":"Reopen Event","operationId":"reopen_event_events__event_id__reopen_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/copy":{"post":{"tags":["events"],"summary":"Copy Event","description":"Host starts a new event from this one: same name (marked as a copy), type, place, theme and\nswitches; no date, members or photos (D-370). Plan caps apply as for any new event.","operationId":"copy_event_events__event_id__copy_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/nudge":{"post":{"tags":["events"],"summary":"Nudge Photos","description":"Host or co-admin asks everyone for their photos; at most once a day per event (D-370).","operationId":"nudge_photos_events__event_id__nudge_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/extend":{"post":{"tags":["events"],"summary":"Extend Event","description":"Host keeps the album longer (D-367). Free while pricing is undecided; always logged as a billing event.","operationId":"extend_event_events__event_id__extend_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/invitation":{"post":{"tags":["events"],"summary":"Upload Invitation","description":"The host's invitation card: a photo, a short video, or a PDF. Stored in\nthe private `invitations` bucket and shown to invitees via signed URL.","operationId":"upload_invitation_events__event_id__invitation_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_invitation_events__event_id__invitation_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["events"],"summary":"Remove Invitation","operationId":"remove_invitation_events__event_id__invitation_delete","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/members":{"get":{"tags":["events"],"summary":"List Members","description":"People in the event with their role and status. Contact details are never\nincluded (D-318): name and profile photo only.","operationId":"list_members_events__event_id__members_get","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/photos":{"get":{"tags":["events"],"summary":"List Photos","description":"Photos in an event, newest first, as signed URLs (private bucket, D-203).\nMembers see approved photos plus their own pending ones; hosts and co-admins\nalso get the pending queue count.","operationId":"list_photos_events__event_id__photos_get","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"include_hidden","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Hidden"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["events"],"summary":"Upload Photos","description":"Any accepted member can upload from a PC or the phone's photo library.\nHosts and co-admins are approved at once; everyone else waits for approval.","operationId":"upload_photos_events__event_id__photos_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_photos_events__event_id__photos_post"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/photos/approve":{"post":{"tags":["events"],"summary":"Approve Photos","operationId":"approve_photos_events__event_id__photos_approve_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApproveIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/photos/reject":{"post":{"tags":["events"],"summary":"Reject Photos","operationId":"reject_photos_events__event_id__photos_reject_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApproveIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/join-link":{"post":{"tags":["events"],"summary":"Enable Join Link","description":"Host turns the link on (creating a code the first time).","operationId":"enable_join_link_events__event_id__join_link_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["events"],"summary":"Disable Join Link","operationId":"disable_join_link_events__event_id__join_link_delete","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/music":{"post":{"tags":["events"],"summary":"Upload Music","description":"Album music (D-361): a host-uploaded track that plays with the slideshow. The host\nconfirms in the UI that they have the right to use it; no library is provided.","operationId":"upload_music_events__event_id__music_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_music_events__event_id__music_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["events"],"summary":"Remove Music","operationId":"remove_music_events__event_id__music_delete","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/import/ics":{"post":{"tags":["events"],"summary":"Import Ics","description":"Read a calendar file (Evite, Google Calendar, Outlook all export one) and return\nthe fields to pre-fill New event with. Nothing is created here.","operationId":"import_ics_events_import_ics_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_import_ics_events_import_ics_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/join/public/{code}":{"get":{"tags":["join"],"summary":"Public Join Preview","description":"D-547: the join link opened signed out: the card, the host, when and where. No membership, no photos.","operationId":"public_join_preview_join_public__code__get","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string","title":"Code"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/join/public/{code}/reply":{"post":{"tags":["join"],"summary":"Public Join Reply","description":"Yes / Maybe / No by name from the join link, no account. With a phone number and the guest's own\ntick, Saanzh may text them about this event (one confirmation text now, reminders later, STOP ends it).","operationId":"public_join_reply_join_public__code__reply_post","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string","title":"Code"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkReplyIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/join/{code}":{"get":{"tags":["join"],"summary":"Preview Join","description":"What the link leads to, before the person decides.","operationId":"preview_join_join__code__get","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string","title":"Code"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["join"],"summary":"Join Via Link","description":"Creates a pending invitation from the host; the person then accepts with\nthe usual face-matching choice (D-313 consent still applies).","operationId":"join_via_link_join__code__post","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string","title":"Code"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/members/{member_id}":{"delete":{"tags":["events"],"summary":"Remove Member","description":"Host only. Access ends now, their matches in this event are deleted, their uploads stay\n(credited to \"a former member\") unless delete_uploads. No rejoin by link; the host may re-invite.","operationId":"remove_member_events__event_id__members__member_id__delete","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"member_id","in":"path","required":true,"schema":{"type":"string","title":"Member Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/RemoveIn"},{"type":"null"}],"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["events"],"summary":"Patch Member","description":"Host sets a nickname shown to this event's members, and a co-admin's privileges (D-372).","operationId":"patch_member_events__event_id__members__member_id__patch","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"member_id","in":"path","required":true,"schema":{"type":"string","title":"Member Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/photos/delete":{"post":{"tags":["events"],"summary":"Bulk Delete","description":"Delete several photos: admins with manage_photos any, others only their own uploads.","operationId":"bulk_delete_events__event_id__photos_delete_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkDeleteIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/photos/{photo_id}/moderation/dismiss":{"post":{"tags":["events"],"summary":"Dismiss Flag","description":"A host or co-admin looked at a flagged photo and it's fine (D-376).","operationId":"dismiss_flag_events__event_id__photos__photo_id__moderation_dismiss_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"photo_id","in":"path","required":true,"schema":{"type":"string","title":"Photo Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/photos/{photo_id}/activity":{"post":{"tags":["events"],"summary":"Photo Activity","operationId":"photo_activity_events__event_id__photos__photo_id__activity_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"photo_id","in":"path","required":true,"schema":{"type":"string","title":"Photo Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActivityIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/photos/{photo_id}/hide":{"post":{"tags":["events"],"summary":"Hide Photo","description":"Personal: the photo disappears from this viewer's album only.","operationId":"hide_photo_events__event_id__photos__photo_id__hide_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"photo_id","in":"path","required":true,"schema":{"type":"string","title":"Photo Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["events"],"summary":"Unhide Photo","operationId":"unhide_photo_events__event_id__photos__photo_id__hide_delete","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"photo_id","in":"path","required":true,"schema":{"type":"string","title":"Photo Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/photos/{photo_id}":{"delete":{"tags":["events"],"summary":"Delete Photo","description":"Uploader, host or co-admin deletes a photo for everyone.","operationId":"delete_photo_events__event_id__photos__photo_id__delete","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"photo_id","in":"path","required":true,"schema":{"type":"string","title":"Photo Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/photos/{photo_id}/deletion-request":{"post":{"tags":["events"],"summary":"Request Deletion","description":"A member asks the uploader and hosts to remove a photo (they can't delete it themselves).","operationId":"request_deletion_events__event_id__photos__photo_id__deletion_request_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"photo_id","in":"path","required":true,"schema":{"type":"string","title":"Photo Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeletionRequestIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/photos/{photo_id}/deletion-request/resolve":{"post":{"tags":["events"],"summary":"Resolve Deletion","operationId":"resolve_deletion_events__event_id__photos__photo_id__deletion_request_resolve_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"photo_id","in":"path","required":true,"schema":{"type":"string","title":"Photo Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResolveIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/deletion-requests":{"get":{"tags":["events"],"summary":"Open Deletion Requests","description":"Open requests the caller can answer (admins: all; uploaders: on their photos).","operationId":"open_deletion_requests_events__event_id__deletion_requests_get","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/photos/{photo_id}/share-link":{"get":{"tags":["events"],"summary":"Get Share Link","operationId":"get_share_link_events__event_id__photos__photo_id__share_link_get","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"photo_id","in":"path","required":true,"schema":{"type":"string","title":"Photo Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["events"],"summary":"Create Share Link","description":"One active link per person per photo: asking again returns the same one. The life is capped\nby the album's plan; professional albums get the watermark.","operationId":"create_share_link_events__event_id__photos__photo_id__share_link_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"photo_id","in":"path","required":true,"schema":{"type":"string","title":"Photo Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/ShareLinkIn"},{"type":"null"}],"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["events"],"summary":"Revoke Share Link","description":"Stops every active link this person made for the photo; the host or a co-admin stops everyone's.","operationId":"revoke_share_link_events__event_id__photos__photo_id__share_link_delete","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"photo_id","in":"path","required":true,"schema":{"type":"string","title":"Photo Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/invitations/lookup":{"post":{"tags":["invitations"],"summary":"Lookup","description":"Preview who each contact resolves to (D-213). Hosts only.","operationId":"lookup_events__event_id__invitations_lookup_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/invitations":{"post":{"tags":["invitations"],"summary":"Invite","operationId":"invite_events__event_id__invitations_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InviteIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["invitations"],"summary":"Host Invitation Status","description":"Host view: who was invited and where they stand.","operationId":"host_invitation_status_events__event_id__invitations_get","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/invitations/resend":{"post":{"tags":["invitations"],"summary":"Resend Invitations","description":"D-445: send the invitation again to everyone still waiting (pending), with an optional note.\nHost or co-admin; at most once per person per day.","operationId":"resend_invitations_events__event_id__invitations_resend_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResendIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/invitations":{"get":{"tags":["invitations"],"summary":"My Invitations","description":"Invitations for me: pending (New), plus accepted and declined for the history sections\n(founder, 2026-09-07). Sender profile and relationship per D-318/D-319.","operationId":"my_invitations_invitations_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/invitations/sent":{"get":{"tags":["invitations"],"summary":"My Sent Invitations","description":"Invitations I sent, by event (D-409): who, through which group, where they stand, their RSVP.\nOnly my own rows, so co-hosts' invitations are not here. D-482: with `event_id`, a host or co-host\ngets everyone in that event, whoever added them, so the Guests tab matches the RSVP tiles.","operationId":"my_sent_invitations_invitations_sent_get","parameters":[{"name":"event_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/invitations/{member_id}/viewed":{"post":{"tags":["invitations"],"summary":"Mark Viewed","description":"First look at a pending invitation; it stays under New (in normal weight) until answered.","operationId":"mark_viewed_invitations__member_id__viewed_post","parameters":[{"name":"member_id","in":"path","required":true,"schema":{"type":"string","title":"Member Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/invitations/{member_id}/accept":{"post":{"tags":["invitations"],"summary":"Accept","operationId":"accept_invitations__member_id__accept_post","parameters":[{"name":"member_id","in":"path","required":true,"schema":{"type":"string","title":"Member Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__invitations__AcceptIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/invitations/{member_id}/decline":{"post":{"tags":["invitations"],"summary":"Decline","operationId":"decline_invitations__member_id__decline_post","parameters":[{"name":"member_id","in":"path","required":true,"schema":{"type":"string","title":"Member Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeclineIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/people/search":{"get":{"tags":["invitations"],"summary":"Search Public Profiles","description":"Public profiles only (is_public), by name or city. Private profiles never\nappear here; they're reached by exact email, phone or Profile ID.","operationId":"search_public_profiles_people_search_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","default":"","title":"Q"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/notifications":{"get":{"tags":["notifications"],"summary":"List Notifications","operationId":"list_notifications_notifications_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/notifications/unread-count":{"get":{"tags":["notifications"],"summary":"Unread Count","operationId":"unread_count_notifications_unread_count_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/notifications/read":{"post":{"tags":["notifications"],"summary":"Mark Read","operationId":"mark_read_notifications_read_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReadIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/notifications/preferences":{"get":{"tags":["notifications"],"summary":"Get Prefs","operationId":"get_prefs_notifications_preferences_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["notifications"],"summary":"Set Prefs","operationId":"set_prefs_notifications_preferences_patch","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrefsIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/notifications/mute/{event_id}":{"put":{"tags":["notifications"],"summary":"Mute Event","description":"Mute or unmute one event (D-393): nothing about it reaches the bell, email or phone.","operationId":"mute_event_notifications_mute__event_id__put","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MuteIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/notifications/push/public-key":{"get":{"tags":["notifications"],"summary":"Push Public Key","description":"VAPID public key for the browser; null when phone notifications are off in this environment.","operationId":"push_public_key_notifications_push_public_key_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/notifications/push/subscribe":{"post":{"tags":["notifications"],"summary":"Push Subscribe","operationId":"push_subscribe_notifications_push_subscribe_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PushSubIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["notifications"],"summary":"Push Unsubscribe","operationId":"push_unsubscribe_notifications_push_subscribe_delete","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PushUnsubIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/notifications/push/subscriptions":{"get":{"tags":["notifications"],"summary":"Push Subscriptions","operationId":"push_subscriptions_notifications_push_subscriptions_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/me/trusted":{"get":{"tags":["contacts"],"summary":"List Trusted","operationId":"list_trusted_me_trusted_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["contacts"],"summary":"Add Trusted","operationId":"add_trusted_me_trusted_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/me/blocked":{"get":{"tags":["contacts"],"summary":"List Blocked","operationId":"list_blocked_me_blocked_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["contacts"],"summary":"Add Blocked","operationId":"add_blocked_me_blocked_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/me/trusted/{row_id}":{"delete":{"tags":["contacts"],"summary":"Remove Trusted","operationId":"remove_trusted_me_trusted__row_id__delete","parameters":[{"name":"row_id","in":"path","required":true,"schema":{"type":"string","title":"Row Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/me/blocked/{row_id}":{"delete":{"tags":["contacts"],"summary":"Remove Blocked","operationId":"remove_blocked_me_blocked__row_id__delete","parameters":[{"name":"row_id","in":"path","required":true,"schema":{"type":"string","title":"Row Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/me/people":{"get":{"tags":["contacts"],"summary":"My People","description":"Contacts (D-395): people derived from events (both accepted → connected; pending in an event I\nhost → invited) merged with the explicit contact list (added). Favourites first. Used by the\nContacts page and the co-admin / invitee pickers.","operationId":"my_people_me_people_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/me/people/contacts":{"post":{"tags":["contacts"],"summary":"Add Contacts","description":"Add people to my contacts by name + phone, email, Profile ID or user id. Private: they are not told.\nPeople not on Saanzh yet are kept by phone or email and linked when they sign up.","operationId":"add_contacts_me_people_contacts_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactsIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/me/people/contacts/{contact_id}":{"delete":{"tags":["contacts"],"summary":"Remove Contact","description":"Remove from People. A person I only typed is deleted; a person known from shared events is hidden\n(D-443): they stay in the events, nobody is told, and they come back if I add them again.","operationId":"remove_contact_me_people_contacts__contact_id__delete","parameters":[{"name":"contact_id","in":"path","required":true,"schema":{"type":"string","title":"Contact Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["contacts"],"summary":"Update Contact","description":"Edit name, relationship, age, city, country, phone, email or Profile ID of a contact I added.\nA changed phone, email or Profile ID re-links the row when that person is on Saanzh.","operationId":"update_contact_me_people_contacts__contact_id__patch","parameters":[{"name":"contact_id","in":"path","required":true,"schema":{"type":"string","title":"Contact Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/me/people/hide":{"post":{"tags":["contacts"],"summary":"Hide Person","description":"Remove someone known only from events from my People list (D-443): a hidden contact row.","operationId":"hide_person_me_people_hide_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HideIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/me/people/favourite":{"put":{"tags":["contacts"],"summary":"Set Favourite","description":"Star a contact. A person known only from events gets a contact row so the star has somewhere to live.","operationId":"set_favourite_me_people_favourite_put","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FavouriteIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/me/people/find":{"post":{"tags":["contacts"],"summary":"Find People","description":"Find people on Saanzh from separate fields. An identifier (Profile ID, email, phone) is exact and\nreaches private profiles; a name and/or city lists public profiles, every given term matching.","operationId":"find_people_me_people_find_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FindIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/me/people/preview":{"post":{"tags":["contacts"],"summary":"Preview People","description":"Add many (D-429/D-435): one result per row. An ID (Profile ID, email, phone) resolves to one person\n(private profiles too); a row with only a name and city lists every public profile that matches, for the\nperson to pick from. Says which are already in my contacts. Nothing is added here.","operationId":"preview_people_me_people_preview_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreviewIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/me/people/lookup":{"post":{"tags":["contacts"],"summary":"Lookup Person","description":"Friends page (D-369): resolve a phone, email or Profile ID to a person on Saanzh.\nExact identifiers reach private profiles too (that is the product rule); names only find public ones.","operationId":"lookup_person_me_people_lookup_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupOne"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/me/photos":{"get":{"tags":["photos"],"summary":"My Photos","operationId":"my_photos_me_photos_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/me/photos/archive":{"get":{"tags":["photos"],"summary":"My Photos Archive","description":"ZIP of the display versions, for saving to a PC. scope = uploads | of_me.","operationId":"my_photos_archive_me_photos_archive_get","parameters":[{"name":"scope","in":"query","required":false,"schema":{"type":"string","default":"uploads","title":"Scope"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/me/photos/{photo_id}/confirm":{"post":{"tags":["photos"],"summary":"Confirm Match","description":"\"This is me\" / \"not me\" on a photo (D-401 feedback loop).\n- Applies to every face in that photo matched to you. \"Not me\" keeps the row\n  (confirmed = false) so the worker doesn't recreate it and the photo drops\n  out of \"Of me\"; the worker also uses it as a negative example.\n- \"This is me\" on a photo the matcher missed: the caller must be able to see\n  the photo; the face closest to your samples (or the only face) becomes a\n  confirmed match, and the worker uses it as an extra sample from then on.","operationId":"confirm_match_me_photos__photo_id__confirm_post","parameters":[{"name":"photo_id","in":"path","required":true,"schema":{"type":"string","title":"Photo Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfirmIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/share/{token}":{"get":{"tags":["share"],"summary":"Describe","operationId":"describe_share__token__get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/share/{token}/image":{"get":{"tags":["share"],"summary":"Image","operationId":"image_share__token__image_get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/stats":{"get":{"tags":["admin"],"summary":"Stats","operationId":"stats_admin_stats_get","parameters":[{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/settings":{"get":{"tags":["admin"],"summary":"List Settings","description":"Every stored setting plus every registry key not yet stored (with its default), with\nthe registry's label/group/scope/options so the console renders itself (D-363).","operationId":"list_settings_admin_settings_get","parameters":[{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["admin"],"summary":"Update Setting","operationId":"update_setting_admin_settings_put","parameters":[{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SettingIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/events":{"get":{"tags":["admin"],"summary":"List All Events","operationId":"list_all_events_admin_events_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}},{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/categories":{"get":{"tags":["admin"],"summary":"List Categories","operationId":"list_categories_admin_categories_get","parameters":[{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["admin"],"summary":"Upsert Category","description":"Add or change an event type. Hiding (active = false) keeps existing events valid.","operationId":"upsert_category_admin_categories_put","parameters":[{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CategoryIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/me/billing":{"get":{"tags":["billing"],"summary":"My Billing","operationId":"my_billing_users_me_billing_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/me/billing/plan":{"post":{"tags":["billing"],"summary":"Change Plan","operationId":"change_plan_users_me_billing_plan_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanChangeIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/me/face-samples":{"get":{"tags":["faces"],"summary":"List Samples","operationId":"list_samples_users_me_face_samples_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["faces"],"summary":"Add Samples","operationId":"add_samples_users_me_face_samples_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_add_samples_users_me_face_samples_post"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["faces"],"summary":"Remove All","description":"Withdraw enrolment entirely (D-310): samples, thumbnails and embeddings go.","operationId":"remove_all_users_me_face_samples_delete","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/me/face-samples/{sample_id}":{"delete":{"tags":["faces"],"summary":"Remove Sample","operationId":"remove_sample_users_me_face_samples__sample_id__delete","parameters":[{"name":"sample_id","in":"path","required":true,"schema":{"type":"string","title":"Sample Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/me/groups":{"get":{"tags":["groups"],"summary":"List Groups","operationId":"list_groups_me_groups_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["groups"],"summary":"Create Group","operationId":"create_group_me_groups_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/me/groups/{group_id}/history":{"get":{"tags":["groups"],"summary":"Group History","description":"D-550: the times this group was together: every event (any host) where at least two of its\nmembers were in, newest first, with how many of the group were there and the photo count.","operationId":"group_history_me_groups__group_id__history_get","parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","title":"Group Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/me/groups/{group_id}":{"patch":{"tags":["groups"],"summary":"Update Group","operationId":"update_group_me_groups__group_id__patch","parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","title":"Group Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["groups"],"summary":"Delete Group","operationId":"delete_group_me_groups__group_id__delete","parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","title":"Group Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/me/groups/{group_id}/members":{"post":{"tags":["groups"],"summary":"Add Members","description":"Add by Profile ID / phone / email / user id. People on Saanzh are linked;\nothers are kept as email/phone until they sign up.","operationId":"add_members_me_groups__group_id__members_post","parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","title":"Group Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MembersIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/me/groups/{group_id}/members/{member_id}":{"delete":{"tags":["groups"],"summary":"Remove Member","operationId":"remove_member_me_groups__group_id__members__member_id__delete","parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","title":"Group Id"}},{"name":"member_id","in":"path","required":true,"schema":{"type":"string","title":"Member Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/me/groups/{group_id}/copy":{"post":{"tags":["groups"],"summary":"Copy Group","description":"Copy a group with all its members under a new name (D-398).","operationId":"copy_group_me_groups__group_id__copy_post","parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","title":"Group Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__groups__CopyIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/me/groups/{group_id}/share":{"post":{"tags":["groups"],"summary":"Share Group","description":"Share a group with people on Saanzh (D-399): each gets a notification and can import it\nunder the same or another name. Only members who are on Saanzh travel; no phone or email\nof a third person is forwarded. Recipients must be in my contacts or share an event with me.","operationId":"share_group_me_groups__group_id__share_post","parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","title":"Group Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__groups__ShareIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/me/groups/shares":{"get":{"tags":["groups"],"summary":"My Shares","description":"Groups shared with me that I haven't answered.","operationId":"my_shares_me_groups_shares_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/me/groups/shares/{share_id}/import":{"post":{"tags":["groups"],"summary":"Import Share","operationId":"import_share_me_groups_shares__share_id__import_post","parameters":[{"name":"share_id","in":"path","required":true,"schema":{"type":"string","title":"Share Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportShareIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/me/groups/shares/{share_id}/decline":{"post":{"tags":["groups"],"summary":"Decline Share","operationId":"decline_share_me_groups_shares__share_id__decline_post","parameters":[{"name":"share_id","in":"path","required":true,"schema":{"type":"string","title":"Share Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/me/groups/from-event":{"post":{"tags":["groups"],"summary":"Group From Event","description":"Save an event's guest list as a reusable group (accepted + pending members).","operationId":"group_from_event_me_groups_from_event_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FromEventIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/me/groups/{group_id}/import":{"post":{"tags":["groups"],"summary":"Import Members","description":"CSV upload into a group. Columns are found by name (email, phone, Profile ID);\na header-less file of emails/phones also works.","operationId":"import_members_me_groups__group_id__import_post","parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","title":"Group Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_import_members_me_groups__group_id__import_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/me/groups/{group_id}/export.csv":{"get":{"tags":["groups"],"summary":"Export Members","description":"CSV download of a group: name, Profile ID, email, phone (unmasked for the\nowner's own list; these are the owner's contacts).","operationId":"export_members_me_groups__group_id__export_csv_get","parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","title":"Group Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/reminders":{"get":{"tags":["rsvp"],"summary":"List Reminders","operationId":"list_reminders_events__event_id__reminders_get","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["rsvp"],"summary":"Add Reminder","description":"Schedule a reminder. Dated today it goes out at once; later ones go with the daily job.","operationId":"add_reminder_events__event_id__reminders_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReminderIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/reminders/{reminder_id}":{"delete":{"tags":["rsvp"],"summary":"Remove Reminder","operationId":"remove_reminder_events__event_id__reminders__reminder_id__delete","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"reminder_id","in":"path","required":true,"schema":{"type":"string","title":"Reminder Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/rsvp":{"post":{"tags":["rsvp"],"summary":"Set Rsvp","operationId":"set_rsvp_events__event_id__rsvp_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RsvpIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/rsvp/nudge":{"post":{"tags":["rsvp"],"summary":"Nudge","description":"Host/co-admin reminds everyone who hasn't replied. At most one nudge per person per day.","operationId":"nudge_events__event_id__rsvp_nudge_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/rsvps":{"get":{"tags":["rsvp"],"summary":"List Rsvps","description":"Everyone: the counts. Hosts and co-admins: who answered what.","operationId":"list_rsvps_events__event_id__rsvps_get","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/attendance":{"get":{"tags":["rsvp"],"summary":"Attendance","description":"D-539: who was there. For the host and co-hosts: every guest with their reply, the people they\nbrought, and how many of the event's photos they appear in; the ones never photographed listed apart.","operationId":"attendance_events__event_id__attendance_get","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/today":{"get":{"tags":["rsvp"],"summary":"Today Card","description":"D-552: the day-of card for the host and co-hosts: the head-count, who has opened the album today,\nwhat is still unclaimed on the bring list, photos added today.","operationId":"today_card_events__event_id__today_get","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/photo-requests":{"post":{"tags":["rsvp"],"summary":"Photo Request","description":"D-553: \"does anyone have a photo of me with Grandma?\" A line on Updates and a notification to\neveryone accepted. Once a day per person per event.","operationId":"photo_request_events__event_id__photo_requests_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhotoRequestIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/memory":{"get":{"tags":["rsvp"],"summary":"Memory","description":"D-554: the album handover: everything but the photos, on one page to print or save as PDF:\nthe card, the details, who came and what they said, who brought what, the updates, the numbers.","operationId":"memory_events__event_id__memory_get","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/messages":{"get":{"tags":["rsvp"],"summary":"List Messages","operationId":"list_messages_events__event_id__messages_get","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["rsvp"],"summary":"Post Message","description":"Host or co-admin writes to everyone who accepted.","operationId":"post_message_events__event_id__messages_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/feed":{"get":{"tags":["rsvp"],"summary":"Event Feed","description":"D-485: the Updates timeline. Host updates, photos added (grouped by person and day), replies\n(all of them for the host and co-hosts; yes and maybe for guests once the list is public), status\nchanges from the activity log, and a reply-by reminder for a guest who has not answered. Newest first.","operationId":"event_feed_events__event_id__feed_get","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"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":{"tags":["rsvp"],"summary":"Calendar File","description":"All-day calendar entry (works in Apple Calendar, Google Calendar, Outlook).","operationId":"calendar_file_events__event_id__calendar_ics_get","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/rsvp/quick/{token}":{"get":{"tags":["rsvp"],"summary":"Quick Rsvp View","description":"`peek=1` is the link-preview fetch (D-548): the same answer, but it does not count as opened.","operationId":"quick_rsvp_view_rsvp_quick__token__get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}},{"name":"peek","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Peek"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["rsvp"],"summary":"Quick Rsvp Answer","operationId":"quick_rsvp_answer_rsvp_quick__token__post","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuickIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/invitations/templates":{"get":{"tags":["invitation-templates"],"summary":"Get Templates","operationId":"get_templates_events__event_id__invitations_templates_get","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["invitation-templates"],"summary":"Create Template","operationId":"create_template_events__event_id__invitations_templates_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/invitations/templates/{template_id}":{"patch":{"tags":["invitation-templates"],"summary":"Update Template","operationId":"update_template_events__event_id__invitations_templates__template_id__patch","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"template_id","in":"path","required":true,"schema":{"type":"string","title":"Template Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplatePatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["invitation-templates"],"summary":"Delete Template","operationId":"delete_template_events__event_id__invitations_templates__template_id__delete","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"template_id","in":"path","required":true,"schema":{"type":"string","title":"Template Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/invitations/templates/{template_id}/attachment":{"post":{"tags":["invitation-templates"],"summary":"Upload Template Attachment","description":"A photo, a PDF, or a short video (about 15 seconds of phone video fits the size limit).","operationId":"upload_template_attachment_events__event_id__invitations_templates__template_id__attachment_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"template_id","in":"path","required":true,"schema":{"type":"string","title":"Template Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_template_attachment_events__event_id__invitations_templates__template_id__attachment_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["invitation-templates"],"summary":"Remove Template Attachment","operationId":"remove_template_attachment_events__event_id__invitations_templates__template_id__attachment_delete","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"template_id","in":"path","required":true,"schema":{"type":"string","title":"Template Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/me/family/join-requests":{"get":{"tags":["family"],"summary":"My Join Requests","description":"Families that asked me to join (D-403).","operationId":"my_join_requests_users_me_family_join_requests_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/me/family/join-requests/{profile_id}/accept":{"post":{"tags":["family"],"summary":"Accept Join","description":"I agree to be listed. `share_keys`: Saanzh may use my face keys (embeddings, never my photos) to find\nme in the owner's events; the results show only in their family view. I can change this any time.","operationId":"accept_join_users_me_family_join_requests__profile_id__accept_post","parameters":[{"name":"profile_id","in":"path","required":true,"schema":{"type":"string","title":"Profile Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JoinAnswerIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/me/family/join-requests/{profile_id}/decline":{"post":{"tags":["family"],"summary":"Decline Join","operationId":"decline_join_users_me_family_join_requests__profile_id__decline_post","parameters":[{"name":"profile_id","in":"path","required":true,"schema":{"type":"string","title":"Profile Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/me/family/memberships/{profile_id}/keys":{"patch":{"tags":["family"],"summary":"Set Keys Shared","description":"Turn \"use my keys in their events\" on or off for a family I'm in.","operationId":"set_keys_shared_users_me_family_memberships__profile_id__keys_patch","parameters":[{"name":"profile_id","in":"path","required":true,"schema":{"type":"string","title":"Profile Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JoinAnswerIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/me/family":{"get":{"tags":["family"],"summary":"List Profiles","operationId":"list_profiles_users_me_family_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["family"],"summary":"Create Profile","operationId":"create_profile_users_me_family_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__family__ProfileIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/me/family/{profile_id}":{"patch":{"tags":["family"],"summary":"Update Profile","operationId":"update_profile_users_me_family__profile_id__patch","parameters":[{"name":"profile_id","in":"path","required":true,"schema":{"type":"string","title":"Profile Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__family__ProfilePatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["family"],"summary":"Delete Profile","description":"Removes the profile, its samples and files, and every match made for it (FK cascade).","operationId":"delete_profile_users_me_family__profile_id__delete","parameters":[{"name":"profile_id","in":"path","required":true,"schema":{"type":"string","title":"Profile Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/me/family/{profile_id}/samples":{"get":{"tags":["family"],"summary":"List Samples","operationId":"list_samples_users_me_family__profile_id__samples_get","parameters":[{"name":"profile_id","in":"path","required":true,"schema":{"type":"string","title":"Profile Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["family"],"summary":"Add Samples","operationId":"add_samples_users_me_family__profile_id__samples_post","parameters":[{"name":"profile_id","in":"path","required":true,"schema":{"type":"string","title":"Profile Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_add_samples_users_me_family__profile_id__samples_post"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["family"],"summary":"Remove All","operationId":"remove_all_users_me_family__profile_id__samples_delete","parameters":[{"name":"profile_id","in":"path","required":true,"schema":{"type":"string","title":"Profile Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/me/family/{profile_id}/samples/{sample_id}":{"delete":{"tags":["family"],"summary":"Remove Sample","operationId":"remove_sample_users_me_family__profile_id__samples__sample_id__delete","parameters":[{"name":"profile_id","in":"path","required":true,"schema":{"type":"string","title":"Profile Id"}},{"name":"sample_id","in":"path","required":true,"schema":{"type":"string","title":"Sample Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/me/family/{profile_id}/convert":{"post":{"tags":["family"],"summary":"Convert Profile","description":"Owner gives the person their own Saanzh account: an invitation email goes out, and their\nface samples and every match made for them move to the new account. Parental consent ends;\nfrom now on they consent for themselves. They stay listed under My Family until they leave.","operationId":"convert_profile_users_me_family__profile_id__convert_post","parameters":[{"name":"profile_id","in":"path","required":true,"schema":{"type":"string","title":"Profile Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConvertIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/me/family/memberships":{"get":{"tags":["family"],"summary":"My Family Memberships","description":"Families I'm listed in (after a conversion), so I can leave.","operationId":"my_family_memberships_users_me_family_memberships_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/me/family/memberships/{profile_id}":{"delete":{"tags":["family"],"summary":"Leave Family","description":"Opt out of someone's family list. Samples and matches are already mine, so only the link goes.","operationId":"leave_family_users_me_family_memberships__profile_id__delete","parameters":[{"name":"profile_id","in":"path","required":true,"schema":{"type":"string","title":"Profile Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/me/family/requests":{"get":{"tags":["family"],"summary":"My Link Requests","operationId":"my_link_requests_users_me_family_requests_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/me/family/requests/{profile_id}/accept":{"post":{"tags":["family"],"summary":"Accept Link","description":"The person agrees: the owner's samples and matches for them become theirs and the family link stands.","operationId":"accept_link_users_me_family_requests__profile_id__accept_post","parameters":[{"name":"profile_id","in":"path","required":true,"schema":{"type":"string","title":"Profile Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/me/family/requests/{profile_id}/decline":{"post":{"tags":["family"],"summary":"Decline Link","operationId":"decline_link_users_me_family_requests__profile_id__decline_post","parameters":[{"name":"profile_id","in":"path","required":true,"schema":{"type":"string","title":"Profile Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/me/family/{profile_id}/shares":{"get":{"tags":["family"],"summary":"Profile Shares","description":"Who the owner has shared this profile with, and the state of each share.","operationId":"profile_shares_users_me_family__profile_id__shares_get","parameters":[{"name":"profile_id","in":"path","required":true,"schema":{"type":"string","title":"Profile Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/me/family/{profile_id}/share":{"post":{"tags":["family"],"summary":"Share Profile","description":"Share a profile I hold (no account of its own) with one of my contacts who is on Saanzh.\nThey are asked; until they accept nothing changes. A minor is shared under my guardian consent.","operationId":"share_profile_users_me_family__profile_id__share_post","parameters":[{"name":"profile_id","in":"path","required":true,"schema":{"type":"string","title":"Profile Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__family__ShareIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/me/family/share-requests":{"get":{"tags":["family"],"summary":"My Share Requests","description":"Profiles other guardians offered to share with me, waiting for my answer.","operationId":"my_share_requests_users_me_family_share_requests_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/me/family/share-requests/{share_id}/accept":{"post":{"tags":["family"],"summary":"Accept Share","operationId":"accept_share_users_me_family_share_requests__share_id__accept_post","parameters":[{"name":"share_id","in":"path","required":true,"schema":{"type":"string","title":"Share Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/me/family/share-requests/{share_id}/decline":{"post":{"tags":["family"],"summary":"Decline Share","operationId":"decline_share_users_me_family_share_requests__share_id__decline_post","parameters":[{"name":"share_id","in":"path","required":true,"schema":{"type":"string","title":"Share Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/me/family/shares/{share_id}":{"delete":{"tags":["family"],"summary":"End Share","description":"The guardian takes the share back, or the recipient leaves. Matches stay with the profile;\nthe recipient simply stops seeing them.","operationId":"end_share_users_me_family_shares__share_id__delete","parameters":[{"name":"share_id","in":"path","required":true,"schema":{"type":"string","title":"Share Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/support":{"post":{"tags":["support"],"summary":"Report","operationId":"report_support_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/support/mine":{"get":{"tags":["support"],"summary":"Mine","operationId":"mine_support_mine_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/support/options":{"get":{"tags":["support"],"summary":"Options","description":"Which report types are on in this environment (admin switches).","operationId":"options_support_options_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/webhooks/github":{"post":{"tags":["webhooks"],"summary":"Github Webhook","operationId":"github_webhook_webhooks_github_post","parameters":[{"name":"x-hub-signature-256","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Hub-Signature-256"}},{"name":"x-github-event","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Github-Event"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/photos/mail/{token}":{"get":{"tags":["photos"],"summary":"Mail Photo","operationId":"mail_photo_photos_mail__token__get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/photos/{photo_id}/faces":{"get":{"tags":["faces"],"summary":"List Faces","description":"The faces the worker found in a photo, each with who it is when known. Boxes are in the pixels\nof the display image, which is the one the app shows.","operationId":"list_faces_events__event_id__photos__photo_id__faces_get","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"photo_id","in":"path","required":true,"schema":{"type":"string","title":"Photo Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/photos/{photo_id}/faces/{face_id}/tag":{"post":{"tags":["faces"],"summary":"Tag Face","description":"Name a face: a member of the event, one of my family profiles, or a new name (which becomes\na family profile under me, with this face as its first sample).","operationId":"tag_face_events__event_id__photos__photo_id__faces__face_id__tag_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"photo_id","in":"path","required":true,"schema":{"type":"string","title":"Photo Id"}},{"name":"face_id","in":"path","required":true,"schema":{"type":"string","title":"Face Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TagIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["faces"],"summary":"Untag Face","description":"Take the name off a face. The host may clear any; a member clears their own or their family's.","operationId":"untag_face_events__event_id__photos__photo_id__faces__face_id__tag_delete","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"photo_id","in":"path","required":true,"schema":{"type":"string","title":"Photo Id"}},{"name":"face_id","in":"path","required":true,"schema":{"type":"string","title":"Face Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/bring":{"get":{"tags":["bring"],"summary":"List Items","operationId":"list_items_events__event_id__bring_get","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["bring"],"summary":"Add Item","operationId":"add_item_events__event_id__bring_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ItemIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/bring/{item_id}":{"delete":{"tags":["bring"],"summary":"Remove Item","operationId":"remove_item_events__event_id__bring__item_id__delete","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/{event_id}/bring/{item_id}/claim":{"post":{"tags":["bring"],"summary":"Claim","description":"I'll bring this. Refused when someone else already has it.","operationId":"claim_events__event_id__bring__item_id__claim_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["bring"],"summary":"Unclaim","description":"I can't bring this after all. The host may free anyone's claim.","operationId":"unclaim_events__event_id__bring__item_id__claim_delete","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/polls":{"get":{"tags":["polls"],"summary":"My Polls","description":"Polls I opened, and polls I was asked to vote on (by a notification), newest first.","operationId":"my_polls_polls_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["polls"],"summary":"Create Poll","operationId":"create_poll_polls_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PollIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/polls/{poll_id}":{"get":{"tags":["polls"],"summary":"Get Poll","operationId":"get_poll_polls__poll_id__get","parameters":[{"name":"poll_id","in":"path","required":true,"schema":{"type":"string","title":"Poll Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["polls"],"summary":"Delete Poll","operationId":"delete_poll_polls__poll_id__delete","parameters":[{"name":"poll_id","in":"path","required":true,"schema":{"type":"string","title":"Poll Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/polls/{poll_id}/vote":{"post":{"tags":["polls"],"summary":"Vote","operationId":"vote_polls__poll_id__vote_post","parameters":[{"name":"poll_id","in":"path","required":true,"schema":{"type":"string","title":"Poll Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoteIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/polls/{poll_id}/close":{"post":{"tags":["polls"],"summary":"Close Poll","description":"The owner picks the date. The reply carries what the new-event page needs.","operationId":"close_poll_polls__poll_id__close_post","parameters":[{"name":"poll_id","in":"path","required":true,"schema":{"type":"string","title":"Poll Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloseIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/polls/public/{poll_id}":{"get":{"tags":["polls"],"summary":"Public Poll","operationId":"public_poll_polls_public__poll_id__get","parameters":[{"name":"poll_id","in":"path","required":true,"schema":{"type":"string","title":"Poll Id"}},{"name":"name","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/polls/public/{poll_id}/vote":{"post":{"tags":["polls"],"summary":"Public Vote","operationId":"public_vote_polls_public__poll_id__vote_post","parameters":[{"name":"poll_id","in":"path","required":true,"schema":{"type":"string","title":"Poll Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoteIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/people":{"get":{"tags":["admin"],"summary":"People","operationId":"people_admin_people_get","parameters":[{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/people/{user_id}":{"patch":{"tags":["admin"],"summary":"Patch Person","operationId":"patch_person_admin_people__user_id__patch","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}},{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["admin"],"summary":"Delete Person","description":"Same purge the person would get from My Profile → Account (biometrics first).","operationId":"delete_person_admin_people__user_id__delete","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}},{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/console/prefs":{"post":{"tags":["admin"],"summary":"Console Prefs","description":"D-522: a console user's own preferences (time zone, date and time format). Unknown keys are dropped.","operationId":"console_prefs_admin_console_prefs_post","parameters":[{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsolePrefsIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/console/whoami":{"post":{"tags":["admin"],"summary":"Console Whoami","description":"Role and two-factor state for a signed-in email; the built-in owner is always known.","operationId":"console_whoami_admin_console_whoami_post","parameters":[{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsoleWhoIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/console/users":{"get":{"tags":["admin"],"summary":"Console Users","operationId":"console_users_admin_console_users_get","parameters":[{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["admin"],"summary":"Console Put User","operationId":"console_put_user_admin_console_users_put","parameters":[{"name":"x-admin-actor","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Admin-Actor"}},{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsoleUserIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/console/users/{email}":{"delete":{"tags":["admin"],"summary":"Console Delete User","operationId":"console_delete_user_admin_console_users__email__delete","parameters":[{"name":"email","in":"path","required":true,"schema":{"type":"string","title":"Email"}},{"name":"x-admin-actor","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Admin-Actor"}},{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/console/totp/setup":{"post":{"tags":["admin"],"summary":"Console Totp Setup","description":"A fresh secret for this person (replaces an unverified one; a verified one needs a reset first).","operationId":"console_totp_setup_admin_console_totp_setup_post","parameters":[{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsoleWhoIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/console/totp/verify":{"post":{"tags":["admin"],"summary":"Console Totp Verify","description":"Checks a code. On the first good code the secret becomes the enabled one.","operationId":"console_totp_verify_admin_console_totp_verify_post","parameters":[{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsoleCodeIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/console/totp/reset":{"post":{"tags":["admin"],"summary":"Console Totp Reset","description":"An owner clears someone's two-factor (lost phone); they set it up again at next sign-in.","operationId":"console_totp_reset_admin_console_totp_reset_post","parameters":[{"name":"x-admin-actor","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Admin-Actor"}},{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsoleWhoIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/storage/copy-to-r2":{"post":{"tags":["admin"],"summary":"Copy Photos To R2","description":"D-502: copy photo files from the Supabase bucket into R2, a batch at a time, skipping what is\nalready there. Run it until `remaining` is 0. Rows never change: the keys are the same in both.","operationId":"copy_photos_to_r2_admin_storage_copy_to_r2_post","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":300,"title":"Limit"}},{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/people/{user_id}/merge":{"post":{"tags":["admin"],"summary":"Merge Person","description":"D-486: fold `user_id` into another account: events, memberships, photos, faces, contacts, groups,\nfamily, comments, notifications and the rest move over; collisions keep the target's row; the\ntarget's profile fills its blanks from the source; the source sign-in is removed.","operationId":"merge_person_admin_people__user_id__merge_post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}},{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MergeIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/audit":{"get":{"tags":["admin"],"summary":"Audit Log","operationId":"audit_log_admin_audit_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":500,"title":"Limit"}},{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/settings/history":{"get":{"tags":["admin"],"summary":"Settings History","operationId":"settings_history_admin_settings_history_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":500,"title":"Limit"}},{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/feedback":{"get":{"tags":["admin"],"summary":"Feedback","operationId":"feedback_admin_feedback_get","parameters":[{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/approvals":{"get":{"tags":["admin"],"summary":"Approvals","description":"Accounts waiting for approval (D-515), newest first, plus the recent decisions.","operationId":"approvals_admin_approvals_get","parameters":[{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/approvals/{user_id}":{"patch":{"tags":["admin"],"summary":"Patch Approval","operationId":"patch_approval_admin_approvals__user_id__patch","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}},{"name":"x-admin-actor","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Admin-Actor"}},{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApprovalPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/approvals/end-beta":{"post":{"tags":["admin"],"summary":"End Beta","description":"D-523: one action to open the doors: beta_mode off, everyone waiting approved (each gets the\naccount_approved notification), the apex banner gone within the settings cache TTL.","operationId":"end_beta_admin_approvals_end_beta_post","parameters":[{"name":"x-admin-actor","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Admin-Actor"}},{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/errors":{"get":{"tags":["admin"],"summary":"Recent Errors","description":"D-524: the last unhandled errors on this API instance (ring buffer; a restart empties it) with the\nactivity-log rows behind them, so the console can show tracebacks without the host's logs.","operationId":"recent_errors_admin_errors_get","parameters":[{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/notification-types":{"get":{"tags":["admin"],"summary":"Notification Types","description":"adm_notification_types with whether the code still emits each type and the default channels (D-516).","operationId":"notification_types_admin_notification_types_get","parameters":[{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/notification-types/{ntype}":{"put":{"tags":["admin"],"summary":"Put Notification Type","operationId":"put_notification_type_admin_notification_types__ntype__put","parameters":[{"name":"ntype","in":"path","required":true,"schema":{"type":"string","title":"Ntype"}},{"name":"x-admin-actor","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Admin-Actor"}},{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationTypePatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/migrations":{"get":{"tags":["admin"],"summary":"Migrations","description":"adm_migrations as applied on this environment (D-516); read-only, the SQL editor applies them.","operationId":"migrations_admin_migrations_get","parameters":[{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/feedback/{report_id}":{"patch":{"tags":["admin"],"summary":"Patch Feedback","operationId":"patch_feedback_admin_feedback__report_id__patch","parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"string","title":"Report Id"}},{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeedbackPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/system":{"get":{"tags":["admin"],"summary":"System","operationId":"system_admin_system_get","parameters":[{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/infrastructure":{"get":{"tags":["admin"],"summary":"Infrastructure","description":"The product's footprint: configured / healthy per component, never values (D-365).","operationId":"infrastructure_admin_infrastructure_get","parameters":[{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/usage":{"get":{"tags":["admin"],"summary":"Usage","operationId":"usage_admin_usage_get","parameters":[{"name":"period","in":"query","required":false,"schema":{"enum":["daily","weekly","monthly","quarterly","yearly"],"type":"string","default":"monthly","title":"Period"}},{"name":"points","in":"query","required":false,"schema":{"type":"integer","default":12,"title":"Points"}},{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/space":{"get":{"tags":["admin"],"summary":"Space","operationId":"space_admin_space_get","parameters":[{"name":"by","in":"query","required":false,"schema":{"enum":["event","user"],"type":"string","default":"event","title":"By"}},{"name":"top","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Top"}},{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/finance":{"get":{"tags":["admin"],"summary":"Finance","description":"Revenue vs cost from live numbers and plan prices (hosting, marketing, salaries excluded).","operationId":"finance_admin_finance_get","parameters":[{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/expiries":{"get":{"tags":["admin"],"summary":"Expiries","operationId":"expiries_admin_expiries_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":60,"title":"Days"}},{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/announce":{"post":{"tags":["admin"],"summary":"Announce","operationId":"announce_admin_announce_post","parameters":[{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnnounceIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/invite-codes":{"get":{"tags":["admin"],"summary":"Invite Codes","operationId":"invite_codes_admin_invite_codes_get","parameters":[{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["admin"],"summary":"Create Invite Code","operationId":"create_invite_code_admin_invite_codes_post","parameters":[{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InviteCodeIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/invite-codes/{code}":{"delete":{"tags":["admin"],"summary":"Delete Invite Code","operationId":"delete_invite_code_admin_invite_codes__code__delete","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string","title":"Code"}},{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/test-email":{"post":{"tags":["admin"],"summary":"Test Email","operationId":"test_email_admin_test_email_post","parameters":[{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestSendIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/test-push":{"post":{"tags":["admin"],"summary":"Test Push","operationId":"test_push_admin_test_push_post","parameters":[{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestSendIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/daily-summary":{"get":{"tags":["admin"],"summary":"Daily Summary","operationId":"daily_summary_admin_daily_summary_get","parameters":[{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/translations":{"get":{"tags":["admin"],"summary":"Translations","operationId":"translations_admin_translations_get","parameters":[{"name":"lang","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lang"}},{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["admin"],"summary":"Put Translations","description":"Upsert; an empty text deletes the override (falls back to the shipped text).","operationId":"put_translations_admin_translations_put","parameters":[{"name":"x-admin-actor","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Admin-Actor"}},{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TranslationRow"},"title":"Rows"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/events/{event_id}/hold":{"patch":{"tags":["admin"],"summary":"Event Hold","operationId":"event_hold_admin_events__event_id__hold_patch","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"x-admin-actor","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Admin-Actor"}},{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HoldIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/people/{user_id}/evidence":{"get":{"tags":["admin"],"summary":"Evidence","description":"Everything attributable to one account, for a lawful request: identity, sign-ins, uploads\n(with hashes and storage keys), memberships, activity and audit rows. Face embeddings excluded.","operationId":"evidence_admin_people__user_id__evidence_get","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}},{"name":"x-admin-actor","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Admin-Actor"}},{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/abuse":{"get":{"tags":["admin"],"summary":"Abuse Reports","operationId":"abuse_reports_admin_abuse_get","parameters":[{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/demo/reset":{"post":{"tags":["admin"],"summary":"Demo Reset Now","operationId":"demo_reset_now_admin_demo_reset_post","parameters":[{"name":"x-admin-actor","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Admin-Actor"}},{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/crypto/reencode":{"post":{"tags":["admin"],"summary":"Crypto Reencode","description":"Encrypt plaintext phone numbers, IPs and legal notes already in the database and (re)compute the\nphone blind index with the current key. Safe to run again; only touches what needs it.","operationId":"crypto_reencode_admin_crypto_reencode_post","parameters":[{"name":"x-admin-actor","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Admin-Actor"}},{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/email-preview":{"get":{"tags":["admin"],"summary":"Email Preview","description":"Rendered subject, HTML and text of one notification email in one language, with sample\nnames, so translators and the founder can see the real thing before anyone receives it.","operationId":"email_preview_admin_email_preview_get","parameters":[{"name":"type","in":"query","required":true,"schema":{"type":"string","title":"Type"}},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en","title":"Lang"}},{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/seed/sample":{"post":{"tags":["admin"],"summary":"Seed Sample Data","description":"D-510: the sample people, events and placeholder photos that `scripts/seed_people.py` used to\nwrite from a laptop, now run inside the API so the Mac needs no database key. Build (and local)\nonly; idempotent, so pressing again refreshes the same rows.","operationId":"seed_sample_data_admin_seed_sample_post","parameters":[{"name":"x-admin-actor","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Admin-Actor"}},{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/worker/query":{"post":{"tags":["worker"],"summary":"Query","operationId":"query_worker_query_post","parameters":[{"name":"x-worker-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Worker-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/worker/file":{"get":{"tags":["worker"],"summary":"File","operationId":"file_worker_file_get","parameters":[{"name":"bucket","in":"query","required":true,"schema":{"type":"string","title":"Bucket"}},{"name":"key","in":"query","required":true,"schema":{"type":"string","title":"Key"}},{"name":"x-worker-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Worker-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/worker/file-url":{"get":{"tags":["worker"],"summary":"File Url","description":"A ten-minute signed URL instead of the bytes (D-506). The worker then reads the file straight\nfrom storage, so photo bytes never cross Render's metered bandwidth; `/worker/file` stays for\nolder workers.","operationId":"file_url_worker_file_url_get","parameters":[{"name":"bucket","in":"query","required":true,"schema":{"type":"string","title":"Bucket"}},{"name":"key","in":"query","required":true,"schema":{"type":"string","title":"Key"}},{"name":"x-worker-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Worker-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/worker/notify":{"post":{"tags":["worker"],"summary":"Notify One","operationId":"notify_one_worker_notify_post","parameters":[{"name":"x-worker-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Worker-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotifyIn"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/worker/ping":{"get":{"tags":["worker"],"summary":"Ping","operationId":"ping_worker_ping_get","parameters":[{"name":"x-worker-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Worker-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/legal/documents":{"get":{"tags":["legal"],"summary":"Get Document","description":"Public. `document` is null when nothing is published (the app then shows the built-in pages).","operationId":"get_document_legal_documents_get","parameters":[{"name":"kind","in":"query","required":true,"schema":{"enum":["terms","privacy","face_consent","parental_consent"],"type":"string","title":"Kind"}},{"name":"country","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"}},{"name":"lang","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lang"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/legal/accept":{"post":{"tags":["legal"],"summary":"Accept","operationId":"accept_legal_accept_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__legal__AcceptIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/legal/status":{"get":{"tags":["legal"],"summary":"My Status","description":"Which kinds the caller still has to accept (published, applicable, not yet accepted at this version).","operationId":"my_status_legal_status_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/legal":{"get":{"tags":["admin"],"summary":"Admin List","operationId":"admin_list_admin_legal_get","parameters":[{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["admin"],"summary":"Admin Save","operationId":"admin_save_admin_legal_put","parameters":[{"name":"x-admin-actor","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Admin-Actor"}},{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/legal/{doc_id}":{"get":{"tags":["admin"],"summary":"Admin Get","operationId":"admin_get_admin_legal__doc_id__get","parameters":[{"name":"doc_id","in":"path","required":true,"schema":{"type":"string","title":"Doc Id"}},{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["admin"],"summary":"Admin Delete","operationId":"admin_delete_admin_legal__doc_id__delete","parameters":[{"name":"doc_id","in":"path","required":true,"schema":{"type":"string","title":"Doc Id"}},{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/legal/{doc_id}/clauses":{"put":{"tags":["admin"],"summary":"Admin Clauses","operationId":"admin_clauses_admin_legal__doc_id__clauses_put","parameters":[{"name":"doc_id","in":"path","required":true,"schema":{"type":"string","title":"Doc Id"}},{"name":"x-admin-actor","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Admin-Actor"}},{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ClauseIn"},"title":"Clauses"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/legal/{doc_id}/publish":{"post":{"tags":["admin"],"summary":"Admin Publish","description":"Publish; earlier published versions of the same kind/country/language retire.","operationId":"admin_publish_admin_legal__doc_id__publish_post","parameters":[{"name":"doc_id","in":"path","required":true,"schema":{"type":"string","title":"Doc Id"}},{"name":"x-admin-actor","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Admin-Actor"}},{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/legal/{doc_id}/copy":{"post":{"tags":["admin"],"summary":"Admin Copy","operationId":"admin_copy_admin_legal__doc_id__copy_post","parameters":[{"name":"doc_id","in":"path","required":true,"schema":{"type":"string","title":"Doc Id"}},{"name":"x-admin-actor","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Admin-Actor"}},{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__legal__CopyIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/health":{"get":{"summary":"Health","description":"Liveness probe — also used by the frontend to prove the deploy pipeline.\n\n`supabase_project` is the project ref parsed from SUPABASE_URL (public,\nnot a secret) so an env/project mismatch is visible from outside.","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"string"},"type":"object","title":"Response Health Health Get"}}}}}}},"/health/deep":{"get":{"summary":"Health Deep","description":"Keep-alive with a real database query (free Supabase projects pause when idle)\nand the trigger for the daily jobs (D-359). Hit every few hours by the GitHub\nActions schedule in .github/workflows/keepalive.yml; safe to call any time.","operationId":"health_deep_health_deep_get","parameters":[{"name":"k","in":"query","required":false,"schema":{"type":"string","default":"","title":"K"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Health Deep Health Deep Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/i18n/{lang}":{"get":{"summary":"I18N Overrides","description":"Admin translation overrides for web strings (D-366). Static dictionaries ship with the web app.","operationId":"i18n_overrides_i18n__lang__get","parameters":[{"name":"lang","in":"path","required":true,"schema":{"type":"string","title":"Lang"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/config":{"get":{"summary":"Public Config","description":"Non-secret runtime configuration for the web app (D-363): availability, banner, flags.","operationId":"public_config_config_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Public Config Config Get"}}}}}}},"/":{"get":{"summary":"Root","operationId":"root__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"string"},"type":"object","title":"Response Root  Get"}}}}}}}},"components":{"schemas":{"AcceptClause":{"properties":{"clause_id":{"type":"string","title":"Clause Id"},"initials":{"anyOf":[{"type":"string","maxLength":8},{"type":"null"}],"title":"Initials"}},"type":"object","required":["clause_id"],"title":"AcceptClause"},"ActivityIn":{"properties":{"viewed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Viewed"},"downloaded":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Downloaded"},"liked":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Liked"}},"type":"object","title":"ActivityIn"},"AnnounceIn":{"properties":{"title":{"type":"string","maxLength":120,"minLength":1,"title":"Title"},"body":{"type":"string","maxLength":2000,"minLength":1,"title":"Body"},"plan":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Plan"}},"type":"object","required":["title","body"],"title":"AnnounceIn"},"ApprovalPatch":{"properties":{"status":{"type":"string","enum":["approved","declined","pending"],"title":"Status"}},"type":"object","required":["status"],"title":"ApprovalPatch"},"ApproveIn":{"properties":{"photo_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Photo Ids"}},"type":"object","title":"ApproveIn"},"Body_add_samples_users_me_face_samples_post":{"properties":{"files":{"items":{"type":"string","format":"binary"},"type":"array","title":"Files"}},"type":"object","required":["files"],"title":"Body_add_samples_users_me_face_samples_post"},"Body_add_samples_users_me_family__profile_id__samples_post":{"properties":{"files":{"items":{"type":"string","format":"binary"},"type":"array","title":"Files"}},"type":"object","required":["files"],"title":"Body_add_samples_users_me_family__profile_id__samples_post"},"Body_import_ics_events_import_ics_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_import_ics_events_import_ics_post"},"Body_import_members_me_groups__group_id__import_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_import_members_me_groups__group_id__import_post"},"Body_upload_invitation_events__event_id__invitation_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_invitation_events__event_id__invitation_post"},"Body_upload_music_events__event_id__music_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_music_events__event_id__music_post"},"Body_upload_my_photo_users_me_photo_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_my_photo_users_me_photo_post"},"Body_upload_photos_events__event_id__photos_post":{"properties":{"files":{"items":{"type":"string","format":"binary"},"type":"array","title":"Files"}},"type":"object","required":["files"],"title":"Body_upload_photos_events__event_id__photos_post"},"Body_upload_template_attachment_events__event_id__invitations_templates__template_id__attachment_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_template_attachment_events__event_id__invitations_templates__template_id__attachment_post"},"BulkDeleteIn":{"properties":{"photo_ids":{"items":{"type":"string"},"type":"array","maxItems":500,"minItems":1,"title":"Photo Ids"}},"type":"object","required":["photo_ids"],"title":"BulkDeleteIn"},"CategoryIn":{"properties":{"key":{"type":"string","maxLength":30,"minLength":2,"pattern":"^[a-z][a-z0-9_]*$","title":"Key"},"label":{"type":"string","maxLength":40,"minLength":1,"title":"Label"},"sort_order":{"type":"integer","maximum":9999.0,"minimum":0.0,"title":"Sort Order","default":100},"active":{"type":"boolean","title":"Active","default":true},"default_face_matching":{"type":"boolean","title":"Default Face Matching","default":true}},"type":"object","required":["key","label"],"title":"CategoryIn"},"ClauseIn":{"properties":{"seq":{"type":"integer","maximum":999.0,"minimum":1.0,"title":"Seq"},"topic":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Topic"},"title":{"type":"string","maxLength":200,"minLength":1,"title":"Title"},"body":{"type":"string","maxLength":8000,"minLength":1,"title":"Body"},"requires_checkbox":{"type":"boolean","title":"Requires Checkbox","default":false},"requires_initials":{"type":"boolean","title":"Requires Initials","default":false},"mandatory":{"type":"boolean","title":"Mandatory","default":true},"summary":{"type":"boolean","title":"Summary","default":false}},"type":"object","required":["seq","title","body"],"title":"ClauseIn"},"CloseIn":{"properties":{"chosen":{"type":"string","format":"date","title":"Chosen"}},"type":"object","required":["chosen"],"title":"CloseIn"},"CommentIn":{"properties":{"body":{"type":"string","maxLength":1000,"minLength":1,"title":"Body"},"photo_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Photo Id"},"reply_to":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reply To"},"mentions":{"items":{"$ref":"#/components/schemas/MentionIn"},"type":"array","maxItems":20,"title":"Mentions"}},"type":"object","required":["body"],"title":"CommentIn"},"ConfirmIn":{"properties":{"is_me":{"type":"boolean","title":"Is Me"},"who":{"type":"string","enum":["me","family"],"title":"Who","default":"me"}},"type":"object","required":["is_me"],"title":"ConfirmIn"},"ConsoleCodeIn":{"properties":{"email":{"type":"string","maxLength":200,"minLength":3,"title":"Email"},"code":{"type":"string","maxLength":7,"minLength":6,"title":"Code"}},"type":"object","required":["email","code"],"title":"ConsoleCodeIn"},"ConsolePrefsIn":{"properties":{"email":{"type":"string","maxLength":200,"minLength":3,"title":"Email"},"prefs":{"type":"object","title":"Prefs"}},"type":"object","required":["email"],"title":"ConsolePrefsIn"},"ConsoleUserIn":{"properties":{"email":{"type":"string","maxLength":200,"minLength":3,"title":"Email"},"role":{"type":"string","enum":["owner","admin","read_only"],"title":"Role","default":"admin"}},"type":"object","required":["email"],"title":"ConsoleUserIn"},"ConsoleWhoIn":{"properties":{"email":{"type":"string","maxLength":200,"minLength":3,"title":"Email"}},"type":"object","required":["email"],"title":"ConsoleWhoIn"},"Contact":{"properties":{"phone":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Phone"},"email":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Email"},"user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"},"code":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"Code"},"contact_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Id"}},"type":"object","title":"Contact"},"ContactEntryIn":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Name"},"email":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Email"},"phone":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Phone"},"code":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"Code"},"user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"},"relationship":{"anyOf":[{"type":"string","pattern":"^(spouse|child|parent|sibling|cousin|friend|colleague|other)$"},{"type":"null"}],"title":"Relationship"},"is_minor":{"type":"boolean","title":"Is Minor","default":false},"place":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Place"},"country":{"anyOf":[{"type":"string","maxLength":60},{"type":"null"}],"title":"Country"}},"type":"object","title":"ContactEntryIn"},"ContactPatch":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Name"},"relationship":{"anyOf":[{"type":"string","pattern":"^(spouse|child|parent|sibling|cousin|friend|colleague|other|)$"},{"type":"null"}],"title":"Relationship"},"is_minor":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Minor"},"place":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Place"},"country":{"anyOf":[{"type":"string","maxLength":60},{"type":"null"}],"title":"Country"},"email":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Email"},"phone":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Phone"},"code":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"Code"},"nickname":{"anyOf":[{"type":"string","maxLength":60},{"type":"null"}],"title":"Nickname"}},"type":"object","title":"ContactPatch","description":"D-440: edit a contact I typed. Fields left out are unchanged; empty strings clear."},"ContactsIn":{"properties":{"entries":{"items":{"$ref":"#/components/schemas/ContactEntryIn"},"type":"array","maxItems":200,"title":"Entries"},"source":{"type":"string","pattern":"^(manual|csv|picker|event|lookup)$","title":"Source","default":"manual"}},"type":"object","required":["entries"],"title":"ContactsIn"},"ConvertIn":{"properties":{"email":{"type":"string","maxLength":200,"minLength":3,"title":"Email"}},"type":"object","required":["email"],"title":"ConvertIn"},"DeclineIn":{"properties":{"block_sender":{"type":"boolean","title":"Block Sender","default":false}},"type":"object","title":"DeclineIn"},"DeletionRequestIn":{"properties":{"reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Reason"},"category":{"type":"string","title":"Category","default":"remove"}},"type":"object","title":"DeletionRequestIn"},"DocIn":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"kind":{"type":"string","enum":["terms","privacy","face_consent","parental_consent"],"title":"Kind"},"country":{"type":"string","maxLength":2,"title":"Country","default":"*"},"language":{"type":"string","maxLength":8,"title":"Language","default":"en"},"version":{"type":"string","maxLength":40,"minLength":1,"title":"Version"},"title":{"type":"string","maxLength":200,"minLength":1,"title":"Title"},"require_reaccept":{"type":"boolean","title":"Require Reaccept","default":false},"effective_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Effective At"}},"type":"object","required":["kind","version","title"],"title":"DocIn"},"EventIn":{"properties":{"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"event_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Event Date"},"end_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"},"location":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Location"},"address":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}],"title":"Address"},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description"},"ai_processing_enabled":{"type":"boolean","title":"Ai Processing Enabled","default":true},"collect_until":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Collect Until"}},"type":"object","required":["name"],"title":"EventIn"},"EventPatch":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"Name"},"event_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Event Date"},"end_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"},"location":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Location"},"address":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}],"title":"Address"},"ai_processing_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Ai Processing Enabled"},"album_theme":{"anyOf":[{"type":"string","enum":["classic","celebration","journey","festival","quiet","simple"]},{"type":"null"}],"title":"Album Theme"},"collect_until":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Collect Until"},"cover_photo_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cover Photo Id"},"allow_downloads":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Allow Downloads"},"comments_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Comments Enabled"},"rsvp_public":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Rsvp Public"},"invitation_link_url":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Invitation Link Url"},"rsvp_by":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Rsvp By"}},"type":"object","title":"EventPatch"},"ExistsIn":{"properties":{"email":{"anyOf":[{"type":"string","maxLength":254},{"type":"null"}],"title":"Email"},"phone":{"anyOf":[{"type":"string","maxLength":24},{"type":"null"}],"title":"Phone"}},"type":"object","title":"ExistsIn"},"ExtendIn":{"properties":{"months":{"type":"integer","maximum":12.0,"minimum":1.0,"title":"Months","default":3}},"type":"object","title":"ExtendIn"},"FaceMatchingIn":{"properties":{"enabled":{"type":"boolean","title":"Enabled"}},"type":"object","required":["enabled"],"title":"FaceMatchingIn"},"FavouriteIn":{"properties":{"favourite":{"type":"boolean","title":"Favourite"},"contact_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Id"},"user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"}},"type":"object","required":["favourite"],"title":"FavouriteIn"},"FeedbackIn":{"properties":{"worth":{"anyOf":[{"type":"number","maximum":100000.0,"minimum":0.0},{"type":"null"}],"title":"Worth"},"currency":{"type":"string","pattern":"^(USD|INR)$","title":"Currency","default":"USD"},"per":{"anyOf":[{"type":"string","pattern":"^(event|year)$"},{"type":"null"}],"title":"Per"},"note":{"anyOf":[{"type":"string","maxLength":600},{"type":"null"}],"title":"Note"}},"type":"object","title":"FeedbackIn"},"FeedbackPatch":{"properties":{"status":{"type":"string","enum":["new","looking","waiting","done","closed"],"title":"Status"},"note":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Note"}},"type":"object","required":["status"],"title":"FeedbackPatch"},"FindIn":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Name"},"city":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"City"},"phone_country_code":{"anyOf":[{"type":"string","maxLength":6},{"type":"null"}],"title":"Phone Country Code"},"phone":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Phone"},"email":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Email"},"code":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"Code"}},"type":"object","title":"FindIn","description":"D-432: separate fields; fill one or more."},"FindMeIn":{"properties":{"enabled":{"type":"boolean","title":"Enabled"}},"type":"object","required":["enabled"],"title":"FindMeIn"},"FromEventIn":{"properties":{"event_id":{"type":"string","title":"Event Id"},"name":{"type":"string","maxLength":60,"minLength":1,"title":"Name"}},"type":"object","required":["event_id","name"],"title":"FromEventIn"},"GroupIn":{"properties":{"name":{"type":"string","maxLength":60,"minLength":1,"title":"Name"}},"type":"object","required":["name"],"title":"GroupIn"},"GroupPatch":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":60,"minLength":1},{"type":"null"}],"title":"Name"},"active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Active"},"description":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Description"}},"type":"object","title":"GroupPatch"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"HideIn":{"properties":{"user_id":{"type":"string","title":"User Id"}},"type":"object","required":["user_id"],"title":"HideIn"},"HoldIn":{"properties":{"legal_hold":{"type":"boolean","title":"Legal Hold"},"note":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Note"}},"type":"object","required":["legal_hold"],"title":"HoldIn"},"ImportShareIn":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":60,"minLength":1},{"type":"null"}],"title":"Name"}},"type":"object","title":"ImportShareIn"},"InviteCodeIn":{"properties":{"note":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Note"},"max_uses":{"type":"integer","maximum":10000.0,"minimum":1.0,"title":"Max Uses","default":1},"days_valid":{"type":"integer","maximum":365.0,"minimum":1.0,"title":"Days Valid","default":30}},"type":"object","title":"InviteCodeIn"},"InviteIn":{"properties":{"contacts":{"items":{"$ref":"#/components/schemas/Contact"},"type":"array","maxItems":50,"title":"Contacts"},"group_ids":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Group Ids"},"message":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Message"},"role":{"type":"string","enum":["member","co_admin"],"title":"Role","default":"member"},"template_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Template Id"},"send":{"type":"boolean","title":"Send","default":true}},"type":"object","title":"InviteIn"},"ItemIn":{"properties":{"name":{"type":"string","maxLength":80,"minLength":1,"title":"Name"},"quantity":{"type":"integer","maximum":99.0,"minimum":1.0,"title":"Quantity","default":1}},"type":"object","required":["name"],"title":"ItemIn"},"JoinAnswerIn":{"properties":{"share_keys":{"type":"boolean","title":"Share Keys","default":false}},"type":"object","title":"JoinAnswerIn"},"LinkReplyIn":{"properties":{"name":{"type":"string","maxLength":60,"minLength":1,"title":"Name"},"answer":{"type":"string","enum":["yes","no","maybe"],"title":"Answer"},"count":{"type":"integer","maximum":50.0,"minimum":0.0,"title":"Count","default":1},"phone":{"anyOf":[{"type":"string","maxLength":30},{"type":"null"}],"title":"Phone"},"sms_opt_in":{"type":"boolean","title":"Sms Opt In","default":false}},"type":"object","required":["name","answer"],"title":"LinkReplyIn","description":"D-547: a reply from the join link without an account."},"LookupIn":{"properties":{"contacts":{"items":{"$ref":"#/components/schemas/Contact"},"type":"array","maxItems":50,"minItems":1,"title":"Contacts"}},"type":"object","required":["contacts"],"title":"LookupIn"},"LookupOne":{"properties":{"q":{"type":"string","title":"Q"}},"type":"object","required":["q"],"title":"LookupOne"},"MemberPatch":{"properties":{"nickname":{"anyOf":[{"type":"string","maxLength":60},{"type":"null"}],"title":"Nickname"},"privileges":{"anyOf":[{"additionalProperties":{"type":"boolean"},"type":"object"},{"type":"null"}],"title":"Privileges"},"role":{"anyOf":[{"type":"string","enum":["member","co_admin"]},{"type":"null"}],"title":"Role"}},"type":"object","title":"MemberPatch"},"MembersIn":{"properties":{"contacts":{"items":{"$ref":"#/components/schemas/Contact"},"type":"array","maxItems":500,"minItems":1,"title":"Contacts"}},"type":"object","required":["contacts"],"title":"MembersIn"},"MentionIn":{"properties":{"type":{"type":"string","pattern":"^(user|group)$","title":"Type"},"id":{"type":"string","title":"Id"},"name":{"type":"string","maxLength":120,"title":"Name"}},"type":"object","required":["type","id","name"],"title":"MentionIn"},"MergeConfirmIn":{"properties":{"request_id":{"type":"string","title":"Request Id"},"code":{"type":"string","maxLength":6,"minLength":6,"title":"Code"}},"type":"object","required":["request_id","code"],"title":"MergeConfirmIn"},"MergeIn":{"properties":{"into":{"type":"string","maxLength":200,"minLength":3,"title":"Into"}},"type":"object","required":["into"],"title":"MergeIn"},"MergeStartIn":{"properties":{"email":{"type":"string","maxLength":200,"minLength":5,"title":"Email"}},"type":"object","required":["email"],"title":"MergeStartIn"},"MessageIn":{"properties":{"body":{"type":"string","maxLength":2000,"minLength":1,"title":"Body"}},"type":"object","required":["body"],"title":"MessageIn"},"MuteIn":{"properties":{"muted":{"type":"boolean","title":"Muted"}},"type":"object","required":["muted"],"title":"MuteIn"},"NotificationTypePatch":{"properties":{"description":{"type":"string","maxLength":200,"minLength":1,"title":"Description"}},"type":"object","required":["description"],"title":"NotificationTypePatch"},"NotifyIn":{"properties":{"recipient_user_id":{"type":"string","title":"Recipient User Id"},"type":{"type":"string","title":"Type"},"event_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Id"},"payload":{"type":"object","title":"Payload"}},"type":"object","required":["recipient_user_id","type"],"title":"NotifyIn"},"PersonIn":{"properties":{"user_id":{"type":"string","title":"User Id"}},"type":"object","required":["user_id"],"title":"PersonIn"},"PersonPatch":{"properties":{"plan":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Plan"},"plan_note":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Plan Note"},"suspended":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Suspended"},"legal_hold":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Legal Hold"},"legal_hold_note":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Legal Hold Note"}},"type":"object","title":"PersonPatch"},"PhoneCheck":{"properties":{"code":{"type":"string","maxLength":10,"minLength":3,"title":"Code"}},"type":"object","required":["code"],"title":"PhoneCheck"},"PhoneStart":{"properties":{"channel":{"type":"string","title":"Channel","default":"sms"}},"type":"object","title":"PhoneStart"},"PhotoRequestIn":{"properties":{"text":{"type":"string","maxLength":300,"minLength":3,"title":"Text"}},"type":"object","required":["text"],"title":"PhotoRequestIn"},"PlanChangeIn":{"properties":{"plan":{"type":"string","enum":["free","basic","premium","pro","pro_plus"],"title":"Plan"},"billing_cycle":{"type":"string","enum":["monthly","yearly","one_time"],"title":"Billing Cycle","default":"monthly"}},"type":"object","required":["plan"],"title":"PlanChangeIn"},"PollIn":{"properties":{"title":{"type":"string","maxLength":120,"minLength":1,"title":"Title"},"dates":{"items":{"type":"string","format":"date"},"type":"array","maxItems":12,"minItems":2,"title":"Dates"},"group_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Group Id"}},"type":"object","required":["title","dates"],"title":"PollIn"},"PostponeIn":{"properties":{"event_date":{"type":"string","format":"date","title":"Event Date"},"end_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date"},"message":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Message"}},"type":"object","required":["event_date"],"title":"PostponeIn"},"PrefsIn":{"properties":{"preferences":{"anyOf":[{"additionalProperties":{"additionalProperties":{"type":"boolean"},"type":"object"},"type":"object"},{"type":"null"}],"title":"Preferences"},"quiet":{"anyOf":[{"$ref":"#/components/schemas/QuietIn"},{"type":"null"}]},"muted_events":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Muted Events"}},"type":"object","title":"PrefsIn"},"PreviewIn":{"properties":{"rows":{"items":{"$ref":"#/components/schemas/PreviewRowIn"},"type":"array","maxItems":200,"title":"Rows"}},"type":"object","required":["rows"],"title":"PreviewIn"},"PreviewRowIn":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Name"},"city":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"City"},"country":{"anyOf":[{"type":"string","maxLength":60},{"type":"null"}],"title":"Country"},"phone":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Phone"},"email":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Email"},"code":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"Code"},"raw":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Raw"}},"type":"object","title":"PreviewRowIn","description":"D-435: one person per row: name, city, and one ID (phone, email or Profile ID)."},"PushKeys":{"properties":{"p256dh":{"type":"string","title":"P256Dh"},"auth":{"type":"string","title":"Auth"}},"type":"object","required":["p256dh","auth"],"title":"PushKeys"},"PushSubIn":{"properties":{"endpoint":{"type":"string","maxLength":2000,"minLength":10,"title":"Endpoint"},"keys":{"$ref":"#/components/schemas/PushKeys"},"user_agent":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"User Agent"}},"type":"object","required":["endpoint","keys"],"title":"PushSubIn"},"PushUnsubIn":{"properties":{"endpoint":{"type":"string","title":"Endpoint"}},"type":"object","required":["endpoint"],"title":"PushUnsubIn"},"QueryIn":{"properties":{"table":{"type":"string","maxLength":64,"title":"Table"},"op":{"type":"string","maxLength":8,"title":"Op"},"select":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}],"title":"Select"},"filters":{"items":{"type":"object"},"type":"array","maxItems":12,"title":"Filters"},"order":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Order"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"values":{"anyOf":[{"type":"object"},{"items":{"type":"object"},"type":"array"},{"type":"null"}],"title":"Values"},"on_conflict":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"On Conflict"}},"type":"object","required":["table","op"],"title":"QueryIn"},"QuickIn":{"properties":{"answer":{"type":"string","enum":["yes","no","maybe"],"title":"Answer"},"count":{"type":"integer","maximum":50.0,"minimum":0.0,"title":"Count","default":1},"note":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Note"},"companions":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":20},{"type":"null"}],"title":"Companions"}},"type":"object","required":["answer"],"title":"QuickIn"},"QuietIn":{"properties":{"enabled":{"type":"boolean","title":"Enabled","default":false},"start":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$","title":"Start","default":"22:00"},"end":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$","title":"End","default":"07:00"}},"type":"object","title":"QuietIn"},"ReadIn":{"properties":{"ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Ids"}},"type":"object","title":"ReadIn"},"RecoverIn":{"properties":{"code":{"type":"string","maxLength":20,"minLength":6,"title":"Code"}},"type":"object","required":["code"],"title":"RecoverIn"},"ReminderIn":{"properties":{"send_on":{"type":"string","format":"date","title":"Send On"},"audience":{"type":"string","enum":["everyone","not_replied","coming"],"title":"Audience","default":"everyone"},"message":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Message"}},"type":"object","required":["send_on"],"title":"ReminderIn","description":"D-529: a reminder the host schedules for a day."},"RemoveIn":{"properties":{"delete_uploads":{"type":"boolean","title":"Delete Uploads","default":false}},"type":"object","title":"RemoveIn"},"ReportIn":{"properties":{"type":{"type":"string","enum":["bug","feature","translation","help"],"title":"Type"},"message":{"type":"string","maxLength":4000,"minLength":3,"title":"Message"},"screen":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Screen"},"language":{"anyOf":[{"type":"string","maxLength":8},{"type":"null"}],"title":"Language"},"user_agent":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"User Agent"},"translation":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Translation"}},"type":"object","required":["type","message"],"title":"ReportIn"},"ResendIn":{"properties":{"message":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Message"},"template_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Template Id"},"scope":{"type":"string","enum":["unsent","waiting","unopened"],"title":"Scope","default":"waiting"}},"type":"object","title":"ResendIn"},"ResolveIn":{"properties":{"approve":{"type":"boolean","title":"Approve"}},"type":"object","required":["approve"],"title":"ResolveIn"},"RsvpIn":{"properties":{"answer":{"type":"string","enum":["yes","no","maybe"],"title":"Answer"},"count":{"type":"integer","maximum":50.0,"minimum":0.0,"title":"Count","default":1},"note":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Note"},"companions":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":20},{"type":"null"}],"title":"Companions"},"private":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Private"}},"type":"object","required":["answer"],"title":"RsvpIn"},"SettingIn":{"properties":{"key":{"type":"string","maxLength":100,"minLength":1,"title":"Key"},"tier":{"type":"string","maxLength":20,"minLength":1,"title":"Tier"},"value":{"type":"string","maxLength":500,"title":"Value"}},"type":"object","required":["key","tier","value"],"title":"SettingIn"},"ShareLinkIn":{"properties":{"days":{"type":"integer","maximum":90.0,"minimum":1.0,"title":"Days","default":7}},"type":"object","title":"ShareLinkIn"},"StatusNoteIn":{"properties":{"message":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Message"}},"type":"object","title":"StatusNoteIn"},"TagIn":{"properties":{"user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"},"profile_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Profile Id"},"name":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Name"}},"type":"object","title":"TagIn"},"TemplateIn":{"properties":{"name":{"type":"string","maxLength":60,"minLength":1,"title":"Name"},"text":{"anyOf":[{"type":"string","maxLength":1500},{"type":"null"}],"title":"Text"},"link_url":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Link Url"},"is_default":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Default"}},"type":"object","required":["name"],"title":"TemplateIn"},"TemplatePatch":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":60,"minLength":1},{"type":"null"}],"title":"Name"},"text":{"anyOf":[{"type":"string","maxLength":1500},{"type":"null"}],"title":"Text"},"link_url":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Link Url"},"is_default":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Default"}},"type":"object","title":"TemplatePatch"},"TestSendIn":{"properties":{"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"}},"type":"object","title":"TestSendIn"},"ThankYouIn":{"properties":{"message":{"anyOf":[{"type":"string","maxLength":600},{"type":"null"}],"title":"Message"},"with_photo":{"type":"boolean","title":"With Photo","default":false}},"type":"object","title":"ThankYouIn"},"TranslationRow":{"properties":{"key":{"type":"string","maxLength":200,"minLength":1,"title":"Key"},"lang":{"type":"string","maxLength":8,"minLength":2,"title":"Lang"},"text":{"type":"string","maxLength":4000,"title":"Text"}},"type":"object","required":["key","lang","text"],"title":"TranslationRow"},"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"},"VoteIn":{"properties":{"dates":{"items":{"type":"string","format":"date"},"type":"array","maxItems":12,"title":"Dates"},"name":{"anyOf":[{"type":"string","maxLength":60},{"type":"null"}],"title":"Name"}},"type":"object","title":"VoteIn"},"app__routers__family__ProfileIn":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Name"},"relationship":{"type":"string","enum":["child","parent","spouse","sibling","other"],"title":"Relationship","default":"child"},"is_minor":{"type":"boolean","title":"Is Minor","default":false},"consent":{"type":"boolean","title":"Consent","default":false},"contact_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Id"}},"type":"object","title":"ProfileIn"},"app__routers__family__ProfilePatch":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Name"},"relationship":{"anyOf":[{"type":"string","enum":["child","parent","spouse","sibling","other"]},{"type":"null"}],"title":"Relationship"}},"type":"object","title":"ProfilePatch"},"app__routers__family__ShareIn":{"properties":{"contact_id":{"type":"string","title":"Contact Id"}},"type":"object","required":["contact_id"],"title":"ShareIn"},"app__routers__groups__CopyIn":{"properties":{"name":{"type":"string","maxLength":60,"minLength":1,"title":"Name"}},"type":"object","required":["name"],"title":"CopyIn"},"app__routers__groups__ShareIn":{"properties":{"user_ids":{"items":{"type":"string"},"type":"array","maxItems":50,"minItems":1,"title":"User Ids"}},"type":"object","required":["user_ids"],"title":"ShareIn"},"app__routers__invitations__AcceptIn":{"properties":{"trust_sender":{"type":"boolean","title":"Trust Sender","default":false},"find_me":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Find Me"}},"type":"object","title":"AcceptIn"},"app__routers__legal__AcceptIn":{"properties":{"document_id":{"type":"string","title":"Document Id"},"clauses":{"items":{"$ref":"#/components/schemas/AcceptClause"},"type":"array","maxItems":100,"title":"Clauses"}},"type":"object","required":["document_id"],"title":"AcceptIn"},"app__routers__legal__CopyIn":{"properties":{"country":{"type":"string","maxLength":2,"title":"Country","default":"*"},"language":{"type":"string","maxLength":8,"title":"Language","default":"en"},"version":{"type":"string","maxLength":40,"minLength":1,"title":"Version"}},"type":"object","required":["version"],"title":"CopyIn"},"app__routers__users__ProfileIn":{"properties":{"formal_name":{"type":"string","maxLength":100,"minLength":1,"title":"Formal Name"},"preferred_name":{"type":"string","maxLength":60,"title":"Preferred Name","default":""},"place":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Place"},"is_public":{"type":"boolean","title":"Is Public","default":false},"timezone":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Timezone"},"phone_country_code":{"type":"string","maxLength":6,"minLength":1,"title":"Phone Country Code"},"phone_local":{"type":"string","maxLength":20,"minLength":3,"title":"Phone Local"},"terms_accepted":{"type":"boolean","title":"Terms Accepted","default":false},"age_confirmed":{"type":"boolean","title":"Age Confirmed","default":false},"country":{"anyOf":[{"type":"string","maxLength":2,"minLength":2},{"type":"null"}],"title":"Country"}},"type":"object","required":["formal_name","phone_country_code","phone_local"],"title":"ProfileIn"},"app__routers__users__ProfilePatch":{"properties":{"formal_name":{"anyOf":[{"type":"string","maxLength":100,"minLength":1},{"type":"null"}],"title":"Formal Name"},"preferred_name":{"anyOf":[{"type":"string","maxLength":60,"minLength":1},{"type":"null"}],"title":"Preferred Name"},"place":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Place"},"is_public":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Public"},"timezone":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Timezone"},"language":{"anyOf":[{"type":"string","maxLength":8},{"type":"null"}],"title":"Language"},"phone_country_code":{"anyOf":[{"type":"string","maxLength":6,"minLength":1},{"type":"null"}],"title":"Phone Country Code"},"phone_local":{"anyOf":[{"type":"string","maxLength":20,"minLength":3},{"type":"null"}],"title":"Phone Local"}},"type":"object","title":"ProfilePatch"}}}}