Skip to main content

API Genel Bakış

Hedef Kitle: Geliştirici
Sayfa Türü: Referans


Temel URL (Base URL)

https://api.cos-platform.com/v1

Kimlik Doğrulama (Authentication)

Tüm istekler header içinde JWT token gerektirir:

Authorization: Bearer {jwt_token}
X-Tenant-ID: {tenant_id}
Content-Type: application/json

Ana Endpoint'ler

Auth

POST   /auth/login
POST /auth/register
POST /auth/refresh-token

Platform & Yönetim

GET/POST/PATCH   /users                     # Kullanıcı yönetimi
GET/POST /users/me/onboarding # Onboarding
GET/POST/PATCH /tenants # Tenant yönetimi
GET/POST/PATCH /admin/tenants # Admin tenant yönetimi
GET/POST/PATCH /tenant-groups # TenantGroup (holding) yönetimi
GET/POST/PATCH /admin/users # Admin kullanıcı yönetimi
GET/POST /admin/permissions # RBAC izin yönetimi
GET /admin/dashboard # Admin dashboard
GET/POST /admin/library # Admin kütüphane yönetimi
GET /admin # Admin lookups
GET/POST /permissions # İzin kontrolü
GET /lookups # Genel lookuplar
GET/POST /notifications # Bildirim sistemi

Plan & Abonelik

GET/POST/PATCH/DELETE  /plans                # Plan CRUD
GET/PUT /plans/overrides # Feature override
GET/POST/PATCH/DELETE /subscriptions # Abonelik CRUD

Bağlam (Context)

GET/POST/PATCH   /org                       # Organizasyon yapısı
GET/POST/PATCH /products # Ürün yönetimi
GET/POST/PATCH /mission-vision # Misyon & Vizyon
GET/POST/PATCH /strategic-cycles # Stratejik döngüler

Analiz (Analysis)

GET/POST/PATCH   /current-states            # Mevcut Durum Analizi
GET/POST/PATCH /product-scorecard # Ürün Scorecard
GET/POST/PATCH /digital-maturity # Dijital Olgunluk Değerlendirmesi
GET/POST/PATCH /admin/digital-maturity-templates # DMA Şablonları
GET/POST/PATCH /excellence-assessments # Mükemmellik Değerlendirmesi
GET/POST/PATCH /admin/excellence-templates # Mükemmellik Şablonları
GET/POST/PATCH /resources-vrio # VRIO Kaynak Analizi
GET/POST/PATCH /pestle # PESTLE Analizi
GET/POST/PATCH /porter-5 # Porter 5 Güç Analizi
GET/POST/PATCH /bcg-matrix # BCG Matrisi
GET/POST/PATCH /findings # Bulgular

Sentez (Synthesis)

GET/POST/PATCH   /swot                      # SWOT Analizi
GET/POST/PATCH /strategic-themes # Stratejik Temalar

Uygulama (Execution)

GET/POST/PATCH   /bsc                       # Balanced Scorecard
GET/POST/PATCH /new-okr # OKR Yönetimi
GET/POST/PATCH /performance-indicator # Performans Göstergeleri (KPI)
GET/POST/PATCH /roadmap # Strateji Yol Haritası

Gap Analizi & Raporlama

GET/POST/PATCH   /gaps                      # Gap yönetimi
GET/POST/PATCH /gaps/actions # Gap aksiyonları
GET /reports/performance # Performans raporları
GET /strategy-dashboard # Strateji dashboard
GET /dashboard # Genel dashboard
GET /team/performance # Takım performansı

Kütüphane

GET/POST/PATCH   /kpi-library               # KPI kütüphanesi
GET/POST /integrations # Entegrasyonlar

AI

POST   /ai-assistant                        # AI chat
GET /admin/ai # AI admin yönetimi

Hız Sınırı (Rate Limiting)

100 requests per minute (per user)

Hata Yanıtları

400 Bad Request
401 Unauthorized (JWT invalid)
403 Forbidden (Permission denied)
404 Not Found
500 Internal Server Error

Dokümantasyon

Tam API dokümanları: [Henüz codebase'de yayınlanmadı]


Ayrıca bakınız