Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Shankar-105/Social-Media-Api
/ types & classes
Types & classes
106 in github.com/Shankar-105/Social-Media-Api
⨍
Functions
373
◇
Types & classes
106
↳
Endpoints
72
↓ 6 callers
Class
_NoopCeleryTask
pytests/conftest.py:60
↓ 3 callers
Class
AuthenticationException
app/utils/exceptions.py:40
↓ 3 callers
Class
CanEditResponse
Response for can edit check
app/schemas.py:382
↓ 3 callers
Class
FakeAsyncResult
pytests/test_celery_infrastructure.py:13
↓ 3 callers
Class
ResourceNotFoundException
app/utils/exceptions.py:21
↓ 2 callers
Class
ConnectionManager
app/utils/socket_manager.py:12
↓ 2 callers
Class
MessageSchema
Message schema for WebSocket chat
app/schemas.py:440
↓ 1 callers
Class
ActorBasic
Minimal actor info embedded in a notification (who triggered it).
app/schemas.py:481
↓ 1 callers
Class
FakeInspector
pytests/test_celery_infrastructure.py:20
↓ 1 callers
Class
FakeOrig
pytests/test_concurrency_hardening.py:363
↓ 1 callers
Class
Notification
Stores every notification a user receives. owner_id — the user who RECEIVES this notification actor_id — the user who TRIGGERED it (li
app/models.py:402
↓ 1 callers
Class
NotificationListResponse
Paginated list of notifications.
app/schemas.py:504
↓ 1 callers
Class
NotificationType
app/models.py:11
↓ 1 callers
Class
PostCreateRequest
Request schema for creating a post
app/schemas.py:126
↓ 1 callers
Class
SearchRequest
Request schema for search
app/schemas.py:251
↓ 1 callers
Class
Settings
app/config.py:7
↓ 1 callers
Class
SharedPost
app/models.py:36
↓ 1 callers
Class
ValidationException
app/utils/exceptions.py:31
↓ 1 callers
Class
VerifyEmailRequest
Request body for verifying signup email with OTP.
app/schemas.py:104
Class
AppException
Base class for all application-specific exceptions.
app/utils/exceptions.py:4
Class
AuthorizationException
app/utils/exceptions.py:49
Class
BusinessLogicException
app/utils/exceptions.py:83
Class
ChatHistoryResponse
Complete chat history
app/schemas.py:378
Class
ChatMessageItem
Chat message item in history
app/schemas.py:347
Class
CommentCreateRequest
Request schema for creating a comment
app/schemas.py:199
Class
CommentDetailResponse
Complete comment details
app/schemas.py:208
Class
CommentListResponse
Paginated list of comments
app/schemas.py:219
Class
CommentStatsResponse
User comment statistics
app/schemas.py:427
Class
CommentUpdateRequest
Request schema for updating a comment
app/schemas.py:204
Class
CommentVoteRequest
Request schema for voting on a comment
app/schemas.py:231
Class
CommentVotes
app/models.py:131
Class
Comments
app/models.py:138
Class
ConflictException
app/utils/exceptions.py:66
Class
DatabaseException
app/utils/exceptions.py:57
Class
DeletedMessage
app/models.py:84
Class
DeletedSharedPost
app/models.py:97
Class
ErrorResponse
General Error response
app/schemas.py:20
Class
FeedItemResponse
Feed item with post and owner
app/schemas.py:267
Class
FeedPost
Feed post schema
app/schemas.py:453
Class
FeedResponse
Feed response with pagination
app/schemas.py:273
Class
FollowResponse
Response after follow/unfollow action
app/schemas.py:244
Class
ForgotPasswordSchema
Request schema for forgot password
app/schemas.py:114
Class
LoggingASGIMiddleware
Improved ASGI middleware using structlog for structured request logging. Injects request_id, trace_id into context and logs request results.
app/utils/observability.py:64
Class
MediaInfo
General Media metadata
app/schemas.py:24
Class
Message
app/models.py:278
Class
MessageCreateRequest
Request schema for sending a message
app/schemas.py:292
Class
MessageDeleteRequest
Request schema for deleting a message
app/schemas.py:305
Class
MessageDetailResponse
Message response
app/schemas.py:322
Class
MessageEditRequest
Request schema for editing a message
app/schemas.py:299
Class
MessageReaction
app/models.py:372
Class
MessageReplies
app/models.py:270
Class
NotificationResponse
Single notification as returned by GET /v1/users/me/notifications. The client uses entity_id + entity_type to decide which screen to open
app/schemas.py:488
Class
OTP
app/models.py:115
Class
PaginationMetadata
Reusable pagination metadata
app/schemas.py:9
Class
PasswordChangeInitRequest
Request to initiate password change
app/schemas.py:280
Class
PasswordResetRequest
Request to reset password with OTP
app/schemas.py:284
Class
Post
app/models.py:151
Class
PostAnalytics
Post analytics data
app/schemas.py:188
Class
PostDetailResponse
Complete post details
app/schemas.py:140
Class
PostListItemResponse
Post item in a list (lighter version)
app/schemas.py:159
Class
PostListResponse
Paginated list of posts
app/schemas.py:172
Class
PostUpdateRequest
Request schema for updating a post
app/schemas.py:133
Class
PostView
app/models.py:201
Class
RateLimitException
app/utils/exceptions.py:75
Class
ReactedUsers
Legacy reacted users schema
app/schemas.py:315
Class
ReactionInfo
General Reaction details
app/schemas.py:29
Class
ReactionPayload
Request schema for reacting to a message
app/schemas.py:310
Class
RefreshToken
Stores every refresh token ever issued. token — opaque random string (secrets.token_urlsafe), NOT a JWT family_id — UUID that grou
app/models.py:445
Class
RefreshTokenRequest
Request body for POST /v1/auth/refresh-token
app/schemas.py:99
Class
ReplyMessageRequest
Request schema for replying to a message
app/schemas.py:339
Class
ReplyMessageSchema
Reply message schema for WebSocket
app/schemas.py:460
Class
ReplyToShareRequest
Request schema for replying to a shared post
app/schemas.py:407
Class
ReplyToShareSchema
Reply to share schema for WebSocket
app/schemas.py:468
Class
ResendVerificationOtpRequest
Request body for re-sending verification OTP.
app/schemas.py:110
Class
ResetPasswordSchema
Request schema for resetting password with OTP
app/schemas.py:118
Class
SavedPost
app/models.py:185
Class
SavedPostItemResponse
app/schemas.py:178
Class
SavedPostsResponse
app/schemas.py:185
Class
SearchResultResponse
Search result response
app/schemas.py:258
Class
SharePostRequest
Request schema for sharing a post
app/schemas.py:389
Class
ShareReactionRequest
Request schema for reacting to shared post
app/schemas.py:415
Class
SharedPostDetailResponse
Shared post response
app/schemas.py:395
Class
SharedPostItem
Shared post item in chat history
app/schemas.py:363
Class
SharedPostReaction
app/models.py:386
Class
SharedPostReplies
app/models.py:25
Class
SuccessResponse
General Success response
app/schemas.py:16
Class
TestCrossProcessArchitecture
Tests for the cross-process architecture pattern.
pytests/test_cross_process_chat_delivery.py:314
Class
TestCrossProcessChatDelivery
Test Redis Pub/Sub integration for chat message distribution.
pytests/test_cross_process_chat_delivery.py:44
Class
TestRedisListenerIntegration
Test the Redis listener that delivers messages across processes.
pytests/test_cross_process_chat_delivery.py:285
Class
TokenModel
JWT token response
app/schemas.py:91
Class
TunedUvicornWorker
Gunicorn worker with config-driven Uvicorn protocol/event loop tuning. All settings are loaded from app.config.Settings (sourced from .env fi
app/utils/tuned_worker.py:4
Class
UnreadCountResponse
Unread notification badge count.
app/schemas.py:513
Class
User
app/models.py:210
Class
UserBasicResponse
General Minimal user info
app/schemas.py:56
Class
UserLoginRequest
Request schema for user login
app/schemas.py:45
Class
UserOut
Basic user info for post author in feeds
app/schemas.py:447
Class
UserPostsResponse
Response for user's posts list
app/schemas.py:432
Class
UserProfileResponse
General Complete user profile data
app/schemas.py:66
Class
UserResponse
General Standard user response after User Account Creation
app/schemas.py:81
Class
UserSignupRequest
Request schema for user signup
app/schemas.py:38
next →
1–100 of 106, ranked by callers