{"openapi":"3.1.0","info":{"title":"hitapp","description":"hitapp API Documentation","version":"1.0.0"},"paths":{"/auth/signup/":{"post":{"tags":["auth"],"summary":"Signup","operationId":"signup_auth_signup__post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_signup_auth_signup__post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/check_availability/":{"get":{"tags":["auth"],"summary":"Check Availability","description":"Kayıt 1. adımında kullanıcı adı / e-posta müsaitlik kontrolü.","operationId":"check_availability_auth_check_availability__get","parameters":[{"name":"username","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Username"}},{"name":"email","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AvailabilityResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/login":{"post":{"tags":["auth"],"summary":"Login For Access Token","operationId":"login_for_access_token_auth_login_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_login_for_access_token_auth_login_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Token"},{"type":"string"}],"title":"Response Login For Access Token Auth Login Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/reset_password_request/":{"post":{"tags":["auth"],"summary":"Reset Password Request","operationId":"reset_password_request_auth_reset_password_request__post","parameters":[{"name":"identifier","in":"query","required":true,"schema":{"type":"string","title":"Identifier"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"boolean","title":"Response Reset Password Request Auth Reset Password Request  Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/password_reset_with_code/":{"post":{"tags":["auth"],"summary":"Update Password With Code","operationId":"update_password_with_code_auth_password_reset_with_code__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResetPassword"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"boolean","title":"Response Update Password With Code Auth Password Reset With Code  Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/verify_email/":{"post":{"tags":["auth"],"summary":"Verify Email","operationId":"verify_email_auth_verify_email__post","security":[{"OAuth2PasswordBearer":["users.me"]}],"parameters":[{"name":"code","in":"query","required":true,"schema":{"type":"string","title":"Code"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"boolean","title":"Response Verify Email Auth Verify Email  Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/apple_signin/":{"post":{"tags":["auth"],"summary":"Apple Signin","description":"Apple identity token ile giriş yap veya hesap oluştur.","operationId":"apple_signin_auth_apple_signin__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppleSignInPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Token"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/google_signin/":{"post":{"tags":["auth"],"summary":"Google Signin","description":"Google ID token ile giriş yap veya hesap oluştur.","operationId":"google_signin_auth_google_signin__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleSignInPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Token"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/version_check/":{"post":{"tags":["auth"],"summary":"Check Version","description":"Mobil uygulama versiyon kontrolü.\n\nKullanıcının mevcut uygulama versiyonunu kontrol eder ve güncelleme gerekip gerekmediğini döner.\n\n- **current_version**: Kullanıcının mevcut app versiyonu (ör: 0.0.5)\n- **force_update**: True ise kullanıcı uygulamayı kullanmadan önce güncelleme yapmalı","operationId":"check_version_auth_version_check__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionCheckRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionCheckResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/subscription/verify/":{"post":{"tags":["auth"],"summary":"Verify Subscription","description":"RevenueCat satın alma bilgisini doğrula ve aboneliği kaydet.","operationId":"verify_subscription_auth_subscription_verify__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionVerifyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":["users.me"]}]}},"/auth/subscription/status/":{"get":{"tags":["auth"],"summary":"Get Subscription Status","description":"Kullanıcının aktif abonelik durumunu döner.","operationId":"get_subscription_status_auth_subscription_status__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionStatusResponse"}}}}},"security":[{"OAuth2PasswordBearer":["users.me"]}]}},"/user/create/":{"post":{"tags":["user"],"summary":"Create User","operationId":"create_user_user_create__post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_create_user_user_create__post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/user/user/{user_id}":{"get":{"tags":["user"],"summary":"Get User","operationId":"get_user_user_user__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":{"$ref":"#/components/schemas/User"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/user/user/get_users/":{"get":{"tags":["user"],"summary":"Get Users","operationId":"get_users_user_user_get_users__get","parameters":[{"name":"search_username","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Username"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserResponse"},"title":"Response Get Users User User Get Users  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/user/me/":{"get":{"tags":["user"],"summary":"Read User Me","operationId":"read_user_me_user_me__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}}},"security":[{"OAuth2PasswordBearer":["users.me"]}]}},"/user/user/delete/{user_id}":{"delete":{"tags":["user"],"summary":"Soft Delete User","operationId":"soft_delete_user_user_user_delete__user_id__delete","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"boolean","title":"Response Soft Delete User User User Delete  User Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/user/block/{user_id}/":{"post":{"tags":["user"],"summary":"Block User","description":"Kullanıcıyı blokla","operationId":"block_user_user_block__user_id___post","security":[{"OAuth2PasswordBearer":["users.me"]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserBlockCreateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/user/unblock/{user_id}/":{"delete":{"tags":["user"],"summary":"Unblock User","description":"Kullanıcı blokunu kaldır","operationId":"unblock_user_user_unblock__user_id___delete","security":[{"OAuth2PasswordBearer":["users.me"]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserBlockDeleteResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/user/blocked-users/":{"get":{"tags":["user"],"summary":"Get Blocked Users","description":"Kullanıcının blokladığı kullanıcıları getir","operationId":"get_blocked_users_user_blocked_users__get","security":[{"OAuth2PasswordBearer":["users.me"]}],"parameters":[{"name":"skip","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Skip"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserBlockListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/user/blocked-by-users/":{"get":{"tags":["user"],"summary":"Get Blocked By Users","description":"Kullanıcıyı bloklayan kullanıcıları getir","operationId":"get_blocked_by_users_user_blocked_by_users__get","security":[{"OAuth2PasswordBearer":["users.me"]}],"parameters":[{"name":"skip","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Skip"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserBlockListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/user/check-block/{user_id}/":{"get":{"tags":["user"],"summary":"Check User Block","description":"İki kullanıcı arasında blok var mı kontrol et","operationId":"check_user_block_user_check_block__user_id___get","security":[{"OAuth2PasswordBearer":["users.me"]}],"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"}}}}}}},"/user/update_profile_picture/":{"put":{"tags":["user"],"summary":"Update Profile Picture","operationId":"update_profile_picture_user_update_profile_picture__put","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_update_profile_picture_user_update_profile_picture__put"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":["users.me"]}]}},"/user/follow/{user_id}":{"post":{"tags":["user"],"summary":"Follow User","operationId":"follow_user_user_follow__user_id__post","security":[{"OAuth2PasswordBearer":["users.me"]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserFollowCreateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/user/unfollow/{user_id}":{"delete":{"tags":["user"],"summary":"Unfollow User","operationId":"unfollow_user_user_unfollow__user_id__delete","security":[{"OAuth2PasswordBearer":["users.me"]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserFollowDeleteResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/user/followers/{user_id}":{"get":{"tags":["user"],"summary":"Get Followers","operationId":"get_followers_user_followers__user_id__get","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}},{"name":"skip","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Skip"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FollowersListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/user/following/{user_id}":{"get":{"tags":["user"],"summary":"Get Following","operationId":"get_following_user_following__user_id__get","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}},{"name":"skip","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Skip"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FollowingListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/user/follow/stats/{user_id}":{"get":{"tags":["user"],"summary":"Get Follow Stats","operationId":"get_follow_stats_user_follow_stats__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":{"$ref":"#/components/schemas/UserFollowStatsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/user/follow/check/{user_id}":{"get":{"tags":["user"],"summary":"Is Following","operationId":"is_following_user_follow_check__user_id__get","security":[{"OAuth2PasswordBearer":["users.me"]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserFollowCheckResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/user/send_notification_to_all_users/":{"post":{"tags":["user"],"summary":"Send Notification To All Users","operationId":"send_notification_to_all_users_user_send_notification_to_all_users__post","security":[{"OAuth2PasswordBearer":["users.admin"]}],"parameters":[{"name":"notification_title","in":"query","required":true,"schema":{"type":"string","title":"Notification Title"}},{"name":"notification_body","in":"query","required":true,"schema":{"type":"string","title":"Notification Body"}},{"name":"notification_type","in":"query","required":true,"schema":{"$ref":"#/components/schemas/NotificationTypeEnum"}},{"name":"notification_link","in":"query","required":true,"schema":{"type":"string","title":"Notification Link"}},{"name":"notification_image","in":"query","required":true,"schema":{"type":"string","title":"Notification Image"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Notification Data"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"boolean","title":"Response Send Notification To All Users User Send Notification To All Users  Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/story/create/":{"post":{"tags":["story"],"summary":"Create Story","operationId":"create_story_story_create__post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_create_story_story_create__post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Story"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":["users.me"]}]}},"/story/update/{story_id}":{"put":{"tags":["story"],"summary":"Update Story","operationId":"update_story_story_update__story_id__put","security":[{"OAuth2PasswordBearer":["users.me"]}],"parameters":[{"name":"story_id","in":"path","required":true,"schema":{"type":"string","title":"Story Id"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_update_story_story_update__story_id__put"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Story"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/story/get_stories/":{"get":{"tags":["story"],"summary":"Get Stories","operationId":"get_stories_story_get_stories__get","security":[{"OAuth2PasswordBearer":["users.me"]}],"parameters":[{"name":"skip","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Skip"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Limit"}},{"name":"search_name","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Name"}},{"name":"search_category","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Category"}},{"name":"search_tag","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Tag"}},{"name":"search_author_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Author Id"}},{"name":"my_stories","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"title":"My Stories"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoryListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/story/get_story/{story_id}":{"get":{"tags":["story"],"summary":"Get Story","operationId":"get_story_story_get_story__story_id__get","parameters":[{"name":"story_id","in":"path","required":true,"schema":{"type":"string","title":"Story Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/story/chapter/create/":{"post":{"tags":["story"],"summary":"Create Chapter Only","operationId":"create_chapter_only_story_chapter_create__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoryChapterOnlyCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoryChapter"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":["users.me"]}]}},"/story/chapter/create_pages/":{"post":{"tags":["story"],"summary":"Create Pages For Chapter","operationId":"create_pages_for_chapter_story_chapter_create_pages__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoryChapterPagesCreate","description":"Tam içerik ile tüm sayfaları yeniden oluşturur"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoryChapter"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":["users.me"]}]}},"/story/chapter/update/":{"put":{"tags":["story"],"summary":"Update Chapter","operationId":"update_chapter_story_chapter_update__put","parameters":[{"name":"chapter_id","in":"query","required":true,"schema":{"type":"string","title":"Chapter Id"}},{"name":"chapter_title","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chapter Title"}},{"name":"is_published","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Published"}},{"name":"author_note","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Author Note"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"boolean","title":"Response Update Chapter Story Chapter Update  Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/story/chapter/reorder/":{"post":{"tags":["story"],"summary":"Reorder Chapters","operationId":"reorder_chapters_story_chapter_reorder__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChapterReorderPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/StoryChapter"},"type":"array","title":"Response Reorder Chapters Story Chapter Reorder  Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":["users.me"]}]}},"/story/chapter/get_chapters/{story_id}":{"get":{"tags":["story"],"summary":"Get Chapters","operationId":"get_chapters_story_chapter_get_chapters__story_id__get","security":[{"OAuth2PasswordBearer":["users.me"]}],"parameters":[{"name":"story_id","in":"path","required":true,"schema":{"type":"string","title":"Story Id"}},{"name":"my_stories","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"My Stories"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StoryChapter"},"title":"Response Get Chapters Story Chapter Get Chapters  Story Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/story/chapter/get_chapter_with_pages/{chapter_id}":{"get":{"tags":["story"],"summary":"Get Chapter With Pages","operationId":"get_chapter_with_pages_story_chapter_get_chapter_with_pages__chapter_id__get","security":[{"OAuth2PasswordBearer":["users.me"]}],"parameters":[{"name":"chapter_id","in":"path","required":true,"schema":{"type":"string","title":"Chapter Id"}},{"name":"my_stories","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"My Stories"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoryChapterResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/story/chapter/get_pages/{story_chapter_id}":{"get":{"tags":["story"],"summary":"Get Pages For Chapter","operationId":"get_pages_for_chapter_story_chapter_get_pages__story_chapter_id__get","parameters":[{"name":"story_chapter_id","in":"path","required":true,"schema":{"type":"string","title":"Story Chapter Id"}},{"name":"skip","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Skip"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StoryChapterPage"},"title":"Response Get Pages For Chapter Story Chapter Get Pages  Story Chapter Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/story/get_like/{story_id}":{"get":{"tags":["story"],"summary":"Get Like","operationId":"get_like_story_get_like__story_id__get","security":[{"OAuth2PasswordBearer":["users.me"]}],"parameters":[{"name":"story_id","in":"path","required":true,"schema":{"type":"string","title":"Story Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"boolean","title":"Response Get Like Story Get Like  Story Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/story/like/{story_id}":{"post":{"tags":["story"],"summary":"Like Story","operationId":"like_story_story_like__story_id__post","security":[{"OAuth2PasswordBearer":["users.me"]}],"parameters":[{"name":"story_id","in":"path","required":true,"schema":{"type":"string","title":"Story Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"boolean","title":"Response Like Story Story Like  Story Id  Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/story/unlike/{story_id}":{"post":{"tags":["story"],"summary":"Unlike Story","operationId":"unlike_story_story_unlike__story_id__post","security":[{"OAuth2PasswordBearer":["users.me"]}],"parameters":[{"name":"story_id","in":"path","required":true,"schema":{"type":"string","title":"Story Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"boolean","title":"Response Unlike Story Story Unlike  Story Id  Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/story/view/{story_id}":{"post":{"tags":["story"],"summary":"View Story","operationId":"view_story_story_view__story_id__post","security":[{"OAuth2PasswordBearer":["users.me"]}],"parameters":[{"name":"story_id","in":"path","required":true,"schema":{"type":"string","title":"Story Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"boolean","title":"Response View Story Story View  Story Id  Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/story/library/add/{story_id}":{"post":{"tags":["story"],"summary":"Add To Library","operationId":"add_to_library_story_library_add__story_id__post","security":[{"OAuth2PasswordBearer":["users.me"]}],"parameters":[{"name":"story_id","in":"path","required":true,"schema":{"type":"string","title":"Story Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserStoryLibrary"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/story/library/list/":{"get":{"tags":["story"],"summary":"List Library","operationId":"list_library_story_library_list__get","security":[{"OAuth2PasswordBearer":["users.me"]}],"parameters":[{"name":"skip","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Skip"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Limit"}},{"name":"is_archived","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Archived"}},{"name":"available_offline","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Available Offline"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserStoryLibraryListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/story/library/current_page/{story_id}":{"post":{"tags":["story"],"summary":"Update Current Page","operationId":"update_current_page_story_library_current_page__story_id__post","security":[{"OAuth2PasswordBearer":["users.me"]}],"parameters":[{"name":"story_id","in":"path","required":true,"schema":{"type":"string","title":"Story Id"}},{"name":"current_page","in":"query","required":true,"schema":{"type":"integer","title":"Current Page"}},{"name":"chapter_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chapter Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/UserStoryLibrary"},{"type":"null"}],"title":"Response Update Current Page Story Library Current Page  Story Id  Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/story/library/archive/{story_id}":{"post":{"tags":["story"],"summary":"Set Archive","operationId":"set_archive_story_library_archive__story_id__post","security":[{"OAuth2PasswordBearer":["users.me"]}],"parameters":[{"name":"story_id","in":"path","required":true,"schema":{"type":"string","title":"Story Id"}},{"name":"is_archived","in":"query","required":true,"schema":{"type":"boolean","title":"Is Archived"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserStoryLibrary"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/story/library/offline/{story_id}":{"post":{"tags":["story"],"summary":"Set Available Offline","operationId":"set_available_offline_story_library_offline__story_id__post","security":[{"OAuth2PasswordBearer":["users.me"]}],"parameters":[{"name":"story_id","in":"path","required":true,"schema":{"type":"string","title":"Story Id"}},{"name":"available_offline","in":"query","required":true,"schema":{"type":"boolean","title":"Available Offline"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserStoryLibrary"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/story/library/remove/{story_id}":{"delete":{"tags":["story"],"summary":"Remove From Library","operationId":"remove_from_library_story_library_remove__story_id__delete","security":[{"OAuth2PasswordBearer":["users.me"]}],"parameters":[{"name":"story_id","in":"path","required":true,"schema":{"type":"string","title":"Story Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"boolean","title":"Response Remove From Library Story Library Remove  Story Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/story/reading_list/create/":{"post":{"tags":["story"],"summary":"Create Reading List","operationId":"create_reading_list_story_reading_list_create__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReadingListCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoryReadingList"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":["users.me"]}]}},"/story/reading_list/list/":{"get":{"tags":["story"],"summary":"List Reading Lists","operationId":"list_reading_lists_story_reading_list_list__get","security":[{"OAuth2PasswordBearer":["users.me"]}],"parameters":[{"name":"skip","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Skip"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Limit"}},{"name":"user_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserStoryReadingListListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/story/reading_list/update/{list_id}":{"post":{"tags":["story"],"summary":"Update Reading List","operationId":"update_reading_list_story_reading_list_update__list_id__post","security":[{"OAuth2PasswordBearer":["users.me"]}],"parameters":[{"name":"list_id","in":"path","required":true,"schema":{"type":"string","title":"List Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReadingListUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoryReadingList"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/story/reading_list/remove/{list_id}":{"delete":{"tags":["story"],"summary":"Remove Reading List","operationId":"remove_reading_list_story_reading_list_remove__list_id__delete","security":[{"OAuth2PasswordBearer":["users.me"]}],"parameters":[{"name":"list_id","in":"path","required":true,"schema":{"type":"string","title":"List Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"boolean","title":"Response Remove Reading List Story Reading List Remove  List Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/story/reading_list/add_story/{list_id}":{"post":{"tags":["story"],"summary":"Add Story To Reading List","operationId":"add_story_to_reading_list_story_reading_list_add_story__list_id__post","security":[{"OAuth2PasswordBearer":["users.me"]}],"parameters":[{"name":"list_id","in":"path","required":true,"schema":{"type":"string","title":"List Id"}},{"name":"story_id","in":"query","required":true,"schema":{"type":"string","title":"Story Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"boolean","title":"Response Add Story To Reading List Story Reading List Add Story  List Id  Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/story/reading_list/remove_story/{list_id}":{"delete":{"tags":["story"],"summary":"Remove Story From Reading List","operationId":"remove_story_from_reading_list_story_reading_list_remove_story__list_id__delete","security":[{"OAuth2PasswordBearer":["users.me"]}],"parameters":[{"name":"list_id","in":"path","required":true,"schema":{"type":"string","title":"List Id"}},{"name":"story_id","in":"query","required":true,"schema":{"type":"string","title":"Story Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"boolean","title":"Response Remove Story From Reading List Story Reading List Remove Story  List Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/story/comment/create/{story_id}":{"post":{"tags":["story"],"summary":"Create Comment","operationId":"create_comment_story_comment_create__story_id__post","security":[{"OAuth2PasswordBearer":["users.me"]}],"parameters":[{"name":"story_id","in":"path","required":true,"schema":{"type":"string","title":"Story Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoryCommentCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoryCommentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/story/comment/list/{story_id}":{"get":{"tags":["story"],"summary":"Get Comments","operationId":"get_comments_story_comment_list__story_id__get","parameters":[{"name":"story_id","in":"path","required":true,"schema":{"type":"string","title":"Story Id"}},{"name":"skip","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Skip"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}},{"name":"parent_comment_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent Comment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoryCommentListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/story/comment/get/{comment_id}":{"get":{"tags":["story"],"summary":"Get Comment","operationId":"get_comment_story_comment_get__comment_id__get","parameters":[{"name":"comment_id","in":"path","required":true,"schema":{"type":"string","title":"Comment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoryCommentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/story/comment/update/{comment_id}":{"put":{"tags":["story"],"summary":"Update Comment","operationId":"update_comment_story_comment_update__comment_id__put","security":[{"OAuth2PasswordBearer":["users.me"]}],"parameters":[{"name":"comment_id","in":"path","required":true,"schema":{"type":"string","title":"Comment Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoryCommentUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoryCommentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/story/comment/delete/{comment_id}":{"delete":{"tags":["story"],"summary":"Delete Comment","operationId":"delete_comment_story_comment_delete__comment_id__delete","security":[{"OAuth2PasswordBearer":["users.me"]}],"parameters":[{"name":"comment_id","in":"path","required":true,"schema":{"type":"string","title":"Comment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoryCommentDeleteResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/story/comment/like/{comment_id}":{"post":{"tags":["story"],"summary":"Like Comment","operationId":"like_comment_story_comment_like__comment_id__post","security":[{"OAuth2PasswordBearer":["users.me"]}],"parameters":[{"name":"comment_id","in":"path","required":true,"schema":{"type":"string","title":"Comment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoryCommentLikeResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/story/comment/unlike/{comment_id}":{"post":{"tags":["story"],"summary":"Unlike Comment","operationId":"unlike_comment_story_comment_unlike__comment_id__post","security":[{"OAuth2PasswordBearer":["users.me"]}],"parameters":[{"name":"comment_id","in":"path","required":true,"schema":{"type":"string","title":"Comment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoryCommentLikeResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/story/comment/get_like/{comment_id}":{"get":{"tags":["story"],"summary":"Get Comment Like","operationId":"get_comment_like_story_comment_get_like__comment_id__get","security":[{"OAuth2PasswordBearer":["users.me"]}],"parameters":[{"name":"comment_id","in":"path","required":true,"schema":{"type":"string","title":"Comment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"boolean","title":"Response Get Comment Like Story Comment Get Like  Comment Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/story/delete/{story_id}":{"delete":{"tags":["story"],"summary":"Delete Story","operationId":"delete_story_story_delete__story_id__delete","parameters":[{"name":"story_id","in":"path","required":true,"schema":{"type":"string","title":"Story Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"boolean","title":"Response Delete Story Story Delete  Story Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/story/chapter/{chapter_id}":{"delete":{"tags":["story"],"summary":"Delete Chapter","operationId":"delete_chapter_story_chapter__chapter_id__delete","parameters":[{"name":"chapter_id","in":"path","required":true,"schema":{"type":"string","title":"Chapter Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"boolean","title":"Response Delete Chapter Story Chapter  Chapter Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/story-report/create/":{"post":{"tags":["story-report"],"summary":"Create Story Report","description":"Hikaye raporu oluştur","operationId":"create_story_report_story_report_create__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoryReportCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoryReportCreateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":["users.me"]}]}},"/story-report/my-reports/":{"get":{"tags":["story-report"],"summary":"Get My Reports","description":"Kullanıcının kendi raporlarını getir","operationId":"get_my_reports_story_report_my_reports__get","security":[{"OAuth2PasswordBearer":["users.me"]}],"parameters":[{"name":"skip","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Skip"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoryReportListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/story-report/story/{story_id}/":{"get":{"tags":["story-report"],"summary":"Get Story Reports","description":"Belirli bir hikayenin raporlarını getir (sadece admin ve hikaye sahibi)","operationId":"get_story_reports_story_report_story__story_id___get","security":[{"OAuth2PasswordBearer":["users.me"]}],"parameters":[{"name":"story_id","in":"path","required":true,"schema":{"type":"string","title":"Story Id"}},{"name":"skip","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Skip"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoryReportListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/story-report/{report_id}/":{"get":{"tags":["story-report"],"summary":"Get Report","description":"Belirli bir raporu getir","operationId":"get_report_story_report__report_id___get","security":[{"OAuth2PasswordBearer":["users.me"]}],"parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"string","title":"Report Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoryReportResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["story-report"],"summary":"Update Report","description":"Raporu güncelle (sadece admin)","operationId":"update_report_story_report__report_id___put","security":[{"OAuth2PasswordBearer":["users.me"]}],"parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"string","title":"Report Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoryReportUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoryReportUpdateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["story-report"],"summary":"Delete Report","description":"Raporu sil (sadece admin)","operationId":"delete_report_story_report__report_id___delete","security":[{"OAuth2PasswordBearer":["users.me"]}],"parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"string","title":"Report Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoryReportDeleteResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/story-report/admin/pending/":{"get":{"tags":["story-report"],"summary":"Get Pending Reports","description":"Bekleyen raporları getir (admin)","operationId":"get_pending_reports_story_report_admin_pending__get","security":[{"OAuth2PasswordBearer":["users.me"]}],"parameters":[{"name":"skip","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Skip"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoryReportListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/story-report/admin/under-review/":{"get":{"tags":["story-report"],"summary":"Get Under Review Reports","description":"İncelemedeki raporları getir (admin)","operationId":"get_under_review_reports_story_report_admin_under_review__get","security":[{"OAuth2PasswordBearer":["users.me"]}],"parameters":[{"name":"skip","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Skip"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoryReportListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/story-report/admin/stats/":{"get":{"tags":["story-report"],"summary":"Get Report Stats","description":"Rapor istatistiklerini getir (admin dashboard)","operationId":"get_report_stats_story_report_admin_stats__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoryReportStatsResponse"}}}}},"security":[{"OAuth2PasswordBearer":["users.me"]}]}},"/story-report/admin/by-status/{status}/":{"get":{"tags":["story-report"],"summary":"Get Reports By Status","description":"Duruma göre raporları getir (admin)","operationId":"get_reports_by_status_story_report_admin_by_status__status___get","security":[{"OAuth2PasswordBearer":["users.me"]}],"parameters":[{"name":"status","in":"path","required":true,"schema":{"$ref":"#/components/schemas/ReportStatusEnum"}},{"name":"skip","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Skip"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoryReportListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/story-report/admin/by-severity/{severity}/":{"get":{"tags":["story-report"],"summary":"Get Reports By Severity","description":"Ciddiyete göre raporları getir (admin)","operationId":"get_reports_by_severity_story_report_admin_by_severity__severity___get","security":[{"OAuth2PasswordBearer":["users.me"]}],"parameters":[{"name":"severity","in":"path","required":true,"schema":{"$ref":"#/components/schemas/ReportSeverityEnum"}},{"name":"skip","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Skip"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoryReportListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/notification/list/":{"get":{"tags":["notification"],"summary":"List Notifications","operationId":"list_notifications_notification_list__get","security":[{"OAuth2PasswordBearer":["users.me"]}],"parameters":[{"name":"skip","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Skip"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}},{"name":"only_unread","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Only Unread"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/notification/mark_read/{notification_id}/":{"post":{"tags":["notification"],"summary":"Mark Read","operationId":"mark_read_notification_mark_read__notification_id___post","security":[{"OAuth2PasswordBearer":["users.me"]}],"parameters":[{"name":"notification_id","in":"path","required":true,"schema":{"type":"string","title":"Notification Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarkReadResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/notification/register_push_token/":{"post":{"tags":["notification"],"summary":"Register Push Token","operationId":"register_push_token_notification_register_push_token__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisterPushTokenPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":["users.me"]}]}},"/notification/logout/":{"post":{"tags":["notification"],"summary":"Logout","description":"Logout - kullanıcının push token'ını pasif hale getir","operationId":"logout_notification_logout__post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":["users.me"]}]}},"/email/send_to_all_users/":{"post":{"tags":["email"],"summary":"Send Email To All Users","description":"Tüm aktif kullanıcılara toplu email gönder (ADMIN ONLY).\n\nBu endpoint, tüm aktif kullanıcılara (disabled=False ve email IS NOT NULL)\ntoplu email göndermek için bir task başlatır.\n\n**Template Kullanımı:**\nHTML body'de {{}} syntax kullanarak dinamik değerler ekleyebilirsiniz.\n\n**Otomatik Placeholder:**\n- {{user_name}} - Kullanıcının adı (otomatik eklenir)\n\n**Özel Placeholder'lar:**\n- params ile geçirdiğiniz tüm key-value'lar\n- Sayısal key'ler de kullanılabilir: {{1}}, {{2}} vb.\n\n**Örnek:**\n```json\n{\n  \"title\": \"Yeni Özellik Duyurusu\",\n  \"html_body\": \"<h1>Merhaba {{user_name}}!</h1><p>{{message}}</p><p>Kod: {{promo_code}}</p>\",\n  \"params\": {\n    \"message\": \"Yeni özelliğimizi deneyin!\",\n    \"promo_code\": \"SAVE20\"\n  }\n}\n```\n\n**Güvenlik:** Sadece ADMIN scope'una sahip kullanıcılar bu endpoint'i kullanabilir.","operationId":"send_email_to_all_users_email_send_to_all_users__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendEmailToAllUsersPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendEmailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":["users.admin"]}]}},"/email/send_feedback/":{"post":{"tags":["email"],"summary":"Send Feedback","description":"Kullanıcı geri bildirimini omerdiri5@gmail.com adresine gönderir.","operationId":"send_feedback_email_send_feedback__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeedbackPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendEmailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/earning/summary/":{"get":{"tags":["earning"],"summary":"Get Summary","operationId":"get_summary_earning_summary__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EarningsSummaryResponse"}}}}},"security":[{"OAuth2PasswordBearer":["users.me"]}]}},"/earning/withdrawal/create/":{"post":{"tags":["earning"],"summary":"Create Withdrawal","operationId":"create_withdrawal_earning_withdrawal_create__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WithdrawalCreatePayload"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WithdrawalActionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":["users.me"]}]}},"/earning/withdrawal/list/":{"get":{"tags":["earning"],"summary":"List Withdrawals","operationId":"list_withdrawals_earning_withdrawal_list__get","security":[{"OAuth2PasswordBearer":["users.me"]}],"parameters":[{"name":"skip","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Skip"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WithdrawalListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/earning/withdrawal/cancel/{withdrawal_id}/":{"post":{"tags":["earning"],"summary":"Cancel Withdrawal","operationId":"cancel_withdrawal_earning_withdrawal_cancel__withdrawal_id___post","security":[{"OAuth2PasswordBearer":["users.me"]}],"parameters":[{"name":"withdrawal_id","in":"path","required":true,"schema":{"type":"string","title":"Withdrawal Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WithdrawalActionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/earning/admin/withdrawals/":{"get":{"tags":["earning"],"summary":"Admin List Withdrawals","operationId":"admin_list_withdrawals_earning_admin_withdrawals__get","security":[{"OAuth2PasswordBearer":["users.admin"]}],"parameters":[{"name":"status_filter","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/WithdrawalStatusEnum"},{"type":"null"}],"title":"Status Filter"}},{"name":"skip","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Skip"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WithdrawalListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/earning/admin/withdrawal/{withdrawal_id}/status/":{"post":{"tags":["earning"],"summary":"Admin Update Withdrawal Status","operationId":"admin_update_withdrawal_status_earning_admin_withdrawal__withdrawal_id__status__post","security":[{"OAuth2PasswordBearer":["users.admin"]}],"parameters":[{"name":"withdrawal_id","in":"path","required":true,"schema":{"type":"string","title":"Withdrawal Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WithdrawalStatusUpdatePayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WithdrawalActionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/feature-flag/list/":{"get":{"tags":["feature-flag"],"summary":"List Flags","operationId":"list_flags_feature_flag_list__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureFlagListResponse"}}}}}}},"/":{"get":{"summary":"Index","operationId":"index__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/health":{"get":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"AppleSignInPayload":{"properties":{"identity_token":{"type":"string","title":"Identity Token","description":"Apple'dan alınan identity token (JWT)"},"full_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Full Name","description":"Kullanıcının tam adı (sadece ilk girişte gelir)"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email","description":"Kullanıcının emaili (sadece ilk girişte gelir)"}},"type":"object","required":["identity_token"],"title":"AppleSignInPayload","description":"Apple ile giriş/kayıt payload'ı"},"AvailabilityResponse":{"properties":{"username_taken":{"type":"boolean","title":"Username Taken"},"email_taken":{"type":"boolean","title":"Email Taken"},"available":{"type":"boolean","title":"Available"}},"type":"object","required":["username_taken","email_taken","available"],"title":"AvailabilityResponse"},"Body_create_story_story_create__post":{"properties":{"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description"},"category":{"$ref":"#/components/schemas/StoryCategoryEnum"},"mature_content":{"type":"boolean","title":"Mature Content","default":false},"language":{"type":"string","title":"Language","default":"en"},"story_tags":{"type":"string","title":"Story Tags","default":""},"cover_file":{"type":"string","format":"binary","title":"Cover File"}},"type":"object","required":["title","description","category","cover_file"],"title":"Body_create_story_story_create__post"},"Body_create_user_user_create__post":{"properties":{"username":{"type":"string","title":"Username"},"email":{"type":"string","title":"Email"},"name":{"type":"string","title":"Name"},"surname":{"type":"string","title":"Surname"},"birth_date":{"type":"string","title":"Birth Date"},"password":{"type":"string","title":"Password"},"profile_picture":{"anyOf":[{"type":"string","format":"binary"},{"type":"null"}],"title":"Profile Picture"}},"type":"object","required":["username","email","name","surname","birth_date","password"],"title":"Body_create_user_user_create__post"},"Body_login_for_access_token_auth_login_post":{"properties":{"grant_type":{"anyOf":[{"type":"string","pattern":"password"},{"type":"null"}],"title":"Grant Type"},"username":{"type":"string","title":"Username"},"password":{"type":"string","title":"Password"},"scope":{"type":"string","title":"Scope","default":""},"client_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Id"},"client_secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Secret"}},"type":"object","required":["username","password"],"title":"Body_login_for_access_token_auth_login_post"},"Body_signup_auth_signup__post":{"properties":{"username":{"type":"string","title":"Username"},"email":{"type":"string","title":"Email"},"name":{"type":"string","title":"Name"},"surname":{"type":"string","title":"Surname"},"birth_date":{"type":"string","title":"Birth Date"},"password":{"type":"string","title":"Password"},"profile_picture":{"anyOf":[{"type":"string","format":"binary"},{"type":"null"}],"title":"Profile Picture"}},"type":"object","required":["username","email","name","surname","birth_date","password"],"title":"Body_signup_auth_signup__post"},"Body_update_profile_picture_user_update_profile_picture__put":{"properties":{"profile_picture":{"type":"string","format":"binary","title":"Profile Picture"}},"type":"object","required":["profile_picture"],"title":"Body_update_profile_picture_user_update_profile_picture__put"},"Body_update_story_story_update__story_id__put":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"category":{"anyOf":[{"$ref":"#/components/schemas/StoryCategoryEnum"},{"type":"null"}]},"mature_content":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Mature Content"},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"},"story_tags":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Story Tags"},"is_published":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Published"},"is_completed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Completed"},"cover_file":{"anyOf":[{"type":"string","format":"binary"},{"type":"null"}],"title":"Cover File"}},"type":"object","title":"Body_update_story_story_update__story_id__put"},"ChapterReorderPayload":{"properties":{"story_id":{"type":"string","title":"Story Id"},"chapter_ids":{"items":{"type":"string"},"type":"array","title":"Chapter Ids"}},"type":"object","required":["story_id","chapter_ids"],"title":"ChapterReorderPayload"},"EarningsSummaryResponse":{"properties":{"total_views":{"type":"integer","title":"Total Views"},"published_stories":{"type":"integer","title":"Published Stories"},"rate_per_view":{"type":"number","title":"Rate Per View"},"currency":{"type":"string","title":"Currency"},"total_earned":{"type":"number","title":"Total Earned"},"total_paid":{"type":"number","title":"Total Paid"},"locked_amount":{"type":"number","title":"Locked Amount"},"available_balance":{"type":"number","title":"Available Balance"},"min_withdrawal":{"type":"number","title":"Min Withdrawal"},"has_pending_request":{"type":"boolean","title":"Has Pending Request"},"can_withdraw":{"type":"boolean","title":"Can Withdraw"}},"type":"object","required":["total_views","published_stories","rate_per_view","currency","total_earned","total_paid","locked_amount","available_balance","min_withdrawal","has_pending_request","can_withdraw"],"title":"EarningsSummaryResponse"},"FeatureFlagListResponse":{"properties":{"flags":{"additionalProperties":{"type":"boolean"},"type":"object","title":"Flags"}},"type":"object","required":["flags"],"title":"FeatureFlagListResponse"},"FeedbackPayload":{"properties":{"message":{"type":"string","maxLength":2000,"minLength":5,"title":"Message","description":"Geri bildirim mesajı"},"sender_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sender Email","description":"Gönderen email (opsiyonel)"}},"type":"object","required":["message"],"title":"FeedbackPayload","description":"Kullanıcı geri bildirimi payload'ı"},"FollowersListResponse":{"properties":{"total_count":{"type":"integer","title":"Total Count"},"skip":{"type":"integer","title":"Skip"},"limit":{"type":"integer","title":"Limit"},"users":{"items":{"$ref":"#/components/schemas/UserResponse"},"type":"array","title":"Users"}},"type":"object","required":["total_count","skip","limit","users"],"title":"FollowersListResponse"},"FollowingListResponse":{"properties":{"total_count":{"type":"integer","title":"Total Count"},"skip":{"type":"integer","title":"Skip"},"limit":{"type":"integer","title":"Limit"},"users":{"items":{"$ref":"#/components/schemas/UserResponse"},"type":"array","title":"Users"}},"type":"object","required":["total_count","skip","limit","users"],"title":"FollowingListResponse"},"GoogleSignInPayload":{"properties":{"id_token":{"type":"string","title":"Id Token","description":"Google'dan alınan ID token"}},"type":"object","required":["id_token"],"title":"GoogleSignInPayload","description":"Google ile giriş/kayıt payload'ı"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"MarkReadResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"message":{"type":"string","title":"Message"}},"type":"object","required":["success","message"],"title":"MarkReadResponse"},"NotificationListResponse":{"properties":{"total_count":{"type":"integer","title":"Total Count"},"skip":{"type":"integer","title":"Skip"},"limit":{"type":"integer","title":"Limit"},"items":{"items":{"$ref":"#/components/schemas/NotificationResponse"},"type":"array","title":"Items"}},"type":"object","required":["total_count","skip","limit","items"],"title":"NotificationListResponse"},"NotificationResponse":{"properties":{"id":{"type":"string","title":"Id"},"title":{"type":"string","title":"Title"},"body":{"type":"string","title":"Body"},"is_read":{"type":"boolean","title":"Is Read"},"type":{"$ref":"#/components/schemas/NotificationTypeEnum"},"data":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Data"},"link":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Link"},"read_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Read At"},"image":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","title","body","is_read","type","created_at"],"title":"NotificationResponse"},"NotificationTypeEnum":{"type":"string","enum":["SYSTEM","STORY","CHAPTER"],"title":"NotificationTypeEnum"},"ReadingListCreate":{"properties":{"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","required":["name"],"title":"ReadingListCreate"},"ReadingListUpdate":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","title":"ReadingListUpdate"},"RegisterPushTokenPayload":{"properties":{"expo_push_token":{"type":"string","title":"Expo Push Token"},"device_platform":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Platform"},"device_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Name"}},"type":"object","required":["expo_push_token"],"title":"RegisterPushTokenPayload"},"ReportReasonEnum":{"type":"string","enum":["INAPPROPRIATE_CONTENT","COPYRIGHT_VIOLATION","HARASSMENT","HATE_SPEECH","VIOLENCE","SEXUAL_CONTENT","SPAM","MISLEADING","OTHER"],"title":"ReportReasonEnum","description":"Hikaye şikayet nedenleri"},"ReportSeverityEnum":{"type":"string","enum":["LOW","MEDIUM","HIGH","CRITICAL"],"title":"ReportSeverityEnum","description":"Rapor ciddiyeti"},"ReportStatusEnum":{"type":"string","enum":["PENDING","UNDER_REVIEW","RESOLVED","REJECTED","CLOSED"],"title":"ReportStatusEnum","description":"Rapor durumu"},"ResetPassword":{"properties":{"email":{"type":"string","title":"Email"},"code":{"type":"string","title":"Code"},"password":{"type":"string","maxLength":40,"minLength":8,"title":"Password"},"confirm_password":{"type":"string","maxLength":40,"minLength":8,"title":"Confirm Password"}},"type":"object","required":["email","code","password","confirm_password"],"title":"ResetPassword"},"Roles":{"type":"string","enum":["user","admin","super_admin"],"title":"Roles"},"SendEmailResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"message":{"type":"string","title":"Message"},"task_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task Id"}},"type":"object","required":["success","message"],"title":"SendEmailResponse","description":"Email gönderme response'ı"},"SendEmailToAllUsersPayload":{"properties":{"title":{"type":"string","title":"Title","description":"Email başlığı"},"html_body":{"type":"string","title":"Html Body","description":"HTML içerik. {{}} syntax ile placeholder kullanılabilir. {{user_name}} otomatik eklenir."},"params":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Params","description":"Özel template parametreleri. {{key}} şeklinde kullanılır. {{user_name}} zaten otomatik eklenir."}},"type":"object","required":["title","html_body"],"title":"SendEmailToAllUsersPayload","description":"Tüm kullanıcılara email gönderme payload'ı","example":{"html_body":"<h1>Merhaba {{user_name}}!</h1><p>{{message}}</p><p>Promo: {{promo_code}}</p>","params":{"message":"Yeni özelliğimizi deneyin!","promo_code":"SAVE20"},"title":"Yeni Özellik Duyurusu"}},"Story":{"properties":{"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description"},"category":{"$ref":"#/components/schemas/StoryCategoryEnum","default":"OTHER"},"is_published":{"type":"boolean","title":"Is Published","default":false},"is_completed":{"type":"boolean","title":"Is Completed","default":false},"mature_content":{"type":"boolean","title":"Mature Content","default":false},"language":{"type":"string","title":"Language","default":"en"},"cover_image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cover Image Url"},"view_count":{"type":"integer","title":"View Count","default":0},"like_count":{"type":"integer","title":"Like Count","default":0},"comment_count":{"type":"integer","title":"Comment Count","default":0},"id":{"type":"string","title":"Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"author_id":{"type":"string","title":"Author Id"}},"type":"object","required":["title","description","author_id"],"title":"Story"},"StoryCategoryEnum":{"type":"string","enum":["ROMANCE","TEEN_ROMANCE","HISTORICAL_ROMANCE","PARANORMAL_ROMANCE","FANTASY","SCIENCE_FICTION","PARANORMAL","WEREWOLF","VAMPIRE","DRAMA","GENERAL_FICTION","LITERARY_FICTION","CONTEMPORARY","YOUNG_ADULT","TEEN_FICTION","NEW_ADULT","MYSTERY","THRILLER","SUSPENSE","CRIME","ADVENTURE","ACTION","HORROR","HISTORICAL_FICTION","HUMOR","COMEDY","LGBTQ","FANFICTION","POETRY","SHORT_STORY","NON_FICTION","BIOGRAPHY","MEMOIR","SPIRITUAL","MATURE","OTHER"],"title":"StoryCategoryEnum"},"StoryChapter":{"properties":{"title":{"type":"string","title":"Title"},"story_id":{"type":"string","title":"Story Id"},"chapter_number":{"type":"integer","title":"Chapter Number"},"is_published":{"type":"boolean","title":"Is Published","default":false},"author_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Author Note"},"word_count":{"type":"integer","title":"Word Count","default":0},"id":{"type":"string","title":"Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["title","story_id","chapter_number"],"title":"StoryChapter"},"StoryChapterOnlyCreate":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"title":{"type":"string","title":"Title"},"story_id":{"type":"string","title":"Story Id"},"chapter_number":{"type":"integer","title":"Chapter Number"},"is_published":{"type":"boolean","title":"Is Published","default":false},"author_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Author Note"}},"type":"object","required":["title","story_id","chapter_number"],"title":"StoryChapterOnlyCreate"},"StoryChapterPage":{"properties":{"story_chapter_id":{"type":"string","title":"Story Chapter Id"},"page_number":{"type":"integer","title":"Page Number","default":1},"content":{"type":"string","title":"Content"},"id":{"type":"string","title":"Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["story_chapter_id","content"],"title":"StoryChapterPage"},"StoryChapterPageResponse":{"properties":{"id":{"type":"string","title":"Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"page_number":{"type":"integer","title":"Page Number"},"content":{"type":"string","title":"Content"}},"type":"object","required":["id","created_at","page_number","content"],"title":"StoryChapterPageResponse"},"StoryChapterPagesCreate":{"properties":{"story_chapter_id":{"type":"string","title":"Story Chapter Id"},"content":{"type":"string","title":"Content"}},"type":"object","required":["story_chapter_id","content"],"title":"StoryChapterPagesCreate"},"StoryChapterResponse":{"properties":{"id":{"type":"string","title":"Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"title":{"type":"string","title":"Title"},"story_id":{"type":"string","title":"Story Id"},"chapter_number":{"type":"integer","title":"Chapter Number"},"is_published":{"type":"boolean","title":"Is Published"},"author_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Author Note"},"word_count":{"type":"integer","title":"Word Count"},"pages":{"items":{"$ref":"#/components/schemas/StoryChapterPageResponse"},"type":"array","title":"Pages"}},"type":"object","required":["id","created_at","title","story_id","chapter_number","is_published","word_count","pages"],"title":"StoryChapterResponse"},"StoryCommentCreate":{"properties":{"content":{"type":"string","title":"Content"},"parent_comment_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent Comment Id"}},"type":"object","required":["content"],"title":"StoryCommentCreate","description":"Hikaye yorumu oluşturma modeli"},"StoryCommentDeleteResponse":{"properties":{"message":{"type":"string","title":"Message"}},"type":"object","required":["message"],"title":"StoryCommentDeleteResponse"},"StoryCommentLikeResponse":{"properties":{"liked":{"type":"boolean","title":"Liked"},"like_count":{"type":"integer","title":"Like Count"}},"type":"object","required":["liked","like_count"],"title":"StoryCommentLikeResponse"},"StoryCommentListResponse":{"properties":{"total_count":{"type":"integer","title":"Total Count"},"skip":{"type":"integer","title":"Skip"},"limit":{"type":"integer","title":"Limit"},"comments":{"items":{"$ref":"#/components/schemas/StoryCommentResponse"},"type":"array","title":"Comments"}},"type":"object","required":["total_count","skip","limit","comments"],"title":"StoryCommentListResponse"},"StoryCommentResponse":{"properties":{"id":{"type":"string","title":"Id"},"content":{"type":"string","title":"Content"},"story_id":{"type":"string","title":"Story Id"},"user_id":{"type":"string","title":"User Id"},"parent_comment_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent Comment Id"},"like_count":{"type":"integer","title":"Like Count"},"reply_count":{"type":"integer","title":"Reply Count","default":0},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"user":{"$ref":"#/components/schemas/UserResponse"}},"type":"object","required":["id","content","story_id","user_id","like_count","created_at","user"],"title":"StoryCommentResponse"},"StoryCommentUpdate":{"properties":{"content":{"type":"string","title":"Content"}},"type":"object","required":["content"],"title":"StoryCommentUpdate","description":"Hikaye yorumu güncelleme modeli"},"StoryListResponse":{"properties":{"total_count":{"type":"integer","title":"Total Count"},"skip":{"type":"integer","title":"Skip"},"limit":{"type":"integer","title":"Limit"},"stories":{"items":{"$ref":"#/components/schemas/StoryResponse"},"type":"array","title":"Stories"}},"type":"object","required":["total_count","skip","limit","stories"],"title":"StoryListResponse"},"StoryReadingList":{"properties":{"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"like_count":{"type":"integer","title":"Like Count","default":0},"user_id":{"type":"string","title":"User Id"},"id":{"type":"string","title":"Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["name","description","user_id"],"title":"StoryReadingList"},"StoryReportCreate":{"properties":{"story_id":{"type":"string","title":"Story Id"},"reason":{"$ref":"#/components/schemas/ReportReasonEnum"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"chapter_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chapter Id"},"page_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Page Id"}},"type":"object","required":["story_id","reason"],"title":"StoryReportCreate","description":"Hikaye raporu oluşturma modeli"},"StoryReportCreateResponse":{"properties":{"message":{"type":"string","title":"Message"},"report_id":{"type":"string","title":"Report Id"},"status":{"type":"string","title":"Status"}},"type":"object","required":["message","report_id","status"],"title":"StoryReportCreateResponse"},"StoryReportDeleteResponse":{"properties":{"message":{"type":"string","title":"Message"}},"type":"object","required":["message"],"title":"StoryReportDeleteResponse"},"StoryReportListResponse":{"properties":{"total_count":{"type":"integer","title":"Total Count"},"skip":{"type":"integer","title":"Skip"},"limit":{"type":"integer","title":"Limit"},"reports":{"items":{"$ref":"#/components/schemas/StoryReportResponse"},"type":"array","title":"Reports"}},"type":"object","required":["total_count","skip","limit","reports"],"title":"StoryReportListResponse"},"StoryReportResponse":{"properties":{"id":{"type":"string","title":"Id"},"story_id":{"type":"string","title":"Story Id"},"reporter_id":{"type":"string","title":"Reporter Id"},"reason":{"type":"string","title":"Reason"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"chapter_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chapter Id"},"page_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Page Id"},"status":{"type":"string","title":"Status"},"severity":{"type":"string","title":"Severity"},"admin_notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Admin Notes"},"resolution":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resolution"},"resolved_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Resolved At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["id","story_id","reporter_id","reason","status","severity","created_at"],"title":"StoryReportResponse"},"StoryReportStatsResponse":{"properties":{"total_reports":{"type":"integer","title":"Total Reports"},"pending_reports":{"type":"integer","title":"Pending Reports"},"under_review_reports":{"type":"integer","title":"Under Review Reports"},"resolved_reports":{"type":"integer","title":"Resolved Reports"},"critical_reports":{"type":"integer","title":"Critical Reports"},"high_reports":{"type":"integer","title":"High Reports"}},"type":"object","required":["total_reports","pending_reports","under_review_reports","resolved_reports","critical_reports","high_reports"],"title":"StoryReportStatsResponse"},"StoryReportUpdate":{"properties":{"status":{"anyOf":[{"$ref":"#/components/schemas/ReportStatusEnum"},{"type":"null"}]},"severity":{"anyOf":[{"$ref":"#/components/schemas/ReportSeverityEnum"},{"type":"null"}]},"admin_notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Admin Notes"},"resolution":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resolution"}},"type":"object","title":"StoryReportUpdate","description":"Hikaye raporu güncelleme modeli"},"StoryReportUpdateResponse":{"properties":{"message":{"type":"string","title":"Message"},"report":{"$ref":"#/components/schemas/StoryReportResponse"}},"type":"object","required":["message","report"],"title":"StoryReportUpdateResponse"},"StoryResponse":{"properties":{"id":{"type":"string","title":"Id"},"author_id":{"type":"string","title":"Author Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description"},"category":{"$ref":"#/components/schemas/StoryCategoryEnum"},"is_published":{"type":"boolean","title":"Is Published"},"is_completed":{"type":"boolean","title":"Is Completed"},"mature_content":{"type":"boolean","title":"Mature Content"},"language":{"type":"string","title":"Language"},"cover_image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cover Image Url"},"view_count":{"type":"integer","title":"View Count"},"like_count":{"type":"integer","title":"Like Count"},"comment_count":{"type":"integer","title":"Comment Count"},"tags":{"items":{},"type":"array","title":"Tags"},"author":{"$ref":"#/components/schemas/UserResponse"}},"type":"object","required":["id","author_id","created_at","title","description","category","is_published","is_completed","mature_content","language","view_count","like_count","comment_count","tags","author"],"title":"StoryResponse"},"SubscriptionStatusResponse":{"properties":{"is_premium":{"type":"boolean","title":"Is Premium"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"platform":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Platform"}},"type":"object","required":["is_premium"],"title":"SubscriptionStatusResponse"},"SubscriptionVerifyRequest":{"properties":{"platform":{"type":"string","title":"Platform"},"product_id":{"type":"string","title":"Product Id"},"purchase_token":{"type":"string","title":"Purchase Token"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"}},"type":"object","required":["platform","product_id","purchase_token"],"title":"SubscriptionVerifyRequest"},"Token":{"properties":{"access_token":{"type":"string","title":"Access Token"},"token_type":{"type":"string","title":"Token Type"},"scopes":{"items":{"type":"string"},"type":"array","title":"Scopes"},"activated":{"type":"boolean","title":"Activated"}},"type":"object","required":["access_token","token_type","scopes","activated"],"title":"Token"},"User":{"properties":{"username":{"type":"string","maxLength":40,"minLength":3,"title":"Username"},"email":{"type":"string","format":"email","title":"Email"},"name":{"type":"string","maxLength":40,"minLength":2,"title":"Name"},"surname":{"type":"string","maxLength":40,"minLength":2,"title":"Surname"},"birth_date":{"type":"string","format":"date-time","title":"Birth Date"},"profile_picture":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Profile Picture"},"id":{"type":"string","title":"Id"},"disabled":{"type":"boolean","title":"Disabled","default":true},"activated":{"type":"boolean","title":"Activated","default":false},"role":{"$ref":"#/components/schemas/Roles","default":"user"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["username","email","name","surname","birth_date"],"title":"User"},"UserBlockCreateResponse":{"properties":{"message":{"type":"string","title":"Message"},"block_id":{"type":"string","title":"Block Id"}},"type":"object","required":["message","block_id"],"title":"UserBlockCreateResponse"},"UserBlockDeleteResponse":{"properties":{"message":{"type":"string","title":"Message"}},"type":"object","required":["message"],"title":"UserBlockDeleteResponse"},"UserBlockListResponse":{"properties":{"total_count":{"type":"integer","title":"Total Count"},"skip":{"type":"integer","title":"Skip"},"limit":{"type":"integer","title":"Limit"},"blocked_users":{"items":{},"type":"array","title":"Blocked Users"}},"type":"object","required":["total_count","skip","limit","blocked_users"],"title":"UserBlockListResponse"},"UserFollowCheckResponse":{"properties":{"is_following":{"type":"boolean","title":"Is Following"}},"type":"object","required":["is_following"],"title":"UserFollowCheckResponse"},"UserFollowCreateResponse":{"properties":{"message":{"type":"string","title":"Message"},"follow_id":{"type":"string","title":"Follow Id"}},"type":"object","required":["message","follow_id"],"title":"UserFollowCreateResponse"},"UserFollowDeleteResponse":{"properties":{"message":{"type":"string","title":"Message"}},"type":"object","required":["message"],"title":"UserFollowDeleteResponse"},"UserFollowStatsResponse":{"properties":{"followers_count":{"type":"integer","title":"Followers Count"},"following_count":{"type":"integer","title":"Following Count"}},"type":"object","required":["followers_count","following_count"],"title":"UserFollowStatsResponse"},"UserResponse":{"properties":{"id":{"type":"string","title":"Id"},"username":{"type":"string","title":"Username"},"profile_picture":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Profile Picture"}},"type":"object","required":["id","username"],"title":"UserResponse"},"UserStoryLibrary":{"properties":{"user_id":{"type":"string","title":"User Id"},"story_id":{"type":"string","title":"Story Id"},"current_page":{"type":"integer","title":"Current Page","default":1},"current_chapter_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Current Chapter Id"},"is_archived":{"type":"boolean","title":"Is Archived","default":false},"available_offline":{"type":"boolean","title":"Available Offline","default":false},"id":{"type":"string","title":"Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["user_id","story_id"],"title":"UserStoryLibrary"},"UserStoryLibraryListResponse":{"properties":{"total_count":{"type":"integer","title":"Total Count"},"skip":{"type":"integer","title":"Skip"},"limit":{"type":"integer","title":"Limit"},"items":{"items":{"$ref":"#/components/schemas/UserStoryLibraryResponse"},"type":"array","title":"Items"}},"type":"object","required":["total_count","skip","limit","items"],"title":"UserStoryLibraryListResponse"},"UserStoryLibraryResponse":{"properties":{"id":{"type":"string","title":"Id"},"story_id":{"type":"string","title":"Story Id"},"user_id":{"type":"string","title":"User Id"},"current_page":{"type":"integer","title":"Current Page"},"current_chapter_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Current Chapter Id"},"is_archived":{"type":"boolean","title":"Is Archived"},"available_offline":{"type":"boolean","title":"Available Offline"},"story":{"$ref":"#/components/schemas/StoryResponse"}},"type":"object","required":["id","story_id","user_id","current_page","is_archived","available_offline","story"],"title":"UserStoryLibraryResponse"},"UserStoryReadingListListResponse":{"properties":{"total_count":{"type":"integer","title":"Total Count"},"skip":{"type":"integer","title":"Skip"},"limit":{"type":"integer","title":"Limit"},"items":{"items":{"$ref":"#/components/schemas/UserStoryReadingListResponse"},"type":"array","title":"Items"}},"type":"object","required":["total_count","skip","limit","items"],"title":"UserStoryReadingListListResponse"},"UserStoryReadingListResponse":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"user_id":{"type":"string","title":"User Id"},"stories":{"items":{"$ref":"#/components/schemas/StoryResponse"},"type":"array","title":"Stories"}},"type":"object","required":["id","name","user_id","stories"],"title":"UserStoryReadingListResponse"},"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"},"VersionCheckRequest":{"properties":{"current_version":{"type":"string","title":"Current Version","description":"Kullanıcının mevcut uygulama versiyonu (ör: 0.0.5)"}},"type":"object","required":["current_version"],"title":"VersionCheckRequest","description":"Mobil uygulama versiyon kontrol request'i","example":{"current_version":"0.0.5"}},"VersionCheckResponse":{"properties":{"current_version":{"type":"string","title":"Current Version","description":"Sunucudaki en güncel versiyon"},"minimum_version":{"type":"string","title":"Minimum Version","description":"Desteklenen minimum versiyon"},"force_update":{"type":"boolean","title":"Force Update","description":"Kullanıcının zorunlu güncelleme yapması gerekip gerekmediği"},"update_message":{"type":"string","title":"Update Message","description":"Kullanıcıya gösterilecek güncelleme mesajı"},"ios_store_url":{"type":"string","title":"Ios Store Url","description":"iOS App Store URL'i"},"android_store_url":{"type":"string","title":"Android Store Url","description":"Android Play Store URL'i"}},"type":"object","required":["current_version","minimum_version","force_update","update_message","ios_store_url","android_store_url"],"title":"VersionCheckResponse","description":"Mobil uygulama versiyon kontrol response'ı"},"WithdrawalActionResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"message":{"type":"string","title":"Message"},"withdrawal":{"anyOf":[{"$ref":"#/components/schemas/WithdrawalResponse"},{"type":"null"}]}},"type":"object","required":["success","message"],"title":"WithdrawalActionResponse"},"WithdrawalCreatePayload":{"properties":{"amount":{"type":"number","exclusiveMinimum":0.0,"title":"Amount","description":"Requested withdrawal amount"},"iban":{"type":"string","title":"Iban","description":"Turkish IBAN (TR + 24 digits)"},"full_name":{"type":"string","maxLength":80,"minLength":5,"title":"Full Name","description":"Bank account holder full name"}},"type":"object","required":["amount","iban","full_name"],"title":"WithdrawalCreatePayload"},"WithdrawalListResponse":{"properties":{"total_count":{"type":"integer","title":"Total Count"},"skip":{"type":"integer","title":"Skip"},"limit":{"type":"integer","title":"Limit"},"items":{"items":{"$ref":"#/components/schemas/WithdrawalResponse"},"type":"array","title":"Items"}},"type":"object","required":["total_count","skip","limit","items"],"title":"WithdrawalListResponse"},"WithdrawalResponse":{"properties":{"id":{"type":"string","title":"Id"},"amount":{"type":"number","title":"Amount"},"currency":{"type":"string","title":"Currency"},"iban":{"type":"string","title":"Iban"},"full_name":{"type":"string","title":"Full Name"},"status":{"$ref":"#/components/schemas/WithdrawalStatusEnum"},"admin_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Admin Note"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"processed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Processed At"}},"type":"object","required":["id","amount","currency","iban","full_name","status","created_at"],"title":"WithdrawalResponse"},"WithdrawalStatusEnum":{"type":"string","enum":["PENDING","APPROVED","PAID","REJECTED","CANCELLED"],"title":"WithdrawalStatusEnum"},"WithdrawalStatusUpdatePayload":{"properties":{"status":{"$ref":"#/components/schemas/WithdrawalStatusEnum","description":"New status (APPROVED, PAID or REJECTED)"},"admin_note":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Admin Note"}},"type":"object","required":["status"],"title":"WithdrawalStatusUpdatePayload"}},"securitySchemes":{"OAuth2PasswordBearer":{"type":"oauth2","flows":{"password":{"scopes":{"me":"Read information about the current user.","items":"Read items."},"tokenUrl":"auth/login"}}}}}}