@extends('layouts.app') @section('title', 'API Source Data') @section('breadcrumb') @endsection @section('content')

{{ $apiSource->name }} - Imported Data

Table Name
{{ $apiSource->table_name }}
API URL
{{ Str::limit($apiSource->url, 25) }}
Method
{{ $apiSource->method }}
Last Fetched
@if($apiSource->last_fetched_at) {{ $apiSource->last_fetched_at->diffForHumans() }} @else Never @endif
Imported Data from Table: {{ $apiSource->table_name }}
Note: This is a preview of the data structure. In a real implementation, you would query the actual database table {{ $apiSource->table_name }} to display the imported data. The data shown below is sample data to demonstrate the interface.
Sample Data Structure:
# ID Name Email Status Created At Actions
1 101 John Doe john@example.com Active 2024-01-15 10:30:00
2 102 Jane Smith jane@example.com Pending 2024-01-15 11:45:00
3 103 Bob Johnson bob@example.com Inactive 2024-01-15 14:20:00
Showing 1 to 3 of 3 sample records
Implementation Guide:

To implement real data display, you would:

  1. Create a dynamic table based on the actual database structure
  2. Query the {{ $apiSource->table_name }} table
  3. Implement pagination for large datasets
  4. Add search and filtering capabilities
  5. Provide export functionality (CSV, Excel, JSON)
@push('scripts') @endpush @endsection