2021-08-22 08:15:58 -04:00
|
|
|
@extends('layouts.simple')
|
2020-01-15 15:18:02 -05:00
|
|
|
|
|
|
|
@section('body')
|
|
|
|
|
|
|
|
<div class="container pt-xl">
|
|
|
|
|
|
|
|
<div class="grid right-focus reverse-collapse">
|
|
|
|
<div>
|
2020-01-18 09:03:11 -05:00
|
|
|
|
2020-02-02 16:59:51 -05:00
|
|
|
<div class="sticky-sidebar">
|
|
|
|
<p class="text-uppercase text-muted mb-xm mt-l"><strong>Getting Started</strong></p>
|
|
|
|
|
|
|
|
<div class="text-mono">
|
|
|
|
<div class="mb-xs"><a href="#authentication">Authentication</a></div>
|
|
|
|
<div class="mb-xs"><a href="#request-format">Request Format</a></div>
|
|
|
|
<div class="mb-xs"><a href="#listing-endpoints">Listing Endpoints</a></div>
|
|
|
|
<div class="mb-xs"><a href="#error-handling">Error Handling</a></div>
|
2022-05-09 10:12:29 -04:00
|
|
|
<div class="mb-xs"><a href="#rate-limits">Rate Limits</a></div>
|
2022-08-11 05:49:45 -04:00
|
|
|
<div class="mb-xs"><a href="#content-security">Content Security</a></div>
|
2020-02-02 16:59:51 -05:00
|
|
|
</div>
|
|
|
|
|
|
|
|
@foreach($docs as $model => $endpoints)
|
|
|
|
<p class="text-uppercase text-muted mb-xm mt-l"><strong>{{ $model }}</strong></p>
|
|
|
|
|
|
|
|
@foreach($endpoints as $endpoint)
|
|
|
|
<div class="mb-xs">
|
|
|
|
<a href="#{{ $endpoint['name'] }}" class="text-mono inline block mr-s">
|
|
|
|
<span class="api-method" data-method="{{ $endpoint['method'] }}">{{ $endpoint['method'] }}</span>
|
|
|
|
</a>
|
|
|
|
<a href="#{{ $endpoint['name'] }}" class="text-mono">
|
2020-04-10 11:05:17 -04:00
|
|
|
{{ $endpoint['controller_method_kebab'] }}
|
2020-02-02 16:59:51 -05:00
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
@endforeach
|
2020-01-15 15:18:02 -05:00
|
|
|
@endforeach
|
2020-02-02 16:59:51 -05:00
|
|
|
</div>
|
2020-01-15 15:18:02 -05:00
|
|
|
</div>
|
|
|
|
|
2020-01-18 04:48:30 -05:00
|
|
|
<div style="overflow: auto;">
|
2020-01-18 09:03:11 -05:00
|
|
|
|
2022-11-15 06:24:31 -05:00
|
|
|
<section component="code-highlighter" class="card content-wrap auto-height">
|
2021-08-22 08:15:58 -04:00
|
|
|
@include('api-docs.parts.getting-started')
|
2020-01-18 09:03:11 -05:00
|
|
|
</section>
|
|
|
|
|
2020-01-15 15:18:02 -05:00
|
|
|
@foreach($docs as $model => $endpoints)
|
|
|
|
<section class="card content-wrap auto-height">
|
|
|
|
<h1 class="list-heading text-capitals">{{ $model }}</h1>
|
|
|
|
|
|
|
|
@foreach($endpoints as $endpoint)
|
2021-08-22 08:15:58 -04:00
|
|
|
@include('api-docs.parts.endpoint', ['endpoint' => $endpoint, 'loop' => $loop])
|
2020-01-15 15:18:02 -05:00
|
|
|
@endforeach
|
|
|
|
</section>
|
|
|
|
@endforeach
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
@stop
|