Authenticated key meta bilgisini doner
GET/auth/me
HTTP Basic Auth ile gelen request'in dogrulanmis kimligini doner. Smoke test endpoint'i — entegrasyonun calistigini hizli test etmek icin.
DONULEN ALANLAR (api_secret_hash veya benzeri sensitive alan YOK):
api_key_id: Internal numeric IDreseller_id: WHMCStblclients.id(bayinin musteri id'si)name: Key etiketipermissions: Scope listesi (["orders:create", "*"])client_ip: Bu istegi yapan istemci IP'si (X-Forwarded-For trusted proxy resolver ile)last_used_at: Bu key'in son kullanim zamani (RFC 3339)expires_at: Key'in expire tarihi (NULL = sonsuz)rate_limit_rpm: Per-key override (NULL = default 60)auto_apply_credit: POST /orders bakiye otomatik tahsilat toggle'i (true = default; false ise siparispending_payment+notice=auto_apply_credit_disableddoner, bayi faturayi manuel oder). Admin CLI ile degistirilir:php bin/api-key-update.php <id> --auto-apply-credit=0|1
Responses
- 200
- 401
- 403
- 429
Authenticated, kimlik bilgisi donuldu
Response Headers
Bu key icin tanimli dakika basi limit
Mevcut window'da kalan istek sayisi
Sonraki window basinin Unix epoch'u (UTC saniye)
Authentication basarisiz — eksik header, gecersiz API key/secret, revoked veya expired key.
Response Headers
RFC 7235 header — istemciye Basic Auth zorunlulugunu bildirir
IP whitelist ihlali — gelen IP key'in izin listesinde degil
Dakika basina limit asildi
Response Headers
429 sonrasi tekrar denemeden once beklenmesi gereken saniye (RFC 7231 §7.1.3)
Bu key icin tanimli dakika basi limit
Sonraki window basinin Unix epoch'u (UTC saniye)