Route Kataloğu
Sosyabot'un backend'i backend/src/routes/index.ts'ten ~66 route modülünü bağlar. Aşağıdaki tablo hızlı oryantasyon için onları yüzeye göre gruplar.
Auth & oturum açma
| Yol | Modül |
|---|---|
/auth | auth.routes (signup, login, verify, OTP) |
/auth/oauth/{google,github} | auth.oauth.routes |
/auth/{platform}, /auth/{platform}/callback | social.<platform>.routes (15 platform) |
Sosyal platformlar (15)
/social/x, /social/instagram, /social/facebook, /social/linkedin, /social/tiktok, /social/threads, /social/bluesky, /social/mastodon, /social/pinterest, /social/youtube, /social/reddit, /social/discord, /social/slack, /social/telegram, /social/listmonk.
Editör & içerik
/posts, /post-campaigns, /post-labels, /posts/.../comments, /captions, /watermarks, /bulk-posts.
AI
/ai-prompts, /ai-templates, /ai-categories, /ai/text, /ai/inline, /ai/images, /ai/videos, /ai/suggestions, /ai-agents, /ai-models.
Dosyalar
/files, /search-media-online, /proxies.
Analitik
/analytics/* (12 endpoint — bkz. Pano).
RSS, kısa linkler
/rss-schedules, /short-links.
Takım & çalışma alanı
/workspaces, /workspace, /teams, /groups, /invitations, /signatures.
Hesap & faturalandırma
/account, /plans, /billing, /coupons, /subscription, /checkout.
Pazaryeri
/marketplace/gigs, /marketplace/orders.
Bildirimler
/notifications, /notification-preferences.
Geliştirici
/api-tokens, /webhooks, /public/*.
Yönetim (admin izni gerektirir)
/admin/users, /admin/health, /admin/payment-requests, /admin/subscriptions, /admin/invoices, /admin/plans, /admin/coupons, /options, /email-templates, /admin/api-integration/*.
Webhook'lar (inbound)
/webhooks/billing/{stripe,paytr}.
Otoriter kaynak
Güncel parametre şekilleri ve yanıt şemaları için GET /api/v1/public/openapi.json çek veya backend/src/routes/index.ts'i doğrudan oku.