{"openapi":"3.0.1","info":{"title":"OpenAPI definition","version":"v0"},"servers":[{"url":"https://api.iklim.co","description":"Production server"},{"url":"https://api-test.iklim.co","description":"Test server"},{"url":"http://localhost:8080","description":"Local development environment with api gateway"}],"tags":[{"name":"Kullanıcı Servisi","description":"Kullanıcı ile İlgili İşlemleri Yönetir"},{"name":"Yetklilendirme Servisi","description":"Yetkilendirme İşlemlerini Yönetir"}],"paths":{"/v1/users/password-reset":{"post":{"tags":["Kullanıcı Servisi"],"summary":"Şifre Sıfırlama İşlemi","description":"Şifre Sıfırlama İsteği Sırasında Gönderilen ","operationId":"resetPassword","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResetPasswordBody"}}},"required":true},"responses":{"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"}}}},"401":{"description":"Yetkisiz veya Hatalı İmza ile İstek","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"},"examples":{"Unauthorized Example 1":{"summary":"Example response 1","description":"Unauthorized Example 1","value":{"timestamp":"2025-04-14T16:57:50.083970026","status":401,"error":"Unauthorized","message":"Bad Credentials","path":"/endpoint/uri/here"}},"Unauthorized Example 2":{"summary":"Example response 2","description":"Unauthorized Example 2","value":{"timestamp":"2025-04-14T16:57:50.083970026","status":401,"error":"Unauthorized","message":"Invalid request signature","path":"/auth/login"}}}}}},"400":{"description":"İstek Sırasında Gerekli Başlıklar Bulunamadı veya İstek Gövdesi Hatalı","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"},"examples":{"Bad Request Example":{"summary":"Example response","description":"Bad Request Example","value":{"timestamp":"2025-04-14T16:26:54.203118461","status":400,"error":"Bad Request","message":"Missing X-Idempotency-Key header","path":"/endpoint/uri/here"}}}}}},"204":{"description":"Başarılı Şifre Sıfırlama"},"409":{"description":"Mükerrer İstek Yapıldı","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"},"examples":{"Conflict Example 1":{"summary":"Example response 1","description":"Conflict Example 1","value":{"timestamp":"2025-04-14T16:57:21.168927321","status":409,"error":"Conflict","message":"Replay attack detected (nonce reused)","path":"/endpoint/uri/here"}},"Conflict Example 2":{"summary":"Example response 2","description":"Conflict Example 2","value":{"timestamp":"2025-04-14T16:56:28.671809875","status":409,"error":"Conflict","message":"Duplicate request detected (X-Idempotency-Key)","path":"/endpoint/uri/here"}}}}}},"301":{"description":"Şifre Sıfırlama Başarılı, Verilen Linke Yönlendiriliyor"},"500":{"description":"İstek Sırasında Dahili Sunucu Hatası","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"},"examples":{"Internal Server Error Example":{"summary":"Example response","description":"Internal Server Error Example","value":{"timestamp":"2025-04-14T16:58:10.414972912","status":500,"error":"Internal Server Error","message":"An Error Occurred During Login","path":"/endpoint/uri/here"}}}}}}}}},"/v1/users/password-reset-request":{"post":{"tags":["Kullanıcı Servisi"],"summary":"Şifre Sıfırlama İsteği Yapılan İşlem","description":"Şifresini Unutan Kullanıcıların Şifre Sırıflramasını Talebini Alan İşlemdir. Bir Kullanıcı İçin Belirli Bir Periyot İçinde Şifre Sıfırlama Talebine Sınır Uygulanır. Bu Sınır Aşıldığında Tekrar Email Gönderilmez ve Hata Mesajı Döner.","operationId":"passwordResetRequest","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordResetRequest"}}},"required":true},"responses":{"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"}}}},"401":{"description":"Yetkisiz veya Hatalı İmza ile İstek","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"},"examples":{"Unauthorized Example 1":{"summary":"Example response 1","description":"Unauthorized Example 1","value":{"timestamp":"2025-04-14T16:57:50.083970026","status":401,"error":"Unauthorized","message":"Bad Credentials","path":"/endpoint/uri/here"}},"Unauthorized Example 2":{"summary":"Example response 2","description":"Unauthorized Example 2","value":{"timestamp":"2025-04-14T16:57:50.083970026","status":401,"error":"Unauthorized","message":"Invalid request signature","path":"/auth/login"}}}}}},"400":{"description":"İstek Sırasında Gerekli Başlıklar Bulunamadı veya İstek Gövdesi Hatalı","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"},"examples":{"Bad Request Example":{"summary":"Example response","description":"Bad Request Example","value":{"timestamp":"2025-04-14T16:26:54.203118461","status":400,"error":"Bad Request","message":"Missing X-Idempotency-Key header","path":"/endpoint/uri/here"}}}}}},"409":{"description":"Mükerrer İstek Yapıldı","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"},"examples":{"Conflict Example 1":{"summary":"Example response 1","description":"Conflict Example 1","value":{"timestamp":"2025-04-14T16:57:21.168927321","status":409,"error":"Conflict","message":"Replay attack detected (nonce reused)","path":"/endpoint/uri/here"}},"Conflict Example 2":{"summary":"Example response 2","description":"Conflict Example 2","value":{"timestamp":"2025-04-14T16:56:28.671809875","status":409,"error":"Conflict","message":"Duplicate request detected (X-Idempotency-Key)","path":"/endpoint/uri/here"}}}}}},"200":{"description":"Başarılı Şifre Sıfırlama İsteği","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordResetResponse"}}}},"500":{"description":"İstek Sırasında Dahili Sunucu Hatası","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"},"examples":{"Internal Server Error Example":{"summary":"Example response","description":"Internal Server Error Example","value":{"timestamp":"2025-04-14T16:58:10.414972912","status":500,"error":"Internal Server Error","message":"An Error Occurred During Login","path":"/endpoint/uri/here"}}}}}}}}},"/v1/users/page":{"post":{"tags":["Kullanıcı Servisi"],"summary":"Sayfalanabilir Kullanıcı Listeleme İşlemi","description":"Sadece ADMIN Rölüne Sahip Kullanıcılar Tarafından Kullanılabilir. Sistemdeki Kayıtlı Kullanıcıları Verilen Filtre ve Sıralama Seçeneklerine Göre Sayfalanabilir Olarak Getirir","operationId":"listAll","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageUserRequest"}}},"required":true},"responses":{"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"}}}},"401":{"description":"Yetkisiz veya Hatalı İmza ile İstek","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"},"examples":{"Unauthorized Example 1":{"summary":"Example response 1","description":"Unauthorized Example 1","value":{"timestamp":"2025-04-14T16:57:50.083970026","status":401,"error":"Unauthorized","message":"Bad Credentials","path":"/endpoint/uri/here"}},"Unauthorized Example 2":{"summary":"Example response 2","description":"Unauthorized Example 2","value":{"timestamp":"2025-04-14T16:57:50.083970026","status":401,"error":"Unauthorized","message":"Invalid request signature","path":"/auth/login"}}}}}},"400":{"description":"İstek Sırasında Gerekli Başlıklar Bulunamadı veya İstek Gövdesi Hatalı","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"},"examples":{"Bad Request Example":{"summary":"Example response","description":"Bad Request Example","value":{"timestamp":"2025-04-14T16:26:54.203118461","status":400,"error":"Bad Request","message":"Missing X-Idempotency-Key header","path":"/endpoint/uri/here"}}}}}},"409":{"description":"Mükerrer İstek Yapıldı","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"},"examples":{"Conflict Example 1":{"summary":"Example response 1","description":"Conflict Example 1","value":{"timestamp":"2025-04-14T16:57:21.168927321","status":409,"error":"Conflict","message":"Replay attack detected (nonce reused)","path":"/endpoint/uri/here"}},"Conflict Example 2":{"summary":"Example response 2","description":"Conflict Example 2","value":{"timestamp":"2025-04-14T16:56:28.671809875","status":409,"error":"Conflict","message":"Duplicate request detected (X-Idempotency-Key)","path":"/endpoint/uri/here"}}}}}},"200":{"description":"Başarılı Kullanıcı Listeleme","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageUserResponse"}}}},"500":{"description":"İstek Sırasında Dahili Sunucu Hatası","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"},"examples":{"Internal Server Error Example":{"summary":"Example response","description":"Internal Server Error Example","value":{"timestamp":"2025-04-14T16:58:10.414972912","status":500,"error":"Internal Server Error","message":"An Error Occurred During Login","path":"/endpoint/uri/here"}}}}}}}}},"/v1/users/create":{"post":{"tags":["Kullanıcı Servisi"],"summary":"Yeni Kullanıcı Oluşturma İşlemi","description":"Sadece ADMIN Rölüne Sahip Kullanıcılar Tarafından Kullanılabilir. Detayları Verilen Yeni Kullanıcı Kaydını Oluşturur. Şifre Alanı Boş Bırakılırsa 12 Alfa Nümerik Karakterli Rastgele Bir Şifre Oluşturulur. Kullanıcı Oluşturulduktan Sonra İlgili Kullanıcının Email Adresine (Kullanıcı Adı) Hoş Geldiniz E-Postası Gönderilir. Şifre Bilgileri Bu E-Postanın İçinde Mevcuttur.","operationId":"createUser","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateUserRequest"}}},"required":true},"responses":{"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"}}}},"401":{"description":"Yetkisiz veya Hatalı İmza ile İstek","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"},"examples":{"Unauthorized Example 1":{"summary":"Example response 1","description":"Unauthorized Example 1","value":{"timestamp":"2025-04-14T16:57:50.083970026","status":401,"error":"Unauthorized","message":"Bad Credentials","path":"/endpoint/uri/here"}},"Unauthorized Example 2":{"summary":"Example response 2","description":"Unauthorized Example 2","value":{"timestamp":"2025-04-14T16:57:50.083970026","status":401,"error":"Unauthorized","message":"Invalid request signature","path":"/auth/login"}}}}}},"400":{"description":"İstek Sırasında Gerekli Başlıklar Bulunamadı veya İstek Gövdesi Hatalı","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"},"examples":{"Bad Request Example":{"summary":"Example response","description":"Bad Request Example","value":{"timestamp":"2025-04-14T16:26:54.203118461","status":400,"error":"Bad Request","message":"Missing X-Idempotency-Key header","path":"/endpoint/uri/here"}}}}}},"409":{"description":"Mükerrer İstek Yapıldı","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"},"examples":{"Conflict Example 1":{"summary":"Example response 1","description":"Conflict Example 1","value":{"timestamp":"2025-04-14T16:57:21.168927321","status":409,"error":"Conflict","message":"Replay attack detected (nonce reused)","path":"/endpoint/uri/here"}},"Conflict Example 2":{"summary":"Example response 2","description":"Conflict Example 2","value":{"timestamp":"2025-04-14T16:56:28.671809875","status":409,"error":"Conflict","message":"Duplicate request detected (X-Idempotency-Key)","path":"/endpoint/uri/here"}}}}}},"200":{"description":"Başarılı Yeni Kullanıcı Oluşturma","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResponse"}}}},"500":{"description":"İstek Sırasında Dahili Sunucu Hatası","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"},"examples":{"Internal Server Error Example":{"summary":"Example response","description":"Internal Server Error Example","value":{"timestamp":"2025-04-14T16:58:10.414972912","status":500,"error":"Internal Server Error","message":"An Error Occurred During Login","path":"/endpoint/uri/here"}}}}}}}}},"/v1/users/change-password":{"post":{"tags":["Kullanıcı Servisi"],"summary":"Şifre Değiştirme İşlemi","description":"Kullanıcının Kendi Şifresini Değiştirmesini Sağlayan İşlem. Bir Kullanıcı Başka Bir Kullanıcının Şifresini Bu İşlem Üzerinden Değiştiremez!","operationId":"changePassword","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangePasswordRequest"}}},"required":true},"responses":{"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"}}}},"401":{"description":"Yetkisiz veya Hatalı İmza ile İstek","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"},"examples":{"Unauthorized Example 1":{"summary":"Example response 1","description":"Unauthorized Example 1","value":{"timestamp":"2025-04-14T16:57:50.083970026","status":401,"error":"Unauthorized","message":"Bad Credentials","path":"/endpoint/uri/here"}},"Unauthorized Example 2":{"summary":"Example response 2","description":"Unauthorized Example 2","value":{"timestamp":"2025-04-14T16:57:50.083970026","status":401,"error":"Unauthorized","message":"Invalid request signature","path":"/auth/login"}}}}}},"400":{"description":"İstek Sırasında Gerekli Başlıklar Bulunamadı veya İstek Gövdesi Hatalı","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"},"examples":{"Bad Request Example":{"summary":"Example response","description":"Bad Request Example","value":{"timestamp":"2025-04-14T16:26:54.203118461","status":400,"error":"Bad Request","message":"Missing X-Idempotency-Key header","path":"/endpoint/uri/here"}}}}}},"204":{"description":"Şifre Sıfırlama Başarılı"},"409":{"description":"Mükerrer İstek Yapıldı","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"},"examples":{"Conflict Example 1":{"summary":"Example response 1","description":"Conflict Example 1","value":{"timestamp":"2025-04-14T16:57:21.168927321","status":409,"error":"Conflict","message":"Replay attack detected (nonce reused)","path":"/endpoint/uri/here"}},"Conflict Example 2":{"summary":"Example response 2","description":"Conflict Example 2","value":{"timestamp":"2025-04-14T16:56:28.671809875","status":409,"error":"Conflict","message":"Duplicate request detected (X-Idempotency-Key)","path":"/endpoint/uri/here"}}}}}},"500":{"description":"İstek Sırasında Dahili Sunucu Hatası","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"},"examples":{"Internal Server Error Example":{"summary":"Example response","description":"Internal Server Error Example","value":{"timestamp":"2025-04-14T16:58:10.414972912","status":500,"error":"Internal Server Error","message":"An Error Occurred During Login","path":"/endpoint/uri/here"}}}}}}}}},"/v1/auth/register":{"post":{"tags":["Yetklilendirme Servisi"],"summary":"Yeni Kullanıcı Kaydı","description":"Yeni Kullanıcı Kaydı Yapılır","operationId":"register","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisterUserRequest"}}},"required":true},"responses":{"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"}}}},"401":{"description":"Yetkisiz veya Hatalı İmza ile İstek","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"},"examples":{"Unauthorized Example 1":{"summary":"Example response 1","description":"Unauthorized Example 1","value":{"timestamp":"2025-04-14T16:57:50.083970026","status":401,"error":"Unauthorized","message":"Bad Credentials","path":"/endpoint/uri/here"}},"Unauthorized Example 2":{"summary":"Example response 2","description":"Unauthorized Example 2","value":{"timestamp":"2025-04-14T16:57:50.083970026","status":401,"error":"Unauthorized","message":"Invalid request signature","path":"/auth/login"}}}}}},"400":{"description":"İstek Sırasında Gerekli Başlıklar Bulunamadı veya İstek Gövdesi Hatalı","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"},"examples":{"Bad Request Example":{"summary":"Example response","description":"Bad Request Example","value":{"timestamp":"2025-04-14T16:26:54.203118461","status":400,"error":"Bad Request","message":"Missing X-Idempotency-Key header","path":"/endpoint/uri/here"}}}}}},"409":{"description":"Mükerrer İstek Yapıldı","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"},"examples":{"Conflict Example 1":{"summary":"Example response 1","description":"Conflict Example 1","value":{"timestamp":"2025-04-14T16:57:21.168927321","status":409,"error":"Conflict","message":"Replay attack detected (nonce reused)","path":"/endpoint/uri/here"}},"Conflict Example 2":{"summary":"Example response 2","description":"Conflict Example 2","value":{"timestamp":"2025-04-14T16:56:28.671809875","status":409,"error":"Conflict","message":"Duplicate request detected (X-Idempotency-Key)","path":"/endpoint/uri/here"}}}}}},"500":{"description":"İstek Sırasında Dahili Sunucu Hatası","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"},"examples":{"Internal Server Error Example":{"summary":"Example response","description":"Internal Server Error Example","value":{"timestamp":"2025-04-14T16:58:10.414972912","status":500,"error":"Internal Server Error","message":"An Error Occurred During Login","path":"/endpoint/uri/here"}}}}}},"200":{"description":"Başarılı Kullanıcı Kaydı","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisterUserRequest"}}}}}}},"/v1/auth/refresh":{"post":{"tags":["Yetklilendirme Servisi"],"summary":"Yetki Belirteci Yenileme İşlemi","description":"Yetki Belirtecinin Süresi Dolduğunda Yenileme Belirteci Kullanılarak Yetki Belirteci Yenilenir","operationId":"refreshToken","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenRefreshRequest"}}},"required":true},"responses":{"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"}}}},"401":{"description":"Yetkisiz veya Hatalı İmza ile İstek","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"},"examples":{"Unauthorized Example 1":{"summary":"Example response 1","description":"Unauthorized Example 1","value":{"timestamp":"2025-04-14T16:57:50.083970026","status":401,"error":"Unauthorized","message":"Bad Credentials","path":"/endpoint/uri/here"}},"Unauthorized Example 2":{"summary":"Example response 2","description":"Unauthorized Example 2","value":{"timestamp":"2025-04-14T16:57:50.083970026","status":401,"error":"Unauthorized","message":"Invalid request signature","path":"/auth/login"}}}}}},"400":{"description":"İstek Sırasında Gerekli Başlıklar Bulunamadı veya İstek Gövdesi Hatalı","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"},"examples":{"Bad Request Example":{"summary":"Example response","description":"Bad Request Example","value":{"timestamp":"2025-04-14T16:26:54.203118461","status":400,"error":"Bad Request","message":"Missing X-Idempotency-Key header","path":"/endpoint/uri/here"}}}}}},"409":{"description":"Mükerrer İstek Yapıldı","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"},"examples":{"Conflict Example 1":{"summary":"Example response 1","description":"Conflict Example 1","value":{"timestamp":"2025-04-14T16:57:21.168927321","status":409,"error":"Conflict","message":"Replay attack detected (nonce reused)","path":"/endpoint/uri/here"}},"Conflict Example 2":{"summary":"Example response 2","description":"Conflict Example 2","value":{"timestamp":"2025-04-14T16:56:28.671809875","status":409,"error":"Conflict","message":"Duplicate request detected (X-Idempotency-Key)","path":"/endpoint/uri/here"}}}}}},"200":{"description":"Başarılı Yetki Belirteci Yenileme","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginResponse"}}}},"500":{"description":"İstek Sırasında Dahili Sunucu Hatası","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"},"examples":{"Internal Server Error Example":{"summary":"Example response","description":"Internal Server Error Example","value":{"timestamp":"2025-04-14T16:58:10.414972912","status":500,"error":"Internal Server Error","message":"An Error Occurred During Login","path":"/endpoint/uri/here"}}}}}}}}},"/v1/auth/logout":{"post":{"tags":["Yetklilendirme Servisi"],"summary":"Çıkış İşlemi","description":"Çıkış İşlemi Kimlik Doğrulama Belirtecini Kara Listeye Alır","operationId":"logout","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LogoutRequest"}}},"required":true},"responses":{"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"}}}},"401":{"description":"Yetkisiz veya Hatalı İmza ile İstek","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"},"examples":{"Unauthorized Example 1":{"summary":"Example response 1","description":"Unauthorized Example 1","value":{"timestamp":"2025-04-14T16:57:50.083970026","status":401,"error":"Unauthorized","message":"Bad Credentials","path":"/endpoint/uri/here"}},"Unauthorized Example 2":{"summary":"Example response 2","description":"Unauthorized Example 2","value":{"timestamp":"2025-04-14T16:57:50.083970026","status":401,"error":"Unauthorized","message":"Invalid request signature","path":"/auth/login"}}}}}},"400":{"description":"İstek Sırasında Gerekli Başlıklar Bulunamadı veya İstek Gövdesi Hatalı","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"},"examples":{"Bad Request Example":{"summary":"Example response","description":"Bad Request Example","value":{"timestamp":"2025-04-14T16:26:54.203118461","status":400,"error":"Bad Request","message":"Missing X-Idempotency-Key header","path":"/endpoint/uri/here"}}}}}},"409":{"description":"Mükerrer İstek Yapıldı","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"},"examples":{"Conflict Example 1":{"summary":"Example response 1","description":"Conflict Example 1","value":{"timestamp":"2025-04-14T16:57:21.168927321","status":409,"error":"Conflict","message":"Replay attack detected (nonce reused)","path":"/endpoint/uri/here"}},"Conflict Example 2":{"summary":"Example response 2","description":"Conflict Example 2","value":{"timestamp":"2025-04-14T16:56:28.671809875","status":409,"error":"Conflict","message":"Duplicate request detected (X-Idempotency-Key)","path":"/endpoint/uri/here"}}}}}},"200":{"description":"OK"},"500":{"description":"İstek Sırasında Dahili Sunucu Hatası","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"},"examples":{"Internal Server Error Example":{"summary":"Example response","description":"Internal Server Error Example","value":{"timestamp":"2025-04-14T16:58:10.414972912","status":500,"error":"Internal Server Error","message":"An Error Occurred During Login","path":"/endpoint/uri/here"}}}}}}}}},"/v1/auth/login":{"post":{"tags":["Yetklilendirme Servisi"],"summary":"Giriş İşlemi","description":"Kullanıcı Adı ve Şifre İle Giriş Yapılır","operationId":"login","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginRequest"}}},"required":true},"responses":{"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"}}}},"401":{"description":"Yetkisiz veya Hatalı İmza ile İstek","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"},"examples":{"Unauthorized Example 1":{"summary":"Example response 1","description":"Unauthorized Example 1","value":{"timestamp":"2025-04-14T16:57:50.083970026","status":401,"error":"Unauthorized","message":"Bad Credentials","path":"/endpoint/uri/here"}},"Unauthorized Example 2":{"summary":"Example response 2","description":"Unauthorized Example 2","value":{"timestamp":"2025-04-14T16:57:50.083970026","status":401,"error":"Unauthorized","message":"Invalid request signature","path":"/auth/login"}}}}}},"400":{"description":"İstek Sırasında Gerekli Başlıklar Bulunamadı veya İstek Gövdesi Hatalı","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"},"examples":{"Bad Request Example":{"summary":"Example response","description":"Bad Request Example","value":{"timestamp":"2025-04-14T16:26:54.203118461","status":400,"error":"Bad Request","message":"Missing X-Idempotency-Key header","path":"/endpoint/uri/here"}}}}}},"409":{"description":"Mükerrer İstek Yapıldı","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"},"examples":{"Conflict Example 1":{"summary":"Example response 1","description":"Conflict Example 1","value":{"timestamp":"2025-04-14T16:57:21.168927321","status":409,"error":"Conflict","message":"Replay attack detected (nonce reused)","path":"/endpoint/uri/here"}},"Conflict Example 2":{"summary":"Example response 2","description":"Conflict Example 2","value":{"timestamp":"2025-04-14T16:56:28.671809875","status":409,"error":"Conflict","message":"Duplicate request detected (X-Idempotency-Key)","path":"/endpoint/uri/here"}}}}}},"500":{"description":"İstek Sırasında Dahili Sunucu Hatası","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"},"examples":{"Internal Server Error Example":{"summary":"Example response","description":"Internal Server Error Example","value":{"timestamp":"2025-04-14T16:58:10.414972912","status":500,"error":"Internal Server Error","message":"An Error Occurred During Login","path":"/endpoint/uri/here"}}}}}},"200":{"description":"Başarılı Giriş","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginResponse"}}}}}}},"/v1/users/update":{"patch":{"tags":["Kullanıcı Servisi"],"summary":"Kullanıcı Güncelleme İşlemi","description":"Sadece ADMIN Rolüne Sahip Kullanıcıların Rol, Durum ve Şifre Güncelleyebildiği, Sadece POWER_USER ve Daha Üst Role Sahip Kullanıcılar ile İstekte Bulunan Kendi Kullanıcının Kullanıcı Adını Değiştirebildiği, Diğer Kullanıcı Rollerine Sahip Kullanıcıların Kalan Diğer Alanları Güncelleyebildiği Bir İşlemdir.","operationId":"update","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUserRequest"}}},"required":true},"responses":{"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"}}}},"401":{"description":"Yetkisiz veya Hatalı İmza ile İstek","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"},"examples":{"Unauthorized Example 1":{"summary":"Example response 1","description":"Unauthorized Example 1","value":{"timestamp":"2025-04-14T16:57:50.083970026","status":401,"error":"Unauthorized","message":"Bad Credentials","path":"/endpoint/uri/here"}},"Unauthorized Example 2":{"summary":"Example response 2","description":"Unauthorized Example 2","value":{"timestamp":"2025-04-14T16:57:50.083970026","status":401,"error":"Unauthorized","message":"Invalid request signature","path":"/auth/login"}}}}}},"400":{"description":"İstek Sırasında Gerekli Başlıklar Bulunamadı veya İstek Gövdesi Hatalı","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"},"examples":{"Bad Request Example":{"summary":"Example response","description":"Bad Request Example","value":{"timestamp":"2025-04-14T16:26:54.203118461","status":400,"error":"Bad Request","message":"Missing X-Idempotency-Key header","path":"/endpoint/uri/here"}}}}}},"409":{"description":"Mükerrer İstek Yapıldı","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"},"examples":{"Conflict Example 1":{"summary":"Example response 1","description":"Conflict Example 1","value":{"timestamp":"2025-04-14T16:57:21.168927321","status":409,"error":"Conflict","message":"Replay attack detected (nonce reused)","path":"/endpoint/uri/here"}},"Conflict Example 2":{"summary":"Example response 2","description":"Conflict Example 2","value":{"timestamp":"2025-04-14T16:56:28.671809875","status":409,"error":"Conflict","message":"Duplicate request detected (X-Idempotency-Key)","path":"/endpoint/uri/here"}}}}}},"200":{"description":"Başarılı Kullanıcı Güncelleme","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResponse"}}}},"500":{"description":"İstek Sırasında Dahili Sunucu Hatası","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"},"examples":{"Internal Server Error Example":{"summary":"Example response","description":"Internal Server Error Example","value":{"timestamp":"2025-04-14T16:58:10.414972912","status":500,"error":"Internal Server Error","message":"An Error Occurred During Login","path":"/endpoint/uri/here"}}}}}}}}},"/v1/users/{userId}":{"get":{"tags":["Kullanıcı Servisi"],"summary":"Kullanıcı Getir İşlemi","description":"Sadece POWER_USER ve Üstü Role Sahip Kullanıcılar Tarafından Kullanılabilir. Verilen Kullanıcı Kimlik Belirteci İle Kullanıcı Detaylarını Getirir","operationId":"getUser","parameters":[{"name":"userId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"}}}},"401":{"description":"Yetkisiz veya Hatalı İmza ile İstek","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"},"examples":{"Unauthorized Example 1":{"summary":"Example response 1","description":"Unauthorized Example 1","value":{"timestamp":"2025-04-14T16:57:50.083970026","status":401,"error":"Unauthorized","message":"Bad Credentials","path":"/endpoint/uri/here"}},"Unauthorized Example 2":{"summary":"Example response 2","description":"Unauthorized Example 2","value":{"timestamp":"2025-04-14T16:57:50.083970026","status":401,"error":"Unauthorized","message":"Invalid request signature","path":"/auth/login"}}}}}},"400":{"description":"İstek Sırasında Gerekli Başlıklar Bulunamadı veya İstek Gövdesi Hatalı","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"},"examples":{"Bad Request Example":{"summary":"Example response","description":"Bad Request Example","value":{"timestamp":"2025-04-14T16:26:54.203118461","status":400,"error":"Bad Request","message":"Missing X-Idempotency-Key header","path":"/endpoint/uri/here"}}}}}},"409":{"description":"Mükerrer İstek Yapıldı","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"},"examples":{"Conflict Example 1":{"summary":"Example response 1","description":"Conflict Example 1","value":{"timestamp":"2025-04-14T16:57:21.168927321","status":409,"error":"Conflict","message":"Replay attack detected (nonce reused)","path":"/endpoint/uri/here"}},"Conflict Example 2":{"summary":"Example response 2","description":"Conflict Example 2","value":{"timestamp":"2025-04-14T16:56:28.671809875","status":409,"error":"Conflict","message":"Duplicate request detected (X-Idempotency-Key)","path":"/endpoint/uri/here"}}}}}},"200":{"description":"Başarılı Kullanıcı Detaylarını Getirme","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResponse"}}}},"500":{"description":"İstek Sırasında Dahili Sunucu Hatası","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"},"examples":{"Internal Server Error Example":{"summary":"Example response","description":"Internal Server Error Example","value":{"timestamp":"2025-04-14T16:58:10.414972912","status":500,"error":"Internal Server Error","message":"An Error Occurred During Login","path":"/endpoint/uri/here"}}}}}}}}},"/v1/users/unblock/{userId}":{"get":{"tags":["Kullanıcı Servisi"],"summary":"Kullanıcı Engelini Kaldırma İşlemi","description":"Sadece ADMIN Rölüne Sahip Kullanıcılar Tarafından Kullanılabilir. Brute-Force Atağı Şeklinde Yetkisiz Giriş Denemesi Sayısını Aşan Kullanıcı Kalıcı Olarak Engellenir. Bu Engellemenin Kaldırılması İçin Kullanılan İşlemdir.","operationId":"unblockUser","parameters":[{"name":"userId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"}}}},"401":{"description":"Yetkisiz veya Hatalı İmza ile İstek","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"},"examples":{"Unauthorized Example 1":{"summary":"Example response 1","description":"Unauthorized Example 1","value":{"timestamp":"2025-04-14T16:57:50.083970026","status":401,"error":"Unauthorized","message":"Bad Credentials","path":"/endpoint/uri/here"}},"Unauthorized Example 2":{"summary":"Example response 2","description":"Unauthorized Example 2","value":{"timestamp":"2025-04-14T16:57:50.083970026","status":401,"error":"Unauthorized","message":"Invalid request signature","path":"/auth/login"}}}}}},"400":{"description":"İstek Sırasında Gerekli Başlıklar Bulunamadı veya İstek Gövdesi Hatalı","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"},"examples":{"Bad Request Example":{"summary":"Example response","description":"Bad Request Example","value":{"timestamp":"2025-04-14T16:26:54.203118461","status":400,"error":"Bad Request","message":"Missing X-Idempotency-Key header","path":"/endpoint/uri/here"}}}}}},"409":{"description":"Mükerrer İstek Yapıldı","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"},"examples":{"Conflict Example 1":{"summary":"Example response 1","description":"Conflict Example 1","value":{"timestamp":"2025-04-14T16:57:21.168927321","status":409,"error":"Conflict","message":"Replay attack detected (nonce reused)","path":"/endpoint/uri/here"}},"Conflict Example 2":{"summary":"Example response 2","description":"Conflict Example 2","value":{"timestamp":"2025-04-14T16:56:28.671809875","status":409,"error":"Conflict","message":"Duplicate request detected (X-Idempotency-Key)","path":"/endpoint/uri/here"}}}}}},"200":{"description":"Başarılı Kullanıcı Engeli Kaldırma","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResponse"}}}},"500":{"description":"İstek Sırasında Dahili Sunucu Hatası","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"},"examples":{"Internal Server Error Example":{"summary":"Example response","description":"Internal Server Error Example","value":{"timestamp":"2025-04-14T16:58:10.414972912","status":500,"error":"Internal Server Error","message":"An Error Occurred During Login","path":"/endpoint/uri/here"}}}}}}}}},"/v1/users/me":{"get":{"tags":["Kullanıcı Servisi"],"summary":"Kendi Kullanıcı Bilgilerini Getir İşlemi","description":"Herhangi Bir Belirteç Vermeden Sadece İstek Yapanın Keni Kullanıcı Detaylarını Getirir","operationId":"getMe","responses":{"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"}}}},"401":{"description":"Yetkisiz veya Hatalı İmza ile İstek","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"},"examples":{"Unauthorized Example 1":{"summary":"Example response 1","description":"Unauthorized Example 1","value":{"timestamp":"2025-04-14T16:57:50.083970026","status":401,"error":"Unauthorized","message":"Bad Credentials","path":"/endpoint/uri/here"}},"Unauthorized Example 2":{"summary":"Example response 2","description":"Unauthorized Example 2","value":{"timestamp":"2025-04-14T16:57:50.083970026","status":401,"error":"Unauthorized","message":"Invalid request signature","path":"/auth/login"}}}}}},"400":{"description":"İstek Sırasında Gerekli Başlıklar Bulunamadı veya İstek Gövdesi Hatalı","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"},"examples":{"Bad Request Example":{"summary":"Example response","description":"Bad Request Example","value":{"timestamp":"2025-04-14T16:26:54.203118461","status":400,"error":"Bad Request","message":"Missing X-Idempotency-Key header","path":"/endpoint/uri/here"}}}}}},"409":{"description":"Mükerrer İstek Yapıldı","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"},"examples":{"Conflict Example 1":{"summary":"Example response 1","description":"Conflict Example 1","value":{"timestamp":"2025-04-14T16:57:21.168927321","status":409,"error":"Conflict","message":"Replay attack detected (nonce reused)","path":"/endpoint/uri/here"}},"Conflict Example 2":{"summary":"Example response 2","description":"Conflict Example 2","value":{"timestamp":"2025-04-14T16:56:28.671809875","status":409,"error":"Conflict","message":"Duplicate request detected (X-Idempotency-Key)","path":"/endpoint/uri/here"}}}}}},"200":{"description":"Başarılı Kendi Kullanıcı Detaylarını Getirme","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResponse"}}}},"500":{"description":"İstek Sırasında Dahili Sunucu Hatası","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"},"examples":{"Internal Server Error Example":{"summary":"Example response","description":"Internal Server Error Example","value":{"timestamp":"2025-04-14T16:58:10.414972912","status":500,"error":"Internal Server Error","message":"An Error Occurred During Login","path":"/endpoint/uri/here"}}}}}}}}}},"components":{"schemas":{"StandardErrorResponse":{"required":["error","message","path","status","timestamp"],"type":"object","properties":{"timestamp":{"type":"string","description":"Hata Zaman Damgası","format":"date-time"},"status":{"type":"integer","description":"Hata Durum Kodu","format":"int32"},"error":{"type":"string","description":"Hata Adı","example":"Error Name"},"message":{"type":"string","description":"Hata Açıklaması","example":"Error Message"},"path":{"type":"string","description":"Hata Veren Endpoint URI","example":"/endpoint/uri/here"}}},"ResetPasswordBody":{"required":["newPassword","token","userId"],"type":"object","properties":{"userId":{"type":"string","description":"Şifre Sıfırlarken Verilmesi Gereken Kullanıcı Kimlik Belirteci","example":"88a52d74-ebee-49a4-9631-cfe492f4bf53"},"token":{"type":"string","description":"Şifre Sıfırlama İsteği Cevabında Dönen veya Yönlendirilen Sayfaya Parametre Olarak Geçilen Belirteç","example":"937bf90f-0f4b-46ff-b714-43513ba5eeec"},"newPassword":{"type":"string","description":"Yeni Şifre","example":"newStr0ng!P@ssw0rd"},"loginPageLink":{"type":"string","description":"Şifre Sıfırmala İşlemi Başarılı İse Yönlendirilecek Sayfa Bağlantısı. Zorunlu Değildir. Verilirse; Şifre Değiştirme İşleminin Sonucu Olarak Bağlantı İçine 'message' Parametresi Eklenir.","example":"https://ui.iklim.co/login"}}},"PasswordResetRequest":{"required":["passwordResetPageLink","userName"],"type":"object","properties":{"userName":{"type":"string","description":"E-Posta Biçiminde Kullanıcı Adı","example":"name@email.com"},"passwordResetPageLink":{"type":"string","description":"Şifre Sıfırlama Sırasında Yeni Şifrenin Girileceği Sayfaya Giden Bağlantı. Bağlantı İçine Parametre Olarak Userid (u) ve Şifre Sıfırlama Belirteci (t) Eklenir.","example":"https://ui.iklim.co/reset-password"}}},"PasswordResetResponse":{"type":"object","properties":{"userName":{"type":"string","description":"Kullanıcı Adı"},"userId":{"type":"string","description":"Kullanıcı Kimlik Belirteci"},"token":{"type":"string","description":"Şifre Sıfırlama Belirteci"},"tokenExpirationEpoch":{"type":"integer","description":"Epoch Saniye Cinsinden Şifre Sıfırlama Belirtecinin Geçerli Olduğu Tarih","format":"int64"}}},"PageUserRequest":{"type":"object","properties":{"roles":{"type":"array","description":"Kullanıcı Rolleri Filtresi","example":"['API_USER', 'STANDARD_USER']","items":{"type":"string","description":"{msg:swagger.schema.users.page-request.roles}","example":"['API_USER', 'STANDARD_USER']","enum":["GUEST","API_USER","STANDARD_USER","POWER_USER","EXTENDED_USER","ADMIN"]}},"status":{"type":"array","description":"Kullanıcı Durumları Filtresi","example":"['INACTIVE', 'BLOCKED', 'EXPIRED']","items":{"type":"string","description":"{msg:swagger.schema.users.page-request.status}","example":"['INACTIVE', 'BLOCKED', 'EXPIRED']","enum":["INACTIVE","ACTIVE","EXPIRED","BLOCKED","DELETED"]}},"sortBy":{"type":"object","additionalProperties":{"type":"string","description":"{msg:swagger.schema.users.page-request.sort-by}","example":"{\"username\":\"asc\",\"status\":\"desc\"}"},"description":"Sonuç Sıralama Alanları ve Yönleri","example":{"username":"asc","status":"desc"}},"pageNumber":{"minimum":0,"type":"integer","description":"Sayfa Numarası","format":"int32","example":0},"pageSize":{"maximum":100,"minimum":1,"type":"integer","description":"Sayfadaki Kayıt Saysı","format":"int32","example":10},"includeAccount":{"type":"boolean","description":"Hesap Detaylarını Dahil Etme İşareti","example":false}}},"Account":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"userId":{"type":"string","format":"uuid"},"type":{"type":"string","enum":["INDIVIDUAL","ORGANIZATION"]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"mobilePhoneNumber":{"type":"string"},"location":{"type":"string"},"company":{"type":"string"},"industry":{"type":"string"},"profilePictureUrl":{"type":"string"},"subscriptionPlan":{"type":"string","enum":["NONE","TRIAL","BASIC_MONTHLY","BASIC_YEARLY","PREMIUM_MONTHLY","PREMIUM_YEARLY","CUSTOM"]},"emailVerified":{"type":"boolean"},"mobilePhoneNumberVerified":{"type":"boolean"}}},"PageUserResponse":{"type":"object","properties":{"users":{"type":"array","description":"Sayfadaki Kullanıcı Listesi","items":{"$ref":"#/components/schemas/UserResponse"}},"totalRecords":{"type":"integer","description":"Toplam Kullanıcı Sayısı","format":"int32"},"pageNumber":{"type":"integer","description":"Sayfa Numarası","format":"int32"},"pageSize":{"type":"integer","description":"Sayfadaki Kayıt Sayısı","format":"int32"}}},"UserResponse":{"required":["firstName","lastName","locale","roles","status","timezone","userId","username"],"type":"object","properties":{"userId":{"type":"string","description":"Kaydedilen Kullanıcının ID Numarası","example":"8e94a551-5b86-40ba-ae55-b019dee5cc25"},"username":{"type":"string","description":"Kaydedilen Kullanıcı İsmi","example":"name@domain.com"},"firstName":{"type":"string","description":"Kaydedilen Kullanıcının İlk Adı","example":"John"},"midName":{"type":"string","description":"Kaydedilen Kullanıcının Göbek Adı","example":"Bob"},"lastName":{"type":"string","description":"Kaydedilen Kullanıcının Soy Adı","example":"Doe"},"locale":{"type":"string","description":"Kaydedilen Kullanıcının Yerel Ayarı","example":"tr_TR"},"timezone":{"type":"string","description":"Kaydedilen Kullanıcının Zaman Dilimi Id'si","example":"Europe/Istanbul"},"roles":{"uniqueItems":true,"type":"array","description":"Kaydedilen Kullanıcının Rolleri","example":"API_USER","items":{"type":"string","description":"{msg:swagger.schema.auth.register-response.roles}","example":"API_USER","enum":["GUEST","API_USER","STANDARD_USER","POWER_USER","EXTENDED_USER","ADMIN"]}},"status":{"type":"string","description":"Kaydedilen Kullanıcının Durumu","example":"INACTIVE","enum":["INACTIVE","ACTIVE","EXPIRED","BLOCKED","DELETED"]},"account":{"$ref":"#/components/schemas/Account"}}},"CreateUserRequest":{"required":["firstName","lastName","locale","roles","status","timezone","username"],"type":"object","properties":{"username":{"type":"string","description":"Kayıt İçin E-Posta Biçiminde Kullanıcı Adı","example":"name@domain.com"},"password":{"type":"string","description":"Kayıt İçin Şifre","example":"password"},"firstName":{"type":"string","description":"Kayıt İçin Kullanıcının İlk Adı","example":"John"},"midName":{"type":"string","description":"Kayıt İçin Kullanıcının Göbek Adı","example":"Bob"},"lastName":{"type":"string","description":"Kayıt İçin Kullanıcının Soy Adı","example":"Doe"},"locale":{"type":"string","description":"Kayıt İçin Kullanıcının Yerel Ayarı","example":"tr_TR"},"timezone":{"type":"string","description":"Kullanıcı Zaman Dilimi Id'si.\nhttps://en.wikipedia.org/wiki/List_of_tz_database_time_zones adresinde 'TZ Tanımlayıcısının' Bir Listesini Bulabilirsiniz","example":"Europe/Istanbul"},"roles":{"type":"array","description":"Kullanıcının Rolleri","example":"['STANDARD_USER', 'API_USER']","items":{"type":"string","description":"{msg:swagger.schema.users.create-user.roles}","example":"['STANDARD_USER', 'API_USER']","enum":["GUEST","API_USER","STANDARD_USER","POWER_USER","EXTENDED_USER","ADMIN"]}},"status":{"type":"string","description":"Kullanıcının Durumu","example":"['ACTIVE']","enum":["INACTIVE","ACTIVE","EXPIRED","BLOCKED","DELETED"]}}},"ChangePasswordRequest":{"required":["newPassword","oldPassword","userId"],"type":"object","properties":{"userId":{"type":"string","description":"Şifresi Değiştirilecek Kullanıcının Kimlik Belirteci"},"oldPassword":{"type":"string","description":"Kullanıcının Eski Şifresi"},"newPassword":{"type":"string","description":"Kullanıcının Yeni Şifresi. Şifre Değişikliği İşlemini Sadece Kullanıcının Kendisi Yapabilir!"}}},"RegisterUserRequest":{"required":["firstName","lastName","locale","timezone","username"],"type":"object","properties":{"username":{"type":"string","description":"Kayıt İçin E-Posta Biçiminde Kullanıcı Adı","example":"name@domain.com"},"password":{"type":"string","description":"Kayıt İçin Şifre","example":"password"},"firstName":{"type":"string","description":"Kayıt İçin Kullanıcının İlk Adı","example":"John"},"midName":{"type":"string","description":"Kayıt İçin Kullanıcının Göbek Adı","example":"Bob"},"lastName":{"type":"string","description":"Kayıt İçin Kullanıcının Soy Adı","example":"Doe"},"locale":{"type":"string","description":"Kayıt İçin Kullanıcının Yerel Ayarı","example":"tr_TR"},"timezone":{"type":"string","description":"Kullanıcı Zaman Dilimi Id'si.\nhttps://en.wikipedia.org/wiki/List_of_tz_database_time_zones adresinde 'TZ Tanımlayıcısının' Bir Listesini Bulabilirsiniz","example":"Europe/Istanbul"}}},"TokenRefreshRequest":{"required":["refreshToken"],"type":"object","properties":{"refreshToken":{"type":"string","description":"Kimlik Doğrulama Belirtecini Yenilemek İçin Kullanılan Belirteç"}}},"LoginResponse":{"required":["accessToken","refreshToken","type","username"],"type":"object","properties":{"username":{"type":"string","description":"Kullanıcı Adı"},"type":{"type":"string","description":"Kimlik Doğrulama Belirteci Türü"},"accessToken":{"type":"string","description":"Kimlik Doğrulama Belirteci"},"refreshToken":{"type":"string","description":"Kimlik Doğrulama Belirtecini Yenilemek için Kullanılan Belirteç"}}},"LogoutRequest":{"required":["jwtToken"],"type":"object","properties":{"jwtToken":{"type":"string","description":"swagger.schema.auth.logout-request.token"}}},"LoginRequest":{"required":["password","username"],"type":"object","properties":{"username":{"type":"string","description":"E-Posta Biçiminde Kullanıcı Adı","example":"name@domain.com"},"password":{"type":"string","description":"Şifre","example":"password"}}},"UpdateUserRequest":{"required":["userId"],"type":"object","properties":{"userId":{"type":"string","description":"Güncellenen Kullanıcının Kimlik Belirteci","example":"88a52d74-ebee-49a4-9631-cfe492f4bf53"},"username":{"type":"string","description":"Yeni Kullanıcının Adı. Bu Alanı Kullanıcının Kendisi veya POWER_USER Yetkisine Sahip Kullanıcılar Güncelleyebilir!","example":"newuser@domain.com"},"password":{"type":"string","description":"Kullanıcının Yeni Şifresi. Bu Alanı Sadece ADMIN Yetkisine Sahip Kullanıcılar Güncelleyebilir!","example":"newStr0ng!P@ssw0rd"},"firstName":{"type":"string","description":"Kullanıcının Yeni İlk Adı"},"midName":{"type":"string","description":"Kullanıcının Yeni Göbek Adı"},"lastName":{"type":"string","description":"Kullanıcının Yeni Soyadı"},"locale":{"type":"string","description":"Kullanıcının Yeni Yerel Ayarları","example":"tr_TR"},"timezone":{"type":"string","description":"Kullanıcının Yeni Zaman Dilimi","example":"Europe/Istanbul"},"roles":{"type":"array","description":"Kullanıcının Yeni Rolleri. Bu Alanı Sadece ADMIN Yetkisine Sahip Kullanıcılar Güncelleyebilir!","example":"['API_USER']","items":{"type":"string","description":"{msg:swagger.schema.users.update.roles}","example":"['API_USER']","enum":["GUEST","API_USER","STANDARD_USER","POWER_USER","EXTENDED_USER","ADMIN"]}},"status":{"type":"string","description":"Kullanıcının Yeni Durumu. Bu Alanı Sadece ADMIN Yetkisine Sahip Kullanıcılar Güncelleyebilir!","example":"INACTIVE","enum":["INACTIVE","ACTIVE","EXPIRED","BLOCKED","DELETED"]},"empty":{"type":"boolean"}}}}}}