{"openapi":"3.1.0","info":{"title":"Key Chat Account API","version":"0.15.0"},"paths":{"/v1/sessions/heartbeat":{"post":{"summary":"Session Heartbeat","operationId":"session_heartbeat_v1_sessions_heartbeat_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/SessionHeartbeat"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"boolean"},"title":"Response Session Heartbeat V1 Sessions Heartbeat Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/sessions":{"get":{"summary":"Sessions","operationId":"sessions_v1_sessions_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Sessions V1 Sessions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/sessions/terminate":{"post":{"summary":"Terminate Sessions","operationId":"terminate_sessions_v1_sessions_terminate_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionTermination"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"boolean"},"title":"Response Terminate Sessions V1 Sessions Terminate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/groups/remove-member":{"post":{"summary":"Remove Legacy Group Member","description":"Remove a member from legacy trusted-private groups whose invitees all have creator power.","operationId":"remove_legacy_group_member_v1_groups_remove_member_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupMemberRemovalRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"boolean"},"title":"Response Remove Legacy Group Member V1 Groups Remove Member Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/groups/normalize-roles":{"post":{"summary":"Normalize Legacy Group Roles","description":"Let legacy co-owners demote themselves; Matrix forbids the creator from lowering an equal-power user.","operationId":"normalize_legacy_group_roles_v1_groups_normalize_roles_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupRoleMigrationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"anyOf":[{"type":"integer"},{"type":"boolean"}]},"title":"Response Normalize Legacy Group Roles V1 Groups Normalize Roles Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/health":{"get":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"}]},"type":"object","title":"Response Health Health Get"}}}}}}},"/v1/link-preview":{"post":{"summary":"Link Preview","operationId":"link_preview_v1_link_preview_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkPreviewRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"},"title":"Response Link Preview V1 Link Preview Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/calls":{"post":{"summary":"Create Call","operationId":"create_call_v1_calls_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CallCreateRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Create Call V1 Calls Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/calls-temporary":{"post":{"summary":"Create Temporary Call","operationId":"create_temporary_call_v1_calls_temporary_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Create Temporary Call V1 Calls Temporary Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/calls/{call_ref}":{"get":{"summary":"Get Call","operationId":"get_call_v1_calls__call_ref__get","parameters":[{"name":"call_ref","in":"path","required":true,"schema":{"type":"string","title":"Call Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Call V1 Calls  Call Ref  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/calls-active":{"get":{"summary":"Get Active Call","operationId":"get_active_call_v1_calls_active_get","parameters":[{"name":"room_id","in":"query","required":true,"schema":{"type":"string","title":"Room Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Active Call V1 Calls Active Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/calls-participating":{"get":{"summary":"Get Participating Call","description":"Return the live call currently containing this account on any device.","operationId":"get_participating_call_v1_calls_participating_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Participating Call V1 Calls Participating Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/calls-live":{"get":{"summary":"Get Live Group Calls","description":"Return group-chat rooms that still contain at least one call participant.","operationId":"get_live_group_calls_v1_calls_live_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Live Group Calls V1 Calls Live Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/calls/{call_ref}/token":{"post":{"summary":"Join Call","operationId":"join_call_v1_calls__call_ref__token_post","parameters":[{"name":"call_ref","in":"path","required":true,"schema":{"type":"string","title":"Call Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CallTokenRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Join Call V1 Calls  Call Ref  Token Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/calls/{call_id}/avatar/{username}":{"get":{"summary":"Call Avatar","operationId":"call_avatar_v1_calls__call_id__avatar__username__get","parameters":[{"name":"call_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Call Id"}},{"name":"username","in":"path","required":true,"schema":{"type":"string","title":"Username"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/calls/{call_ref}/heartbeat":{"post":{"summary":"Heartbeat Call","operationId":"heartbeat_call_v1_calls__call_ref__heartbeat_post","parameters":[{"name":"call_ref","in":"path","required":true,"schema":{"type":"string","title":"Call Ref"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Heartbeat Call V1 Calls  Call Ref  Heartbeat Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/calls/{call_ref}/participants/remove":{"post":{"summary":"Remove Call Participant","operationId":"remove_call_participant_v1_calls__call_ref__participants_remove_post","parameters":[{"name":"call_ref","in":"path","required":true,"schema":{"type":"string","title":"Call Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CallParticipantRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"boolean"},"title":"Response Remove Call Participant V1 Calls  Call Ref  Participants Remove Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/calls/{call_id}/end":{"post":{"summary":"End Call","operationId":"end_call_v1_calls__call_id__end_post","parameters":[{"name":"call_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Call Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"boolean"},"title":"Response End Call V1 Calls  Call Id  End Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/livekit/webhook":{"post":{"summary":"Livekit Webhook","operationId":"livekit_webhook_v1_livekit_webhook_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"boolean"},"title":"Response Livekit Webhook V1 Livekit Webhook Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/auth/login":{"post":{"summary":"Login","operationId":"login_v1_auth_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Login V1 Auth Login Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/invites/validate":{"post":{"summary":"Validate Invite","operationId":"validate_invite_v1_invites_validate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InviteValidationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Validate Invite V1 Invites Validate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/usernames/{username}/availability":{"get":{"summary":"Username Availability","operationId":"username_availability_v1_usernames__username__availability_get","parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string","title":"Username"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"boolean"},"title":"Response Username Availability V1 Usernames  Username  Availability Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public-pages/{username}/availability":{"get":{"summary":"Public Page Availability","operationId":"public_page_availability_v1_public_pages__username__availability_get","parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string","title":"Username"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"boolean"},"title":"Response Public Page Availability V1 Public Pages  Username  Availability Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public-pages":{"post":{"summary":"Create Public Page","operationId":"create_public_page_v1_public_pages_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicPageRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"},"title":"Response Create Public Page V1 Public Pages Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public-pages/{username}":{"get":{"summary":"Get Public Page","operationId":"get_public_page_v1_public_pages__username__get","parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string","title":"Username"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Public Page V1 Public Pages  Username  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public-pages/{username}/deleted":{"post":{"summary":"Mark Public Page Deleted","operationId":"mark_public_page_deleted_v1_public_pages__username__deleted_post","parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string","title":"Username"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"boolean"},"title":"Response Mark Public Page Deleted V1 Public Pages  Username  Deleted Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/register":{"post":{"summary":"Register","operationId":"register_v1_register_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistrationRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Register V1 Register Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/me":{"get":{"summary":"Me","operationId":"me_v1_me_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Me V1 Me Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/users/{username}":{"get":{"summary":"User Profile","operationId":"user_profile_v1_users__username__get","parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string","title":"Username"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"},"title":"Response User Profile V1 Users  Username  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/invites":{"get":{"summary":"Invites","operationId":"invites_v1_invites_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Invites V1 Invites Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/accounts/upsert":{"post":{"summary":"Admin Upsert Account","operationId":"admin_upsert_account_v1_admin_accounts_upsert_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminAccountRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Admin Upsert Account V1 Admin Accounts Upsert Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/invites":{"post":{"summary":"Admin Create Invites","operationId":"admin_create_invites_v1_admin_invites_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminInvitesRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Admin Create Invites V1 Admin Invites Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/lists":{"get":{"summary":"Inbox","operationId":"inbox_v1_lists_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Response Inbox V1 Lists Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create","operationId":"create_v1_lists_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListForm"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Create V1 Lists Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/lists/notices":{"get":{"summary":"Notices","operationId":"notices_v1_lists_notices_get","parameters":[{"name":"after","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"After"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Notices V1 Lists Notices Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/lists/devices/sync":{"post":{"summary":"Sync Devices","operationId":"sync_devices_v1_lists_devices_sync_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"boolean"},"title":"Response Sync Devices V1 Lists Devices Sync Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/lists/{reference}":{"get":{"summary":"View","operationId":"view_v1_lists__reference__get","parameters":[{"name":"reference","in":"path","required":true,"schema":{"type":"string","title":"Reference"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response View V1 Lists  Reference  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/lists/{reference}/settings":{"post":{"summary":"Settings","operationId":"settings_v1_lists__reference__settings_post","parameters":[{"name":"reference","in":"path","required":true,"schema":{"type":"string","title":"Reference"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListForm"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"boolean"},"title":"Response Settings V1 Lists  Reference  Settings Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/lists/{reference}/delete":{"post":{"summary":"Delete List","operationId":"delete_list_v1_lists__reference__delete_post","parameters":[{"name":"reference","in":"path","required":true,"schema":{"type":"string","title":"Reference"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"boolean"},"title":"Response Delete List V1 Lists  Reference  Delete Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/lists/{reference}/members":{"post":{"summary":"Membership","operationId":"membership_v1_lists__reference__members_post","parameters":[{"name":"reference","in":"path","required":true,"schema":{"type":"string","title":"Reference"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberForm"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"boolean"},"title":"Response Membership V1 Lists  Reference  Members Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/lists/{reference}/messages":{"get":{"summary":"Messages","operationId":"messages_v1_lists__reference__messages_get","parameters":[{"name":"reference","in":"path","required":true,"schema":{"type":"string","title":"Reference"}},{"name":"parent","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Response Messages V1 Lists  Reference  Messages Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Send","operationId":"send_v1_lists__reference__messages_post","parameters":[{"name":"reference","in":"path","required":true,"schema":{"type":"string","title":"Reference"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageForm"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"boolean"},"title":"Response Send V1 Lists  Reference  Messages Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/lists/{reference}/messages/{message_id}/edit":{"post":{"summary":"Edit","operationId":"edit_v1_lists__reference__messages__message_id__edit_post","parameters":[{"name":"reference","in":"path","required":true,"schema":{"type":"string","title":"Reference"}},{"name":"message_id","in":"path","required":true,"schema":{"type":"string","title":"Message Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageForm"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"boolean"},"title":"Response Edit V1 Lists  Reference  Messages  Message Id  Edit Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/lists/{reference}/messages/{message_id}/delete":{"post":{"summary":"Remove","operationId":"remove_v1_lists__reference__messages__message_id__delete_post","parameters":[{"name":"reference","in":"path","required":true,"schema":{"type":"string","title":"Reference"}},{"name":"message_id","in":"path","required":true,"schema":{"type":"string","title":"Message Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"boolean"},"title":"Response Remove V1 Lists  Reference  Messages  Message Id  Delete Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/lists/{reference}/messages/{message_id}/done":{"post":{"summary":"Done","operationId":"done_v1_lists__reference__messages__message_id__done_post","parameters":[{"name":"reference","in":"path","required":true,"schema":{"type":"string","title":"Reference"}},{"name":"message_id","in":"path","required":true,"schema":{"type":"string","title":"Message Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoneForm"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"boolean"},"title":"Response Done V1 Lists  Reference  Messages  Message Id  Done Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/lists/{reference}/messages/{message_id}/reservation":{"post":{"summary":"Reservation","operationId":"reservation_v1_lists__reference__messages__message_id__reservation_post","parameters":[{"name":"reference","in":"path","required":true,"schema":{"type":"string","title":"Reference"}},{"name":"message_id","in":"path","required":true,"schema":{"type":"string","title":"Message Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReservationForm"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Reservation V1 Lists  Reference  Messages  Message Id  Reservation Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/lists/{reference}/read":{"post":{"summary":"Read","operationId":"read_v1_lists__reference__read_post","parameters":[{"name":"reference","in":"path","required":true,"schema":{"type":"string","title":"Reference"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Form"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"boolean"},"title":"Response Read V1 Lists  Reference  Read Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/lists/{reference}/author/{author_id}":{"get":{"summary":"Author Avatar","operationId":"author_avatar_v1_lists__reference__author__author_id__get","parameters":[{"name":"reference","in":"path","required":true,"schema":{"type":"string","title":"Reference"}},{"name":"author_id","in":"path","required":true,"schema":{"type":"string","title":"Author Id"}},{"name":"if-none-match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-None-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/lists/{reference}/media/{message_id}/{index}":{"get":{"summary":"Media","operationId":"media_v1_lists__reference__media__message_id___index__get","parameters":[{"name":"reference","in":"path","required":true,"schema":{"type":"string","title":"Reference"}},{"name":"message_id","in":"path","required":true,"schema":{"type":"string","title":"Message Id"}},{"name":"index","in":"path","required":true,"schema":{"type":"integer","title":"Index"}},{"name":"poster","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Poster"}},{"name":"if-none-match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-None-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/sticker-packs/{reference}":{"get":{"summary":"Sticker Pack","operationId":"sticker_pack_v1_sticker_packs__reference__get","parameters":[{"name":"reference","in":"path","required":true,"schema":{"type":"string","title":"Reference"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Update Pack","operationId":"update_pack_v1_sticker_packs__reference__patch","parameters":[{"name":"reference","in":"path","required":true,"schema":{"type":"string","title":"Reference"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StickerPackUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Pack","operationId":"delete_pack_v1_sticker_packs__reference__delete","parameters":[{"name":"reference","in":"path","required":true,"schema":{"type":"string","title":"Reference"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/sticker-packs":{"post":{"summary":"Create Pack","operationId":"create_pack_v1_sticker_packs_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StickerPackForm"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"summary":"Own Packs","operationId":"own_packs_v1_sticker_packs_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/sticker-packs/{reference}/stickers":{"post":{"summary":"Upload Sticker","operationId":"upload_sticker_v1_sticker_packs__reference__stickers_post","parameters":[{"name":"reference","in":"path","required":true,"schema":{"type":"string","title":"Reference"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_sticker_v1_sticker_packs__reference__stickers_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/sticker-packs/{reference}/stickers/{sticker_id}":{"patch":{"summary":"Update Sticker","operationId":"update_sticker_v1_sticker_packs__reference__stickers__sticker_id__patch","parameters":[{"name":"reference","in":"path","required":true,"schema":{"type":"string","title":"Reference"}},{"name":"sticker_id","in":"path","required":true,"schema":{"type":"string","title":"Sticker Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StickerUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Sticker","operationId":"delete_sticker_v1_sticker_packs__reference__stickers__sticker_id__delete","parameters":[{"name":"reference","in":"path","required":true,"schema":{"type":"string","title":"Reference"}},{"name":"sticker_id","in":"path","required":true,"schema":{"type":"string","title":"Sticker Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/sticker-packs/{reference}/stickers/{sticker_id}/file":{"put":{"summary":"Replace Sticker","operationId":"replace_sticker_v1_sticker_packs__reference__stickers__sticker_id__file_put","parameters":[{"name":"reference","in":"path","required":true,"schema":{"type":"string","title":"Reference"}},{"name":"sticker_id","in":"path","required":true,"schema":{"type":"string","title":"Sticker Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_replace_sticker_v1_sticker_packs__reference__stickers__sticker_id__file_put"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/_matrix/app/v1/users/{user_id}":{"get":{"summary":"Appservice User","operationId":"appservice_user__matrix_app_v1_users__user_id__get","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/_matrix/app/v1/transactions/{txn_id}":{"put":{"summary":"Appservice Transaction","operationId":"appservice_transaction__matrix_app_v1_transactions__txn_id__put","parameters":[{"name":"txn_id","in":"path","required":true,"schema":{"type":"string","title":"Txn Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/bot/messages":{"post":{"summary":"Bot Send Message","operationId":"bot_send_message_v1_bot_messages_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BotMessageSend"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/bot/media":{"post":{"summary":"Bot Upload Media","operationId":"bot_upload_media_v1_bot_media_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_bot_upload_media_v1_bot_media_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"AdminAccountRequest":{"properties":{"username":{"type":"string","title":"Username"},"phone":{"type":"string","title":"Phone"},"invited_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Invited By"}},"type":"object","required":["username","phone"],"title":"AdminAccountRequest"},"AdminInvitesRequest":{"properties":{"username":{"type":"string","title":"Username"},"count":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Count"}},"type":"object","required":["username","count"],"title":"AdminInvitesRequest"},"Body_bot_upload_media_v1_bot_media_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_bot_upload_media_v1_bot_media_post"},"Body_replace_sticker_v1_sticker_packs__reference__stickers__sticker_id__file_put":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_replace_sticker_v1_sticker_packs__reference__stickers__sticker_id__file_put"},"Body_upload_sticker_v1_sticker_packs__reference__stickers_post":{"properties":{"emoji":{"type":"string","title":"Emoji"},"name":{"type":"string","title":"Name","default":""},"order":{"type":"integer","title":"Order","default":0},"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["emoji","file"],"title":"Body_upload_sticker_v1_sticker_packs__reference__stickers_post"},"BotAction":{"properties":{"type":{"type":"string","enum":["send_command","send_message","callback","open_url"],"title":"Type","default":"send_command"},"command":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Command"},"text":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Text"},"data":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Data"},"url":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}],"title":"Url"}},"type":"object","title":"BotAction"},"BotButton":{"properties":{"id":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Id"},"command":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Command"},"text":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Text"},"icon":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"Icon"},"action":{"anyOf":[{"$ref":"#/components/schemas/BotAction"},{"type":"null"}]},"single_use":{"type":"boolean","title":"Single Use","default":false},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"}},"type":"object","title":"BotButton"},"BotKeyboard":{"properties":{"rows":{"items":{"items":{"$ref":"#/components/schemas/BotButton"},"type":"array"},"type":"array","maxItems":9,"title":"Rows"}},"type":"object","required":["rows"],"title":"BotKeyboard"},"BotMedia":{"properties":{"type":{"type":"string","enum":["image","video","file"],"title":"Type"},"url":{"type":"string","maxLength":512,"title":"Url"},"name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Name"},"mime_type":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Mime Type"},"size":{"anyOf":[{"type":"integer","maximum":209715200.0,"minimum":0.0},{"type":"null"}],"title":"Size"},"width":{"anyOf":[{"type":"integer","maximum":32768.0,"minimum":1.0},{"type":"null"}],"title":"Width"},"height":{"anyOf":[{"type":"integer","maximum":32768.0,"minimum":1.0},{"type":"null"}],"title":"Height"},"duration_ms":{"anyOf":[{"type":"integer","maximum":86400000.0,"minimum":0.0},{"type":"null"}],"title":"Duration Ms"}},"type":"object","required":["type","url"],"title":"BotMedia"},"BotMenu":{"properties":{"rows":{"items":{"items":{"$ref":"#/components/schemas/BotButton"},"type":"array"},"type":"array","maxItems":9,"title":"Rows"}},"type":"object","required":["rows"],"title":"BotMenu"},"BotMessageContent":{"properties":{"text":{"type":"string","maxLength":65535,"title":"Text","default":""},"format":{"type":"string","enum":["plain","markdown"],"title":"Format","default":"plain"},"attachments":{"items":{"$ref":"#/components/schemas/BotMedia"},"type":"array","maxItems":10,"title":"Attachments"},"menu":{"anyOf":[{"$ref":"#/components/schemas/BotMenu"},{"type":"null"}]},"keyboard":{"anyOf":[{"$ref":"#/components/schemas/BotKeyboard"},{"type":"null"}]}},"type":"object","title":"BotMessageContent"},"BotMessageSend":{"properties":{"chat_id":{"type":"string","format":"uuid","title":"Chat Id"},"content":{"$ref":"#/components/schemas/BotMessageContent"},"idempotency_key":{"anyOf":[{"type":"string","maxLength":128,"minLength":8},{"type":"null"}],"title":"Idempotency Key"},"reply_to_event_id":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reply To Event Id"},"replace_event_id":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Replace Event Id"}},"type":"object","required":["chat_id","content"],"title":"BotMessageSend"},"CallCreateRequest":{"properties":{"room_id":{"type":"string","maxLength":255,"minLength":3,"title":"Room Id"},"title":{"type":"string","maxLength":160,"minLength":1,"title":"Title"},"kind":{"type":"string","pattern":"^(direct|group)$","title":"Kind"}},"type":"object","required":["room_id","title","kind"],"title":"CallCreateRequest"},"CallParticipantRequest":{"properties":{"identity":{"type":"string","maxLength":255,"minLength":1,"title":"Identity"}},"type":"object","required":["identity"],"title":"CallParticipantRequest"},"CallTokenRequest":{"properties":{"name":{"type":"string","maxLength":80,"title":"Name","default":""}},"type":"object","title":"CallTokenRequest"},"DoneForm":{"properties":{"done":{"type":"boolean","title":"Done"}},"type":"object","required":["done"],"title":"DoneForm"},"GroupMemberRemovalRequest":{"properties":{"room_id":{"type":"string","maxLength":255,"minLength":3,"title":"Room Id"},"user_id":{"type":"string","maxLength":255,"minLength":3,"title":"User Id"}},"type":"object","required":["room_id","user_id"],"title":"GroupMemberRemovalRequest"},"GroupRoleMigrationRequest":{"properties":{"room_id":{"type":"string","maxLength":255,"minLength":3,"title":"Room Id"}},"type":"object","required":["room_id"],"title":"GroupRoleMigrationRequest"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"InviteValidationRequest":{"properties":{"code":{"type":"string","maxLength":14,"minLength":14,"title":"Code"}},"type":"object","required":["code"],"title":"InviteValidationRequest"},"LinkPreviewRequest":{"properties":{"url":{"type":"string","maxLength":2048,"minLength":8,"title":"Url"}},"type":"object","required":["url"],"title":"LinkPreviewRequest"},"ListForm":{"properties":{"uid":{"anyOf":[{"type":"string","pattern":"^[A-Za-z0-9]{6}$"},{"type":"null"}],"title":"Uid"},"name":{"type":"string","maxLength":100,"minLength":1,"title":"Name"},"slug":{"type":"string","maxLength":100,"title":"Slug","default":""},"description":{"type":"string","maxLength":10000,"title":"Description","default":""},"kind":{"type":"string","pattern":"^(todo|wishlist)$","title":"Kind","default":"todo"},"public":{"type":"boolean","title":"Public","default":false},"editors":{"items":{"type":"string"},"type":"array","maxItems":100,"title":"Editors"},"avatar":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Avatar"}},"type":"object","required":["name"],"title":"ListForm"},"LoginRequest":{"properties":{"identifier":{"type":"string","maxLength":128,"minLength":1,"title":"Identifier"},"password":{"type":"string","maxLength":1024,"minLength":1,"title":"Password"}},"type":"object","required":["identifier","password"],"title":"LoginRequest"},"MemberForm":{"properties":{"user_id":{"type":"string","maxLength":255,"minLength":3,"title":"User Id"},"action":{"type":"string","pattern":"^(editor|viewer|reject|remove|request|subscribe|unsubscribe|mute|unmute)$","title":"Action"}},"type":"object","required":["user_id","action"],"title":"MemberForm"},"MessageForm":{"properties":{"id":{"type":"string","pattern":"^[0-9a-f-]{36}$","title":"Id"},"parent":{"anyOf":[{"type":"string","pattern":"^[0-9a-f-]{36}$"},{"type":"null"}],"title":"Parent"},"content":{"additionalProperties":true,"type":"object","title":"Content"}},"type":"object","required":["id","content"],"title":"MessageForm"},"PublicPageRequest":{"properties":{"username":{"type":"string","maxLength":64,"minLength":1,"title":"Username"},"room_id":{"type":"string","maxLength":255,"minLength":3,"title":"Room Id"}},"type":"object","required":["username","room_id"],"title":"PublicPageRequest"},"RegistrationRequest":{"properties":{"username":{"type":"string","maxLength":64,"minLength":1,"title":"Username"},"display_name":{"type":"string","maxLength":80,"title":"Display Name","default":""},"phone":{"type":"string","maxLength":32,"minLength":10,"title":"Phone"},"password":{"type":"string","maxLength":1024,"minLength":8,"title":"Password"},"invite_code":{"type":"string","maxLength":14,"minLength":14,"title":"Invite Code"},"alpha_consent":{"type":"boolean","title":"Alpha Consent"},"personal_data_consent":{"type":"boolean","title":"Personal Data Consent"}},"type":"object","required":["username","phone","password","invite_code","alpha_consent","personal_data_consent"],"title":"RegistrationRequest"},"ReservationForm":{"properties":{"action":{"type":"string","pattern":"^(reserve|cancel|purchase|cancel_purchase)$","title":"Action"}},"type":"object","required":["action"],"title":"ReservationForm"},"SessionHeartbeat":{"properties":{"client_type":{"type":"string","enum":["browser","pwa","desktop","app"],"title":"Client Type","default":"browser"}},"type":"object","title":"SessionHeartbeat"},"SessionTermination":{"properties":{"device_ids":{"items":{"type":"string"},"type":"array","maxItems":100,"title":"Device Ids"},"all_other":{"type":"boolean","title":"All Other","default":false}},"type":"object","title":"SessionTermination"},"StickerPackForm":{"properties":{"name":{"type":"string","maxLength":80,"minLength":1,"title":"Name"},"slug":{"type":"string","maxLength":80,"minLength":1,"title":"Slug"}},"type":"object","required":["name","slug"],"title":"StickerPackForm"},"StickerPackUpdate":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Name"},"slug":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Slug"}},"type":"object","title":"StickerPackUpdate"},"StickerUpdate":{"properties":{"emoji":{"anyOf":[{"type":"string","maxLength":32,"minLength":1},{"type":"null"}],"title":"Emoji"},"name":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Name"}},"type":"object","title":"StickerUpdate"},"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"}}}}