@extends('examples.modern-layout-v2') @section('title', __('messages.menu.api_documentation')) @section('api_documentation', 'bg-blue-50 text-blue-700') @section('content')

{{__('messages.menu.api_documentation')}}

Complete API documentation for QFlow Manager App integration

link Base URL
{{$apiBaseUrl}}/api
@foreach($endpoints as $category => $categoryEndpoints)

{{$category}}

@foreach($categoryEndpoints as $endpoint => $details)
api
{{$endpoint}}

{{$details['description'] ?? ''}}

@if(isset($details['headers']))

Headers:

@foreach($details['headers'] as $header => $value)
{{$header}}: {{$value}}
@endforeach
@endif @if(isset($details['query_params']))

Query Parameters:

@foreach($details['query_params'] as $param => $type)
{{$param}}: {{$type}}
@endforeach
@endif @if(isset($details['request']))

Request Body:

@foreach($details['request'] as $field => $type)
{{$field}}: {{$type}}
@endforeach
@endif @if(isset($details['response']))

Response:

@foreach($details['response'] as $field => $type)
{{$field}}: {{$type}}
@endforeach
@endif
@endforeach
@endforeach
@endsection