@extends('layouts.app') @section('title', 'API 플로우 테스터') @section('content')

API 플로우 테스터

새 플로우
@if($flows->isEmpty())

등록된 플로우가 없습니다

새 플로우를 생성하여 API 테스트를 시작하세요.

@else @foreach($flows as $flow) @php $latestRun = $flow->latestRun; $steps = $flow->flow_definition['steps'] ?? []; @endphp {{-- 메인 row --}} {{-- 스텝 상세 row (확장 영역) --}} @php // 최근 실행 로그에서 스텝별 상태 추출 $stepResults = []; if ($latestRun && $latestRun->execution_log) { foreach ($latestRun->execution_log as $log) { $stepResults[$log['stepId'] ?? ''] = $log; } } @endphp @endforeach
# 이름 카테고리 스텝 최근 실행 상태 생성일 액션
{{ $flows->firstItem() + $loop->index }}
{{ $flow->name }}
@if($flow->description)
{{ $flow->description }}
@endif
@if($flow->category) {{ $flow->category }} @else - @endif {{ $flow->step_count }}개 @if($latestRun) {{ $latestRun->created_at->diffForHumans() }} @else - @endif @if($latestRun) {{ $latestRun->status_label }} @else 대기 @endif {{ $flow->created_at->format('y.m.d') }}
@csrf
@if($flows->hasPages())
{{ $flows->links() }}
@endif @endif
{{-- 모달 포함 --}} @include('dev-tools.flow-tester.partials.guide-modal') @include('dev-tools.flow-tester.partials.example-flows') @include('dev-tools.partials.auth-modal') @endsection @push('scripts') {{-- 공유 인증 스크립트 --}} @include('dev-tools.partials.auth-scripts') @endpush