Ana içeriğe geç

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

HeaderDeğerZorunlu
AuthorizationBearer \{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.settings permission'ı olan kullanıcılar erişebilir
  • Sistem ayarları config dosyalarından okunur
  • Hassas bilgiler (API key'ler, şifreler) döndürülmez