Sistem Ayarları
Sistem ayarlarını getirir.
Endpoint
GET /api/v1/system/settings
Authentication
Bu endpoint authentication gerektirir.
Header: Authorization: Bearer \{token\}
Permission
system.settings- Sistem ayarlarını görüntüleme
Request
Headers
| Header | Değer | Zorunlu |
|---|---|---|
Authorization | Bearer \{token\} | Evet |
Response
Success Response (200 OK)
{
"settings": {
"app_name": "CyberCert",
"app_env": "production",
"app_debug": false
}
}
Error Responses
403 Forbidden
{
"message": "Forbidden"
}
Code Examples
cURL
curl -X GET https://api.example.com/api/v1/system/settings \
-H "Authorization: Bearer \{token\}"
Notes
- Sadece
system.settingspermission'ı olan kullanıcılar erişebilir - Sistem ayarları config dosyalarından okunur
- Hassas bilgiler (API key'ler, şifreler) döndürülmez
Related Endpoints
- Sistem Logları - Sistem loglarını görüntüle
- Sistem Metrikleri - Sistem metriklerini görüntüle