Skip to main content

Sistem Logları

Sistem loglarını getirir.

Endpoint

GET /api/v1/system/logs

Authentication

Bu endpoint authentication gerektirir.

Header: Authorization: Bearer \{token\}

Permission

  • system.logs - Sistem loglarını görüntüleme

Request

Headers

HeaderDeğerZorunlu
AuthorizationBearer \{token\}Evet

Response

Success Response (200 OK)

{
"message": "Log viewing functionality should be implemented with a log viewer package"
}

Error Responses

403 Forbidden

{
"message": "Forbidden"
}

Code Examples

cURL

curl -X GET https://api.example.com/api/v1/system/logs \
-H "Authorization: Bearer \{token\}"

Notes

  • Sadece system.logs permission'ı olan kullanıcılar erişebilir
  • Log görüntüleme fonksiyonelliği bir log viewer paketi ile implement edilmelidir
  • Gerçek implementasyonda log dosyaları okunup formatlanarak döndürülür