@extends('master') @section('content')
| Prefix | {{ $apiKey->prefix }}... |
| Status | @if($apiKey->isRevoked()) Revoked @elseif($apiKey->isExpired()) Expired @elseif($apiKey->is_active) Active @else Inactive @endif |
| Scopes | @if($apiKey->scopes === null) All Access @else @foreach($apiKey->scopes as $scope) {{ $scope }} @endforeach @endif |
| Rate Limit | {{ $apiKey->rate_limit }} requests/menit |
| Dibuat Oleh | {{ $apiKey->creator->name ?? '-' }} |
| Tanggal Dibuat | {{ $apiKey->created_at->format('d M Y H:i') }} |
| Expires | {{ $apiKey->expires_at ? $apiKey->expires_at->format('d M Y H:i') : 'Tidak pernah' }} |
| Terakhir Digunakan | {{ $apiKey->last_used_at ? $apiKey->last_used_at->diffForHumans() : 'Belum pernah' }} |
| Dicabut Pada | {{ $apiKey->revoked_at->format('d M Y H:i') }} |
Belum ada request tercatat.
@else| Waktu | Method | Endpoint | Status | IP | Response Time |
|---|---|---|---|---|---|
| {{ $log->created_at->format('d/m H:i:s') }} | {{ $log->method }} | {{ $log->endpoint }} |
{{ $log->status_code }} | {{ $log->ip_address }} | {{ $log->response_time_ms }}ms |