@extends('layouts.core.' . $view, [ 'menu' => 'api', ]) @section('title', trans('messages.API_Documentation')) @section('content')

{{ trans('messages.API_Documentation') }}

{!! trans('messages.api_token_guide', ["link" => action("Api\MailListController@index", ["api_token" => "YOUR_API_TOKEN"])]) !!}

@foreach (\Acelle\Library\ApiHelper::docs() as $box) @if ($box['view'] == $view)

{{ $box['title'] }}

@foreach ($box['functions'] as $function) @endforeach
{{ trans('messages.HTTP_method') }} {{ trans('messages.Endpoint') }} {{ trans('messages.Function') }}
{{ trans('messages.' . $function['method']) }} {{ $function['uri'] }} {{ $function['description'] }}
@endif @endforeach
@endsection