@extends('layouts.app') @section('title', 'Webhook Detayları') @section('content')

{{ $webhook->name }}

Webhook detayları ve yapılandırması

@csrf
Düzenle Geri
@if(session('success'))

{{ session('success') }}

@endif @if(session('error'))

{{ session('error') }}

@endif

Temel Bilgiler

Ad
{{ $webhook->name }}
Tip
@if($webhook->type === 'slack') @elseif($webhook->type === 'discord') @else @endif {{ strtoupper($webhook->type) }}
URL
{{ $webhook->url }}
@if($webhook->secret)
Secret
{{ Str::mask($webhook->secret, '*', 4) }}
@endif
Durum
@if($webhook->is_active) Aktif @else Pasif @endif
Oluşturulma
{{ $webhook->created_at->format('d.m.Y H:i') }}
@if($webhook->description)
Açıklama
{{ $webhook->description }}
@endif

Event Filtreleme

@if(empty($webhook->events))

Tüm event'ler için aktif

@else
@foreach($webhook->events as $event) {{ $event }} @endforeach
@endif
@if($webhook->type === 'custom' && $webhook->payload_template)

Payload Template

{{ $webhook->payload_template }}
@endif

Test

Webhook'un çalışıp çalışmadığını test etmek için yukarıdaki "Test Et" butonuna tıklayın.

@csrf
@endsection