@extends('layouts.app') @section('title', 'Edit API Source') @section('breadcrumb') @endsection @section('content')
Edit API Source Information
@csrf @method('PUT')
@error('name')
{{ $message }}
@enderror
@error('status')
{{ $message }}
@enderror
@error('description')
{{ $message }}
@enderror

API Configuration
@error('url')
{{ $message }}
@enderror
@error('method')
{{ $message }}
@enderror
@error('table_name')
{{ $message }}
@enderror

Authentication
@error('auth_type')
{{ $message }}
@enderror

Scheduling
@error('schedule_type')
{{ $message }}
@enderror
View Details Cancel
Current Configuration
Name: {{ $apiSource->name }}
Status: {{ ucfirst($apiSource->status) }}
URL: {{ Str::limit($apiSource->url, 30) }}
Method: {{ $apiSource->method }}
Table: {{ $apiSource->table_name }}
Auth: {{ $apiSource->auth_type == 'none' ? 'None' : ucfirst(str_replace('_', ' ', $apiSource->auth_type)) }}
Schedule: {{ ucfirst($apiSource->schedule_type) }} @if($apiSource->schedule_frequency && $apiSource->schedule_type !== 'manual') ({{ $apiSource->schedule_frequency }}) @endif
Preview Changes
URL: {{ Str::limit($apiSource->url, 30) }}
Method: {{ $apiSource->method }}
Table: {{ $apiSource->table_name }}
Auth: {{ $apiSource->auth_type == 'none' ? 'None' : ucfirst(str_replace('_', ' ', $apiSource->auth_type)) }}
Schedule: {{ ucfirst($apiSource->schedule_type) }}
Quick Actions
View Logs
Last Activity
Last Fetched:
@if($apiSource->last_fetched_at) {{ $apiSource->last_fetched_at->format('d M Y, H:i:s') }}
{{ $apiSource->last_fetched_at->diffForHumans() }} @else Never @endif
Created:
{{ $apiSource->created_at->format('d M Y, H:i:s') }}
{{ $apiSource->created_at->diffForHumans() }}
Last Updated:
{{ $apiSource->updated_at->format('d M Y, H:i:s') }}
{{ $apiSource->updated_at->diffForHumans() }}
@push('scripts') @endpush @endsection