@extends('layouts.dashboard') @section('title', __('Integrations')) @section('page_title', __('API Keys & Webhooks')) @section('content') @include('partials.how-it-works', ['key' => 'admin.integrations']) @if(session('plain_key'))
{{ session('plain_key') }}{{ __('Every third-party connection, its live status, and where to set it up.') }}
| {{ __('Name') }} | {{ __('Key') }} | {{ __('Abilities') }} | {{ __('Used') }} | |
|---|---|---|---|---|
| {{ $k->name }}@if($k->expires_at) {{ __('expires') }} {{ $k->expires_at->format('M d, Y') }} @endif |
{{ $k->key_prefix }}… |
{{ in_array('*', $k->abilities ?? [], true) ? __('All') : count($k->abilities ?? []).' '.__('scopes') }} | {{ number_format($k->requests) }} · {{ $k->last_used_at?->diffForHumans() ?? __('never') }} | |
{{ __('No API keys yet.') }} | ||||
{{ $h->secret }} · {{ $h->deliveries_count }} {{ __('deliveries') }}@if($h->failures) · {{ $h->failures }} {{ __('consecutive failures') }}@endif| {{ __('When') }} | {{ __('Webhook') }} | {{ __('Event') }} | {{ __('Status') }} | {{ __('Response') }} | {{ __('Time') }} | |
|---|---|---|---|---|---|---|
| {{ $d->created_at->diffForHumans() }} | {{ $d->webhook?->name ?? '—' }} | {{ $d->event }} |
{{ status_label($d->status) }} #{{ $d->attempt }} | {{ $d->response_code ?? '—' }} {{ \Illuminate\Support\Str::limit($d->response_body, 60) }} | {{ $d->duration_ms !== null ? $d->duration_ms.' ms' : '' }} | |
{{ __('No deliveries yet.') }} | ||||||